Python script for backing up systems from a TOML configuration file.
sudo pip3 install toml
cp hosts.example.toml hosts.toml
vim hosts.toml
Step 4. Make sure host that is running script has publickey permissions to remote host with defined user
chmod +x py-backup-script.py
./py-backup-script.py -c hosts.toml
Beginning backup script
usage: py-backup-script.py [-h] [-v] [-c CONFIG]
optional arguments:
-h, --help show this help message and exit
-v, --verbose increase output verbosity
-c CONFIG, --config CONFIG