Overview
4-6
RFS7000#archive tar /table ?
FILE Tar filename
Files: flash:/path/file
cf:/path/file
usb1:/path/file
usb2:/path/file
URL Tar file URL
URLs: tftp://<hostname:port or IP>/path/file
ftp://<user>:<passwd>@<hostname:port or IP>/path/file
http://<hostname:port or IP>/path/file
sftp://<user>@<hostname:port or IP>/path/file
RFS7000#archive
RFS7000#archive tar /xtract ?
FILE Tar filename
Files: flash:/path/file
cf:/path/file
usb1:/path/file
usb2:/path/file
URL Tar file URL
URLs: tftp://<hostname:port or IP>/path/file
ftp://<user>:<passwd>@<hostname:port or IP>/path/file
http://<hostname:port or IP>/path/file
sftp://<user>@<hostname:port or IP>/path/file
RFS7000#archive
How to zip the folder flash:/log/?
RFS7000#archive tar /create flash:/out.tar flash:/log/
tar: Removing leading '/' from member names
flash/log/
flash/log/snmpd.log
flash/log/messages.log
flash/log/startup.log
flash/log/radius/
RFS7000#dir flash:/
Viewing the output tar file?
Directory of flash:/
drwx 1024 Thu Aug 17 08:25:50 2006 hotspot
drwx 120 Fri Sep 8 12:27:20 2006 log
drwx 1024 Thu Sep 7 16:23:34 2006 crashinfo
drwx 1024 Wed Aug 23 15:30:19 2006 backup
-rw- 173056 Fri Sep 8 14:39:48 2006 out.tar
Which files are tared?
RFS7000#archive tar /table flash:/out.tar
drwxrwxrwt 0/600 0 2006-09-08 12:27:20 flash/log
-rw-r--r-- 0/0 381 2006-09-08 12:27:28 flash/log/snmpd.log
-rw-r--r-- 0/0 151327 2006-09-08 14:37:26 flash/log/messages.log
-rw-r--r-- 0/0 17318 2006-09-08 12:27:29 flash/log/startup.log
drwxrwxrwt 0/600 0 2006-09-08 12:27:14 flash/log/radius
Untar fails..?
RFS7000#archive tar /xtract flash:/out.tar flash:/out/
tar: flash:/out.tar: No such file or directory