Hot!Configuration Backup

Author
satyams
New Member
  • Total Posts : 6
  • Scores: 0
  • Reward points: 0
  • Joined: 2014/06/25 01:00:20
  • Status: offline
2014/06/25 01:08:19 (permalink)
0

Configuration Backup

Hi

Can some body confirm me the command from CLI to take full configuration back of this device (Fortianalyzer 4000B version 5.0.6).

Appreciate you help.

thanks
Satya
#1
AtiT
Gold Member
  • Total Posts : 440
  • Scores: 32
  • Reward points: 0
  • Joined: 2012/04/18 12:13:27
  • Location: Prague / Czech Republic
  • Status: offline
RE: Configuration Backup 2014/06/26 00:09:57 (permalink)
0
Hi
According to release notes for version 5.0.6 it should be:

Optionally, you can backup the configuration file to a FTP, SFTP, or SCP server using the following CLI command:
execute backup all-settings {ftp | sftp} <server IP address> <path/filename to the server> <user name on server> <password> [cryptpasswd]
execute backup all-settings scp <server IP address> <path/filename to the server> <user name on server> <SSH certificate> <crptpassrd>

I tried the FTP command and it worked for me.

AtiT
--------------------
NSE 8, CCNP R+S
#2
satyams
New Member
  • Total Posts : 6
  • Scores: 0
  • Reward points: 0
  • Joined: 2014/06/25 01:00:20
  • Status: offline
RE: Configuration Backup 2014/06/27 01:34:40 (permalink)
0
Is there any CLI command that see the configuration on the device itself? e.g ' sh run' on cisco devices

Satya
#3
pcraponi
Gold Member
  • Total Posts : 450
  • Scores: 24
  • Reward points: 0
  • Joined: 2006/07/28 11:43:39
  • Location: Brazil
  • Status: offline
RE: Configuration Backup 2014/06/27 04:32:53 (permalink)
0
# show full-configuration


If you want disable the " -- More --"

# config system console
# set output standard
# end


regards,
Paulo Raponi
#4
satyams
New Member
  • Total Posts : 6
  • Scores: 0
  • Reward points: 0
  • Joined: 2014/06/25 01:00:20
  • Status: offline
RE: Configuration Backup 2014/06/27 09:39:20 (permalink)
0
I tried this command is not working on this model.
#5
Dave Hall
Expert Member
  • Total Posts : 1247
  • Scores: 118
  • Reward points: 0
  • Joined: 2012/05/11 07:55:58
  • Location: Canada
  • Status: offline
RE: Configuration Backup 2014/06/27 14:21:33 (permalink)
0
Currently do not have access to our Fortianalyzer to confirm this, but I think you need to switch to global first then perform the above mentioned steps.

eg.
config global
show full-configuration

NSE4/FMG-VM64/FortiAnalyzer-VM/4.0/5.0/5.2/5.4 (FWF40C/FW92D/FGT200B/FGT200D) / FAP220B/221C
#6
satyams
New Member
  • Total Posts : 6
  • Scores: 0
  • Reward points: 0
  • Joined: 2014/06/25 01:00:20
  • Status: offline
RE: Configuration Backup 2014/06/29 09:46:01 (permalink)
0
Just running “show” command displaying the configuration.


For Backup via ftp/sftp, can we specify the filename to be used? because when I try to specify the filename it gives below error.

test# execute backup all-settings sftp 192.168.2.2 test.tmp user password
Starting backup all settings in background, Please wait.

test # Starting transfer the backup file to FTP server...
Error rename file: /var/fwcl1ienttemp/fmg_cl1ibackup.dat to ./test.tmp
Failed to backup all-settings due to SFTP transaction!
Backup all settings...Failed.

#7
FortiOSman
Bronze Member
  • Total Posts : 32
  • Scores: 2
  • Reward points: 0
  • Joined: 2016/08/03 10:14:57
  • Status: offline
Re: RE: Configuration Backup 2016/08/16 07:03:45 (permalink)
0
FAZ 100C 5.2.7
typing 'show' at the console will show the running config
 
 
FortiOSman
Up, Up, and Away!
#8
sotir1984
Bronze Member
  • Total Posts : 21
  • Scores: 0
  • Reward points: 0
  • Joined: 2017/02/21 09:05:56
  • Status: offline
Re: RE: Configuration Backup 2018/02/21 07:55:53 (permalink)
0
I know that it's an old post, but for future:
 
execute backup all-settings sftp 10.1.14.88 SFTP/ backup Restore1234
 
So not to receive an error that you had just leave the filename blank.
 
"SFTP" is the folder on the server.
#9
Jump to:
© 2018 APG vNext Commercial Version 5.5