Commit Graph

998 Commits (e8622fc6be3fe2cdeedf80bb084b8b442fae2365)

Author SHA1 Message Date
Axel Burri 6a00736a2b btrbk: added more information on backup summary; added documentation 2015-01-17 15:34:31 +01:00
Axel Burri f02caad81f btrbk: renamed btrbk.conf to btrbk.conf.example, fixed/added documentation 2015-01-17 13:53:23 +01:00
Axel Burri 5b8d4f4c18 btrbk: check for /etc/btrbk/btrbk.conf as well as /etc/btrbk.conf 2015-01-17 13:23:01 +01:00
Axel Burri 40d64c9495 btrbk: do not clean subvolume if any target has previous errors 2015-01-17 13:23:01 +01:00
Axel Burri 6793f81d50 btrbk: added strict input checking, for security sake 2015-01-17 13:23:00 +01:00
Axel Burri 08c0e59e29 btrbk: added support for ssh sources; removed automatic creation of snapdir, as this does not work with ssh (snapshot_dir now defaults to undef) 2015-01-17 13:23:00 +01:00
Axel Burri 17266d90aa btrbk: added support for ssh targets (identity file only, no password support yet) 2015-01-17 13:22:52 +01:00
Axel Burri 92ee8b0454 btrbk: added configuration option "btrfs_commit_delete" 2015-01-13 18:41:57 +01:00
Axel Burri 5299a57c2b btrbk: print summary at end of "execute" action; added option -q (quiet) 2015-01-13 17:51:24 +01:00
Axel Burri 978948f877 btrbk: added perl -T option; added signal handler; added TODO; cleanup 2015-01-13 15:17:18 +01:00
Axel Burri 3e829f6cff btrbk: removed action "clean", moving this to productive after each action "execute" 2015-01-13 13:49:18 +01:00
Axel Burri cc5fa73cf3 btrbk: use snapshot_dir from config instead of -s option 2015-01-13 12:52:29 +01:00
Axel Burri 973cebb1c7 btrbk: rewrite of backup scheme calculation, allowing to set the day of week to be preserved weekly/monthly 2015-01-13 12:38:01 +01:00
Axel Burri 77d0a95d33 Merge branch 'config-file-refactoring' 2015-01-12 17:59:02 +01:00
Axel Burri c445fa7970 btrbk: adapted/fixed target "clean" for refactored configuration 2015-01-12 17:56:35 +01:00
Axel Burri 1aaa72ebfe btrbk: proper input validation of config file 2015-01-12 15:46:24 +01:00
Axel Burri a269231cf9 btrbk: adapted backup creation for refactored configuration 2015-01-12 14:04:07 +01:00
Axel Burri ef5658c1b0 btrbk: adapted subvolume creation for refactored configuration 2015-01-10 16:33:01 +01:00
Axel Burri 9908ed42f0 btrbk: adapted tree action for refactored configuration 2015-01-10 16:03:47 +01:00
Axel Burri 57f4164ff9 btrbk: adapted basic checks and vol_info creation for refactored configuration 2015-01-10 16:02:35 +01:00
Axel Burri 231203e44e btrbk: refactoring of config file semantics (allow tree-style configuration): implemented new parser 2015-01-10 16:01:47 +01:00
Axel Burri eadc6c80e2 btrbk: action "clean": clean backups as well as snapshots 2015-01-09 18:39:11 +01:00
Axel Burri 912f8ad526 btrbk: added new action "clean", deleting old backups following a keep_daily/keep_weekly scheme; removed option -t, as time format needs to be fixed for action "clean" to work 2015-01-09 18:39:11 +01:00
Axel Burri 272fb6db29 btrbk: action "diff": always diff between src/target subvolume, as this works identically for snapshots as well as for received backups; enhanced visual output 2015-01-09 18:39:11 +01:00
Axel Burri 7db7c2c485 btrbk: renamed action "info" to "tree" 2015-01-09 18:39:11 +01:00
Axel Burri f3e98ced61 btrbk: corrected checks on vol_info, globally use subvol() to get a subvolume node 2015-01-09 18:39:11 +01:00
Axel Burri 51367b0e63 btrbk: bugfix: early check for svol 2015-01-09 18:39:11 +01:00
Axel Burri 299edde0d7 btrbk: improved error handling 2015-01-09 18:39:11 +01:00
Axel Burri 8930c0a87f btrbk: cleanup 2015-01-09 18:39:11 +01:00
Axel Burri c99a69a31c btrbk: allow specification of separate parent for diff 2015-01-09 18:39:11 +01:00
Axel Burri f6c134ea1b btrbk: fixed btr_tree, use it for "diff" command 2015-01-09 18:39:11 +01:00
Axel Burri a5fec23a15 btrbk: implemented "diff" command (print snapshot diffs) 2015-01-09 18:39:11 +01:00
Axel Burri 04b595a7ce btrbk: find unique name for snapshot 2015-01-09 18:39:11 +01:00
Axel Burri 915b36f7ca btrbk: operate on single subvolume instead of whole btrfs volume; added option "-s snapdir" 2015-01-09 18:39:11 +01:00
Axel Burri 6dc72f867e btrbk: operate on single subvolume instead of whole btrfs volume; added configuration option snapdir=<dir> 2015-01-09 18:39:11 +01:00
Axel Burri e9c91b1b83 btrbk: match common parents by uuid 2015-01-09 18:39:10 +01:00
Axel Burri bf40341f29 btrbk: sort output of "info" command 2015-01-09 18:39:10 +01:00
Axel Burri b2f8dd1fd6 btrbk: bugfix when trying to access non-existent voumes 2015-01-09 18:39:10 +01:00
Axel Burri 886067663c btrbk: cleanup, cosmetics 2015-01-09 18:39:10 +01:00
Axel Burri 2552cab314 btrbk: implemented "info" command 2015-01-09 18:39:10 +01:00
Axel Burri ff504b508f btrbk: changed command line semantics, accepting commands 2015-01-09 18:39:10 +01:00
Axel Burri a5ad796aeb btrbk: create all snapshots before starting any send_receive operation; cleanup 2015-01-09 18:39:10 +01:00
Axel Burri adaabb599a btrbk: added support for changelog on send-receive 2015-01-09 18:39:10 +01:00
Axel Burri 3aa6acfc6e btrbk: cleanup; bugfix 2015-01-09 18:39:10 +01:00
Axel Burri 91146da71d btrbk: added config file support (new command line option -c; changed -d debug, -p pretend flags) 2015-01-09 18:39:10 +01:00
Axel Burri 244303ebdd btrbk: build a tree from btrfs volume (for subvolume checks) 2015-01-09 18:39:10 +01:00
Axel Burri a6017460b2 btrbk: find latest common snapshot instead of latest dest snapshot 2015-01-09 18:39:10 +01:00
Axel Burri a43b8cc6db btrbk: initial revision, working for single source and multiple targets 2015-01-09 18:38:24 +01:00