Archive – Brocade Mobility RFS7000-GR Controller CLI Reference Guide (Supporting software release 4.1.0.0-040GR and later) User Manual

Page 139

Advertising
background image

Brocade Mobility RFS7000-GR CLI Reference Guide

125

53-1001945-01

Priv Exec Command

4

archive

Priv Exec Command

Use this command to manage archive files.

Syntax

archive

tar /table [FILE|URL]

archive

tar /create [FILE|URL] FILE

archive

tar /xtract [FILE|URL] DIR

Parameters

Example

RFS7000#archive tar /create ?

FILE Tar filename

Files: flash:/path/file

nvram:startup-config

URL Tar file URL

URLs: sftp://<user>@<hostname|IP>[:port]/path/file

RFS7000#

RFS7000#archive tar /table ?

FILE Tar filename

Files: flash:/path/file

nvram:startup-config

system:running-config

URL Tar file URL

URLs: sftp://<user>@<hostname|IP>[:port]/path/file

RFS7000#

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

tar

Manipulates (creates, lists or extracts) a tar file.

/table – Lists files in a tar file.

/create – Creates a tar file.

/xtract – Extracts files from a tar file.

FILE

Tar filename. The file can exist in:

flash://path/file

nvram:startup-config

system:running-config

URL

Tar file URL. The file can exist in:

sftp://<user>@<hostname|IP>[:port]/path/file

Advertising