A simple btrfs backup script in fish
Go to file
Les De Ridder f8ada7688c Use a file to ignore subvolumes when bootstrapping
When a file with a special name, .btrfish-ignore, exists in the root
of a subvolume, this subvolume is skipped during the bootstrapping
process.
2016-06-05 05:33:37 +00:00
.gitignore Implement bootstrap 2016-05-05 00:04:21 +00:00
LICENSE.md Add license 2016-05-05 02:30:06 +00:00
README.md Add license 2016-05-05 02:30:06 +00:00
backup.fish Only include bootstrapped subvolumes in backups 2016-05-23 22:13:24 +00:00
bootstrap.fish Use a file to ignore subvolumes when bootstrapping 2016-06-05 05:33:37 +00:00
btrfish.service Add systemd units 2016-05-05 02:02:25 +00:00
btrfish.timer Add systemd units 2016-05-05 02:02:25 +00:00
config.fish Receive initial snapshots on target 2016-05-05 00:52:02 +00:00
utils.fish Add license 2016-05-05 02:30:06 +00:00

README.md

btrfish

A simple btrfs backup script in fish.

Features

  • Incremental backups
  • Pushing to a backup host

Dependencies

btrfish depends on fish, btrfs, and ssh.

Usage

  1. Create users on source and target and configure sudo
  2. Edit config.fish
  3. Run bootstrap.fish
  4. Enable btrfish.timer

TODO

  • Recovery from transmission errors
  • Backup management
  • Correct file ownership on the target machine
  • ...

License

btrfish is released under the University of Illinois/NCSA Open Source License. The full license can be found in the LICENSE.md file.