Archive – Brocade Communications Systems RFS6000 User Manual
Page 174

172
Brocade Mobility RFS4000, RFS6000 and RFS7000 CLI Reference Guide
53-1001931-01
Priv Exec command
4
archive
Manages file archive operations
Supported in the following platforms:
•
Mobility RFS4000 Controller
•
Mobility RFS6000 Controller
•
Mobility RFS7000 Controller
Syntax
archive tar /table [
archive tar /create [
archive tar /xtract [
Parameters
Example
How to zip the folder flash:/log/?
RFController#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/
RFController#dir flash:/
How to view the output tar file?
Directory of flash:/
drwx 1024 Thu Apr 17 08:25:50 2010 hotspot
drwx 120 Fri Apr 8 12:27:20 2010 log
drwx 1024 Thu Apr 7 16:23:34 2010 crashinfo
drwx 1024 Wed May 23 15:30:19 2010 backup
-rw- 173056 Fri May 8 14:39:48 2010 out.tar
How to see which files are in the tar file?
RFController#archive tar /table flash:/out.tar
drwxrwxrwt 0/600 0 2010-05-08 12:27:20 flash/log
-rw-r--r-- 0/0 381 2010-05-08 12:27:28 flash/log/snmpd.log
-rw-r--r-- 0/0 151327 2010-05-08 14:37:26 flash/log/messages.log
tar
Manipulates (creates, lists or extracts) a tar file
/table
Lists the files in a tar file
/create
Creates a tar file
/xtract
Extracts content from a tar file
Defines a Tar filename
Tar file URL
A directory name. When used with /create, is the source directory
for the tar file. When used with /xtract, is the destination file
where the contents of the tar file are extracted to.