Simple python tool for backup up files and directories to another local directory. It also checks for sufficient available disk space on the filesystem of the target directory before backup up to it.
Set the paths that you want to be backed up inside pybackup/__main__.py
. Optionally set the backup_destination
to your default backup destiation of choice. You can manually specify your backup_destination
instead with --backup-destination
.
It is recommended to run the following command to test the tool before running your first backup.
pybackup --dryrun
pybackup --help
git clone https://github.com/Shringe/pybackup.git
cd pybackup
# Installing dependencies
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# Linking cli to $PATH <optional>
chmod +x cli.sh
ln -s ~/path/to/here/pybackup/cli.sh ~/.local/bin/pybackup