A simple btrfs backup script in fish
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.
Les De Ridder 579f0ff2dd
Retry remote commands on failure
6 years ago
.gitignore Implement bootstrap 7 years ago
LICENSE.md Add license 7 years ago
README.md Add license 7 years ago
backup.fish Retry remote commands on failure 6 years ago
bootstrap.fish Retry remote commands on failure 6 years ago
btrfish.service Add systemd units 7 years ago
btrfish.timer Add systemd units 7 years ago
config.fish Receive initial snapshots on target 7 years ago
utils.fish Fix /etc/fstab parsing 7 years ago

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.