Comware Based
1752280 Members
5105 Online
108786 Solutions
New Discussion юеВ

Re: 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

8 REPLIES 8
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?


I'm not an HPE Employee
Kudos and Accepted Solution banner
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
ThabetYassine
Occasional Advisor

Re: TFTP Backup to Centos

Hello guys,

When I made the cmd : >copy 5130ei-cmw710-system-r3113p05.bin tftp://172.18.89.67/test.bin

it work but it not allowed me to upload more than 31 Mg

what's the solution ?

Thank you very much

ThabetYassine
Occasional Advisor

Re: TFTP Backup to Centos

Hello guys,

When I made the cmd : >copy 5130ei-cmw710-system-r3113p05.bin tftp://172.18.89.67/test.bin

it work but it not allowed me to upload more than 31 Mg

what's the solution ?

Thank you very much and have a great day

sdide
Respected Contributor

Re: TFTP Backup to Centos

Hi,

Are you really trying to copy the image from the switch to the tftpserver? (Why not just download it from HPE site)?

Regards

S├╕ren Dideriksen, Network Administrator
Region Midtjylland
ThabetYassine
Occasional Advisor

Re: TFTP Backup to Centos

Hi,

I have found the link to download, can you please provide me.

I need the file : 5130ei-cmw710-system-r3113p05.bin

Thank you very much for your support

 

sdide
Respected Contributor

Re: TFTP Backup to Centos

Follow the instructions.

Firmware/Software Download/Upgrade & Release Notes for HPE Networking Products 

When you reach the download section you can find the correct image under "Previous releases."

Regards

S├╕ren Dideriksen, Network Administrator
Region Midtjylland
ThabetYassine
Occasional Advisor

Re: TFTP Backup to Centos

Thank you very much