Coder Social home page Coder Social logo

sten0 / btrfs-borg Goto Github PK

View Code? Open in Web Editor NEW
25.0 4.0 4.0 170 KB

btrfs-borg makes snapshots and backs up a btrfs snapshotted subvolumes and LXC containers using Borg

License: GNU General Public License v2.0

Shell 100.00%
btrfs borg borgbackup

btrfs-borg's Introduction

btrfs-borg

Btrfs-borg makes snapshots and backs up a list of btrfs snapshotted subvolumes using Borg. It will also optionally back up a list of directories without first creating snapshots for them. It includes special support for containers managed by LXC's btrfs backend. Finally it supports building manifests of directories that won't be backed up. If you configure manifest support, please make sure that the target location of the manifest will be on one of the subvolumes that you back up.

eg: if SUBS=@home rootfs, but you also have a subvolume called @backups mounted at /home/backups, then 1) /home/backups will not be part of your borg backup, because btrfs-subvolume snap does not back up child subvolumes. 2) If your manifest goes to /home/backups/manifest then it will not be backed up. If /home/backups is not a separate subvolume, then /home/backups/manifest will be part of the btrfs snapshot and part of the borg backup.

The master branch is a combined feature+debugging branch, but I tag releases before doing something experimental.

At some point I plan split it into a script+config file, because most people prefer to configure once and enable features as they need them, rather than reconfiguring with every new release...

btrfs-borg's People

Contributors

sten0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

btrfs-borg's Issues

I don't get what this project does

I know and use borg and btrfs in production.
After reading README.md and some of the code I still don't get why this is useful.
Does it backup btrfs to borg? or borg to btrfs?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.