Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.12 KB

USAGE.md

File metadata and controls

39 lines (29 loc) · 1.12 KB

Usage

Configuration

Before running the script, you must ensure you have your F5 Distributed Cloud tenant and API token store in the config.ini file in the .f5xc directory.

mkdir .f5xc
cd .f5xc
cat > config.ini<< EOF
[DEFAULT]
token=XXXXXXXX
tenant=f5xc-testdrive
EOF

Note

It's important to note that in order to perform backups or restores, your API Key needs to have the right level of permission to access and change the configuration settings.

Running the Script

Command line options for the scripts can be found as follows:

backup-server$python3 /f5xc-backup-restore.py -h
usage: f5xc-backup-restore.py [-h] --action ACTION --path PATH --namespace NAMESPACE [--version]

F5XC Backup/Restore Utility Usage

options:
  -h, --help            show this help message and exit
  --action ACTION, -a ACTION
                        Desire Action - backup / restore
  --path PATH, -p PATH  Path to create backups in / restore backups from
  --namespace NAMESPACE, -n NAMESPACE
                        Namespace - comma deliminated
  --version             show program's version number and exit