Skip to content

Simple python tool for backup up files and directories to another local directory.

License

Notifications You must be signed in to change notification settings

Shringe/pybackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pybackup

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.

Configuration

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

Usage

pybackup --help

Installation

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

About

Simple python tool for backup up files and directories to another local directory.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published