Skip to content

ninja-ops/forti-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

forti-backup

howto backup a fortinet appliance ?

you need an IP:PORT and a TOKEN ..

environment

  • ip:port off appliance, required via FORTI_APPLIANCE
  • token to access, required via FORTI_TOKEN
  • product type, default "fortinet", optional, FORTI_PRODUCT
  • scope, default "global", optional, FORTI_SCOPE

hint

  • make sure the API User has "write" access for "system"
  • https everywhere

usage

export FORTI_APPLIANCE='127.0.0.1:443'
export FORTI_TOKEN='1fNp5ff7z0q34bsrg8Qxm96pHdNyaf'
./backup-fortinet-appliance.py ./ && echo DONE || echo ERROR

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published