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 9a588ebcbc update license 6 months ago
.gitignore ignore *.pyc 1 year ago
LICENSE update license 6 months ago
README.md update todo 6 months ago
backr.py better comments pt5 6 months ago
logo.png add logo file 1 year ago
restor.py make setting some variables less verbose 6 months ago

README.md

backy-py

a simple backup tool

logo

Example: backuping and and restoring a directory’s contents with backr

asciicast

Features

  • 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

ToDo

  1. rename hash and dir variables

  2. prefer args to prompting the user

  3. use separate variables for backr_location

  4. restor —clean feature to remove old backups from backup list

  5. use Makefile to compile files in installation

  6. do less in main() (keep in mind during other todos)

Installation

git clone https://github.com/aidenholmes/backr-py

cd backr-py

put backr.py and restor.py in PATH, eg:

ln -s ~/backr-py/backr.py ~/.local/bin

ln -s ~/backr-py/restor.py ~/.local/bin

Usage

cd /foo/bar

backr.py # to backup

restor.py # to restore

Removal

Remove backr.py and restor.py from PATH then delete the repository