Backup using ftp

Post Reply
Enwary
Member
Posts: 27
Joined: 18 Jun 2018 05:35

Backup using ftp

Post by Enwary »

Dear all;

could any one help me please to backup the switch configuration and save them on my PC.

I have tried the following but it doesn't work..



C:\Users\user>ftp 10.240.70.1
Connected to 10.240.70.1.
220 (vsFTPd 3.0.2)
User (10.240.70.1:(none)): admin
331 Please specify the password.
Password:
230 Login successful.
ftp> get boot.cfg c:\boot.cfg
200 PORT command successful. Consider using PASV.
550 Failed to open file.


ftp> dir
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
drwxr-xr-x 2 ftp ftp 4096 Jan 16 2018 bootflash
drwxr-xr-x 2 ftp ftp 4096 Jul 17 23:09 certified
drwxr-xr-x 2 ftp ftp 4096 Jan 01 1970 diags
-rw-r--r-- 1 ftp ftp 13516 Jan 01 1970 eeprom
drwxr-xr-x 7 ftp ftp 4096 Jan 16 2018 extensions
drwxr-xr-x 2 ftp ftp 4096 Jul 05 22:33 foss
-rw-r--r-- 1 ftp ftp 237 Jul 05 22:34 hwinfo
-rw-r--r-- 1 ftp ftp 8952 Jan 01 2014 libcurl_log.1
drwxr-xr-x 2 ftp ftp 16384 Jan 01 2014 lost+found
drwxr-xr-x 2 ftp ftp 4096 Jan 16 2018 network
drwxr-xr-x 3 ftp ftp 4096 Jul 05 22:34 pmd
drwxrwx--- 2 ftp ftp 4096 Jan 16 2018 python
-rw-r--r-- 1 ftp ftp 32 Jul 16 06:12 sh
drwxr-xr-x 9 ftp ftp 4096 Jan 01 2014 switch
drwxr-xr-x 2 ftp ftp 4096 Feb 07 18:51 swlog_archive
-rw-r--r-- 1 ftp ftp 455930 Jul 17 23:33 swlog_chassis1
-rw-r--r-- 1 ftp ftp 1280054 Jul 06 22:28 swlog_chassis1.0
-rw-r--r-- 1 ftp ftp 1280063 Jun 10 18:00 swlog_chassis1.1
-rw-r--r-- 1 ftp ftp 1280134 May 26 08:29 swlog_chassis1.2
-rw-r--r-- 1 ftp ftp 1280067 Apr 26 00:34 swlog_chassis1.3
-rw-r--r-- 1 ftp ftp 1280102 Apr 25 22:00 swlog_chassis1.4
-rw-r--r-- 1 ftp ftp 1280030 Apr 25 19:30 swlog_chassis1.5
-rw-r--r-- 1 ftp ftp 1280040 Apr 25 16:35 swlog_chassis1.6
drwxr-xr-x 4 ftp ftp 4096 Jan 16 2018 system
-rw-r--r-- 1 ftp ftp 336 Jan 01 2014 vcboot.cfg.1.err
-rw-r--r-- 1 ftp ftp 336 Jan 01 2014 vcboot.cfg.2.err
drwxr-xr-x 2 ftp ftp 4096 Jul 17 23:09 working
226 Directory send OK.
ftp: 1846 bytes received in 0.02Seconds 115.38Kbytes/sec.
ftp>
silvio
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1886
Joined: 01 Jul 2008 10:51
Location: Germany

Re: Backup using ftp

Post by silvio »

you have to change into your working directory (with cd).
Or you give the complete path: get /flash/working/vcboot.cfg

But best way is to use a ftp-client-tool (filezilla, ftp32 etc.).
regards
Silvio
Enwary
Member
Posts: 27
Joined: 18 Jun 2018 05:35

Re: Backup using ftp

Post by Enwary »

many thanks with best regards,,
Post Reply

Return to “OmniSwitch 6560”