Create and enter Python virtual environment.
python3 -m venv --system-site-packages venv
. venv/bin/activateInstall depenencies.
pip3 install -r requirements.txtRun the application.
./backup.py| Option | Type | Description |
|---|---|---|
| -p, --project | str | Specify backup project file |
| -t, --target | str | Run from command line and save backup to target directory |
| -c, --check | str | Check existing backup |
The backup utility creates a file names checksums.txt in the target directory.
This file can be used to check the consistency of the backup using the sha256sum util:
sha256sum -c checksums.txtpip3 install -r dev_requirements.txt