Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
gradius85
New Contributor III

Unattended Automate backups

I am currently using Tcl/Expect script on a Linux server scheduled with CRON; however, does the chassis have anything that can provide automated unattended backups?

 

How are folks doing their backups?

3 REPLIES 3
emnoc
Esteemed Contributor III

You have so many means

 

1: ssh and cronjobs 

2: api-call and cronjobs

3: fortimanager

4: rancid

5: ansible

6: local  script using tftp/ftp

 

 

ken felix

PCNSE 

NSE 

StrongSwan  

PCNSE NSE StrongSwan
gradius85
New Contributor III

emnoc wrote:

You have so many means

 

1: ssh and cronjobs 

2: api-call and cronjobs

3: fortimanager

4: rancid

5: ansible

6: local  script using tftp/ftp

 

 

ken felix

I have looked into 'ansible' do you have a playbook? I have not found the time yet to be able to fully toy around with my Ansible install.

 

Also, option #2 - what API call are you referring to?

emnoc
Esteemed Contributor III

Here

 

http://shogokobayashi.com/2019/03/29/backup-fortios-config-with-ansible-with-fortios_config-module/

 

Here

 

https://forum.fortinet.com/m/tm.aspx?m=144649&p=3

 

http://socpuppet.blogspot.com/2019/11/fortios-config-grabber-using-api-and.html

 

and Here

 

http://socpuppet.blogspot.com/2015/10/fortigate-configuration-files-backups.html

 

 

If you already have a ansible env setup for orchestration, that would be easily to add a cfg management. In my env we do a 2 or  3 methods for redundancy so to speak.

 

Ken Felix

PCNSE 

NSE 

StrongSwan  

PCNSE NSE StrongSwan
Labels
Top Kudoed Authors