Comware Based
cancel
Showing results for 
Search instead for 
Did you mean: 

TFTP Backup to Centos

 
NetworkTeam
Visitor

TFTP Backup to Centos

Hi there,

We have 2 Comware 5 switches, we are planning to implement periodic backup to a tftp server. When we try to execute below commands

1. tftp x.x.x.x put startup.cfg /folder/test.cfg

2. backup startup-configuration to x.x.x.x /folder/test.cfg

but both fails error message received on them respectively are as below.

1. File not found

2. Backup failed, TFTP error

 

But we have Cisco switches as well where we can backup to the same location without any issue. Please help to troubleshoot this.

 

Cheers

2 REPLIES
parnassus
Honored Contributor

Re: TFTP Backup to Centos

Provided that startup.cfg file exist in the current folder (move to it by using cd command), does a:

copy startup.cfg tftp://x.x.x.x/folder/test.cfg

or a:

copy startup.cfg tftp://x.x.x.x/test.cfg

work?

sdide
Respected Contributor

Re: TFTP Backup to Centos

Hi,

I think you need to look at the permission on the destination folder on your tftp-server.

or - you need to set the -create flag on your tftp demon ( on Linux). I think for security reasons (on some reasonable reason -maybe ) that the destination file MUST already exist (and have the correct permissions writeable) to tftpd allowing to write it. This  - to me - makes the tftp service somewhat not-useable, so I have enabled the tftp-deamon to create files (the -c flag - on Linux).

Regards

Søren Dideriksen, Network Administrator
Region Midtjylland