Skip to content

18fadly-anthony/backr2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Backr 2

Backr2 is an incremental backup tool

Features

  • Incremental backups: only make copies of files that have changed since the last one
  • Garbage Collection: old backups can be deleted without affecting new ones
  • Portability: backups can be stored anywhere

Installation

$ rookie -i backr2

Manual Installation

$ git clone --depth 1 https://github.com/18fadly-anthony/backr2

$ cd backr2

$ make install # Installs to ~/.local/bin

Usage

$ cd /foo/bar

$ backr2 -d # for first backup to set default location

$ backr2    # for all backups after the first

Advanced Usage

# Backup /foo/bar to /foo/backups
$ backr2.py --source /foo/bar --location /foo/backups

# Restore backup 1 of /foo/bar in /foo/backups to /foo/restore-location
$ backr2.py --restore /foo/restore-location 1 --source /foo/bar --location /foo/backups

# Delete old backups
$ backr2.py --garbage-collect --source /foo/bar

Removal

If you installed with rookie

$ rookie -r backr2

If you installed manually

$ cd backr2

$ make uninstall

$ cd ..

$ rm -rf backr2

About

Incremental backup script with garbage collection

Topics

Resources

License

Stars

Watchers

Forks