Saving a file to a specified path on the firewall

72

Save the configuration file to a specified directory as follows:

Method 1:

1. cd flash:/Access the Flash directory.

2. mkdir test/Create the test directory (folder).

Info: Create directory flash:/test......Done.

3. cd test/Access the test directory.

4. save configuration.zip/Save the configuration to configuration.zip.

Are you sure to save the configuration to flash:/test/configuration.zip?[Y/N]:y
Now saving the current configuration to the device.
2015-04-22 17:52:46 Firewall %%01CFM/4/SAVE_FILE(l): When deciding whether to save con
figuration to the file flash:/test/configuration.zip, the user chose Y...
Info: Save the current config to flash:/test/configuration.zip successfully

5. dir/Display the configuration file saved under the test directory.
17:52:49 2015/04/22
Directory of flash:/test/

0 -rw- 1009 Apr 22 2015 17:52:47 configuration.zip/Saved configuration file.

31248 KB total (31104 KB free)

Method 2:


1. save flash:/test/conf.zip /Save configuration file conf.zip to Flash:/test.
Are you sure to save the configuration to flash:/test/conf.zip?[Y/N]:y
Now saving the current configuration to the device.
2015-04-22 17:58:25 Firewall %%01CFM/4/SAVE_FILE(l): When deciding whether to save con
figuration to the file flash:/test/conf.zip, the user chose Y...
Info: Save the current config to flash:/test/conf.zip successfully

2. dir /Displays the file under the Flash directory.
17:58:29 2015/04/22
Directory of flash:/

0 -rw- 61 Apr 22 2015 17:58:26 private-data.txt
1 drw- - Apr 22 2015 17:45:08 ceshi
2 -rw- 2243 Apr 22 2015 17:49:56 vrpcfg.cfg
3 drw- - Apr 22 2015 17:52:16 test /Directory for saving the configuration file.

31248 KB total (31088 KB free)

3. cd test /Access the test directory.

4. dir /Display files under the test directory.
17:58:35 2015/04/22
Directory of flash:/test/

0 -rw- 1009 Apr 22 2015 17:52:47 configuration.zip
1 -rw- 991 Apr 22 2015 17:58:26 conf.zip /Saved configuration file.

31248 KB total (31088 KB free)

Other related questions:
Can I configure the path for storing log files of AR series routers
By default, the log files of AR1200 series routers are stored on the USB flash drive, and the log files of AR2200, AR3600, and AR3200 are stored on the SD card. If USB flash drive or SD card is unavailable, log files cannot be stored.
NOTE:

From V200R005C10, the log files of AR1200 series are saved in the flash memory by default.

The AR3600 series routers are released from V200R006C10.

Run the info-center logfile path command to configure the path where log files are stored.


How are log files saved
The log files are saved when a storage device such as a Flash memory, a USB flash drive or an SD card is available. In the user view, run the save logfile command to save log files.

USG firewall configuration saving
If the configuration is not saved or fails to be saved, it is lost. You can save the configuration files on USG firewalls as follows: 1. CLI save //Save the input information.// 11:36:31 2015/03/04 The current configuration will be written to the device. Are you sure you want to continue?[Y/N]y //Click Y to configure the saving.// Now saving the current configuration to the device............................................ Info: The current configuration was saved to the device successfully. 2. Web UI: Click the Save button in the upper right corner on the web UI. In the displayed window, click Overwrite the profile used for next boot and then click OK.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top