Skip to content

Fatal-Halt/Fortigate-Backups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Fortigate-Backups

Simple python script to backup a fortigate device using the admin-scp feature.

=================

  • Needs to have a reference to the pscp executable from putty or another scp client (and maybe some tweaking).
  • The destination folder (by default C:\config\common name\ will need to exist before you run the script.
  • You'll need to run the backup command once manually before this script will work, as the Firewalls key needs to be accepted.

USAGE:

  • Replace , with your devices to be backed up.
  • Replace with your device's SSH port.
  • Replace with the location of your private key
    • NOTE: if not using SSH Keys (WHICH YOU SHOULD), just remove the following:
      • '-i', '<PRIVATE KEY>',
  • Replace with the username you're connecting with
  • Replace with the password to unlock the SSH key.

About

Simple python script to backup a fortigate device using the admin-scp feature.

Resources

License

Stars

8 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages