Usage Guide
Usage Guide
This guide explains how to run backups, track success, and restore configurations.
Running Backups
- To back up a single device:
python fgbackup.py --device <device_name>
- To back up all devices:
python fgbackup.py --all-devices
- To run with verbose logging:
python fgbackup.py --all-devices --verbose
Restoring Configurations
- Identify the desired backup from the
backups/
folder (or cloud storage). - Push the backup to the device:
python fgbackup.py --restore <device_name> --file backups/device_name/config-YYYYMMDD.conf
- FGBackup will validate and apply the configuration.
Notes
- Always validate the diff before restoring:
python fgbackup.py --diff <device_name> --file backups/device_name/config-YYYYMMDD.conf