You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Aiden Holmes cba64298b6
fix cron instructions
1 month ago
.gitignore ignore *.pyc 1 year ago
LICENSE update license 9 months ago
Makefile add Makefile 2 months ago fix cron instructions 1 month ago make sure use enters argument after option that requires it 1 month ago
logo.png update logo 2 months ago -d|--default option in restor to use most recent backup without prompting 1 month ago


a simple backup tool



  • Store different backups in different locations

  • Backup a folder and one or more of its subfolders separately

  • Delete old backups to save space without affecting more recent ones


git clone

cd backr-py

make install # installs to ~/.local/bin

Usage -s <source> -l <location> [-n|-c] [-w|-e <comment>] -s <source> -l <location>

# Example: -s /foo/bar -l /foo/backups -n -w


cd backr-py

make uninstall # removes from ~/.local/bin

cd ..

rm -rf backr-py/

Scheduling Backups with Cron

  1. Add command with crontab -e
# add this to crontab:

@reboot /home/user/.local/bin/ -s /foo/bar -l /foo/backups -n -w
  1. Change /foo/bar to your folder and /foo/backups to your backup location

  2. Change @reboot to your desired schedule

  3. Change /home/user/.local/bin/ to your path

  4. Change -n to -c if you want to use compression