Automated Full-config backups
We would like to be able to scheduled automated full-config backups to be offloaded to an FTP server. I do not want to use fortimanager. Is there any other way?
We would like to be able to scheduled automated full-config backups to be offloaded to an FTP server. I do not want to use fortimanager. Is there any other way?
Hello!
I have automatic Backup with a few simple steps:
1) Create a user with read only privilege in the Fortigate. ie: user backup, password: 1234
2) In a File Share (ie: D:\backup\), put PSCP.EXE and create a BAT file with this:
set DESTINATION=D:\backup set FECHA=%date:~6,4%%date:~3,2%%date:~0,2% set LOG=D:\backup\backup.log
echo Y|pscp -P 22 -pw 1234 backup@192.168.0.1:sys_config %DESTINATION%FORTIGATE%FECHA%.conf >> %LOG%
192.168.0.1 is the IP of your Fortigate.
In the BAT file the user and password is stored in clear text, so that's why is necessary a read only user, but if you don't mind, you can use the admin user.
3) Create a schedule task in windows to execute the bat.
In addition:
Just check the SCP is enabled in your Fortigate:
config system global set admin-scp enable
end
and of course, you have to download pscp:
http://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
Hope it helps!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.