Commit Graph

  • 7c0987bd3c btrbk: be harsh (abort) on deprecated "{snapshot,target}_preserve_{daily,weekly,monthly}" and "resume_missing no" options; change default of snapshot_preserve_min to one day Axel Burri 2016-04-13 17:13:03 +0200
  • 36cc96fdb8 btrbk: always preserve latest snapshot/backup pair (instead of latest snapshot and latest backup); remove preserve_latest option of schedule() Axel Burri 2016-04-13 14:47:38 +0200
  • 032642751b btrbk: change preserve table text: print latest match instead of earliest match Axel Burri 2016-04-12 21:06:46 +0200
  • e200975f32 btrbk: add option "*preserve_min latest"; deny "snapshot_preserve_min no" Axel Burri 2016-04-12 20:35:57 +0200
  • d143d75b43 btrbk: rename *preserve_all to *preserve_min Axel Burri 2016-04-12 19:55:29 +0200
  • 55b121c372 btrbk: remove resume_missing configuration option Axel Burri 2016-04-12 19:43:12 +0200
  • 738178565c btrbk: fix vinfo_inject_child() for raw targets Axel Burri 2016-04-13 22:04:53 +0200
  • a76512955a btrbk: add vinfo_inject_child(): add a custom node to btr_tree, with fake id, uuid, gen and cgen; use to inject created snapshots and receive targets Axel Burri 2016-04-12 17:50:12 +0200
  • bd34d9f689 btrbk: change preserve logic: keep FIRST present of hour/day/... instead of LAST Axel Burri 2016-04-11 19:54:56 +0200
  • 6b07316fef documentation: README.md: use new preserve semantics in examples Axel Burri 2016-04-12 12:07:33 +0200
  • 7a334097c1 btrbk: cosmetics (logging and summary text about -p option) Axel Burri 2016-04-11 22:02:31 +0200
  • 1e91f179d4 documentation: btrbk.1: update sections containing infos about retention policy; fix documentation of -p option; cosmetics Axel Burri 2016-04-11 20:47:49 +0200
  • 326edfcc29 btrbk: change preserve semantics (incompatible): Axel Burri 2016-04-12 11:47:28 +0200
  • ceb4dbf19c btrbk: add --print-schedule command line option Axel Burri 2016-04-09 14:16:14 +0200
  • 78bfc5b885 btrbk: bugfix: use "/bin/false" as RSH if no config is available Axel Burri 2016-04-08 13:38:50 +0200
  • ccc2a35520 ChangeLog: update missing items Axel Burri 2016-04-07 15:53:50 +0200
  • a887e89732 btrbk: warn on receive targets at unexpected location (whole filesystem) when resuming missing backups (do not abort anymore); Axel Burri 2016-04-07 14:34:51 +0200
  • 6b71b68fcb btrbk: bugfix: do not run "rm" command with no arguments (on raw targets) Axel Burri 2016-04-06 20:41:14 +0200
  • 5d65748ffe btrbk: call init_transaction_log() at the beginning of every action, instead at global place Axel Burri 2016-04-06 20:19:12 +0200
  • 211964f709 btrbk: parse btrbk_basename and btrbk_date in vinfo_child() instead of vinfo_subvol_list() Axel Burri 2016-04-06 15:24:47 +0200
  • bfb556757d btrbk: get_latest_common(): use all brothers (snapshots with same parent) as candidates (older first, then newer) instead of only older; as last resort, use subvolumes in snapshot_dir matching btrbk file name scheme as candidates Axel Burri 2016-04-05 23:37:08 +0200
  • 46e3aae857 btrbk: get_latest_common(): add strategy to find latest common for readonly and received subvolumes; add helper function cmp_date() Axel Burri 2016-04-05 22:01:17 +0200
  • a26e8851b4 btrbk: btr_tree: return already assembled tree if a subvolume is already known in uuid_cache Axel Burri 2016-04-05 16:37:23 +0200
  • ac0002bce8 btrbk: get_receive_targets() also returns matching source_received_uuid Axel Burri 2016-04-05 16:11:46 +0200
  • 4b1983378f btrbk: add useful flags and parse date and basename of btrbk created files in vinfo_subvol_list(); replace parse_filename() calls by usage of new flags Axel Burri 2016-04-03 20:46:29 +0200
  • 0bfb78b842 btrbk: remove trailing slash from NODE_SUBDIR Axel Burri 2016-04-03 16:24:38 +0200
  • 899ca92026 btrbk: bugfix: untaint raw backup file list read by "find" command Axel Burri 2016-04-03 21:38:19 +0200
  • 023004e9cc btrbk: bugfix: add '=' character to (regression introduced in a7cd4a99) Axel Burri 2016-04-03 20:54:46 +0200
  • ea5cd06fbc btrbk: bugfix: get_receive_targets() for BTRFS_PROGS_COMPAT (regression introduced in 207e8868) Axel Burri 2016-04-03 20:48:48 +0200
  • 302400d640 btrbk: bugfix: disallow snapshot_preserve_* in target section Axel Burri 2016-04-03 15:12:32 +0200
  • a7cd4a994c btrbk: add some extra safety when running shell commands Axel Burri 2016-04-02 14:13:16 +0200
  • 86170e6b21 btrbk: bugfix: untaint result of system_realpath() Axel Burri 2016-04-02 14:10:35 +0200
  • 407d25f604 ssh_filter_btrbk: cosmetics: fix indentation (remove tabs) Axel Burri 2016-03-31 15:05:08 +0200
  • ccb5ed5e71 ssh_filter_btrbk: allow "realpath" and "cat /proc/self/mounts" on targets Axel Burri 2016-03-31 14:30:53 +0200
  • 90a3537433 documentation: add documentation for target propagation and target directories Axel Burri 2016-03-31 13:53:00 +0200
  • 79caba4267 btrbk: rename %symlink -> %realpath_cache (returning real_path instead of real_url) Axel Burri 2016-03-30 23:43:41 +0200
  • 7ee5778dee btrbk: bugfix: print correct target on "same backup target error" Axel Burri 2016-03-30 23:23:07 +0200
  • c4073f6c53 btrbk: print target_path instead of target_subvol for "list {target,config}" Axel Burri 2016-03-30 22:26:28 +0200
  • 3ada7c174e btrbk: allow targets to be directories (use mountpoint framework) Axel Burri 2016-03-30 21:55:02 +0200
  • 06043cf800 btrbk: add btrfs mountpoint resolving functionality Axel Burri 2016-03-30 15:32:28 +0200
  • de96f267b8 btrbk: propagate target sections to (sub-)subsections (allow target sections everywhere in the config) Axel Burri 2016-03-17 14:02:22 +0100
  • f9ca7504c8 btrbk: add configuration option "rate_limit" (using pv -L) Axel Burri 2016-03-23 11:58:23 +0100
  • e6d46e8a02 btrbk: fix regression: correctly handle previously received subvolumes in get_latest_common() Axel Burri 2016-03-22 19:30:12 +0100
  • 7bb18050f8 btrbk: detect interrupted transfers of raw targets; delete incomplete raw targets on action "clean" Axel Burri 2016-03-22 19:05:12 +0100
  • d47cc25f60 btrbk-mail: bugfix: use `btrbk` instead of unbound variable `$btrbk` Moritz Ulrich 2016-03-18 13:20:48 +0100
  • 07a9975dd3 btrbk: Prefix PATH instead of resetting it. #74 Moritz Ulrich 2016-03-18 14:01:22 +0100
  • 8abe8a915a btrbk-mail: Use `btrbk` instead of unbound variable `$btrbk` #73 Moritz Ulrich 2016-03-18 13:20:48 +0100
  • c2b11775a0 btrbk: cosmetics: adapt debug/trace messages Axel Burri 2016-03-16 19:21:48 +0100
  • 1adb318f02 documentation: cosmetics: change all url from www.digint.ch to digint.ch Axel Burri 2016-03-16 17:45:32 +0100
  • cd8ac043a8 ChangeLog: add missing items Axel Burri 2016-03-16 17:24:19 +0100
  • 247f023bab btrbk: allow wildcards in subvolume section; add option "wildcards" in check_file() Axel Burri 2016-03-16 13:25:19 +0100
  • b9fa3e6e90 btrbk: add init_config(); use default config in action "diff"; use root config context for action "origin" Axel Burri 2016-03-15 16:54:54 +0100
  • 8819c67502 btrbk: fixed raw targets Axel Burri 2016-03-15 14:46:25 +0100
  • e9bc4950ac btrbk: re-ordering of functions (no functional changes) Axel Burri 2016-03-15 11:21:59 +0100
  • 207e8868da btrbk: no more copy of node information in vinfo by vinfo_set_detail(); always use vinfo->{node}{key}; cleanup Axel Burri 2016-03-14 16:39:13 +0100
  • 9a68ab6519 btrbk: use symlink hash instead of REAL_URL Axel Burri 2016-03-14 15:55:57 +0100
  • cab2a88843 btrbk: move url_cache lookup to vinfo_subvol_list Axel Burri 2016-03-14 12:24:32 +0100
  • 14d1ca1976 btrbk: add warning if a receive target of resume candidate exists at unexpected location Axel Burri 2016-03-12 19:16:07 +0100
  • 1b45db3c59 btrbk: simplify btr_tree: SUBTREE is now list instead of hash; add TREE_ROOT pointer to every node; cleanup Axel Burri 2016-03-11 14:55:22 +0100
  • 97caced09d btrbk: rename %btrfs_tree_cache -> %url_cache, %uuid_info -> %uuid_cache; cleanup Axel Burri 2016-03-10 19:26:17 +0100
  • 84820933ed btrbk: remove %uuid_url_map (replace by get_cached_url_by_uuid() operating on %btrfs_tree_cache) Axel Burri 2016-03-10 19:10:57 +0100
  • 743d7704f5 btrbk: correctly fill cache; fix vinfo_set_detail; add debug functionality (VINFO(), SUBTREE_LIST()); cleanup Axel Burri 2016-03-10 18:29:21 +0100
  • e85b6dadf1 btrbk: data structure refactoring: Axel Burri 2016-03-10 05:26:43 +0100
  • 1d054bf04a btrbk: refactoring of add global caches: reduce btrfs-progs calls, and make sure all root vinfo (especially targets) with same URL share the same SUBVOL_LIST reference. Axel Burri 2016-03-09 19:52:45 +0100
  • ba90c13320 btrbk: fixed schedule() debug text Axel Burri 2016-03-08 18:22:58 +0100
  • c1b27c744b btrbk: clone target subvolume tree if same url as other target (less btrfs calls, shared SUBVOL_LIST) Axel Burri 2016-03-08 16:41:02 +0100
  • eba08f2ca3 btrbk: add config_preserve_hash(); fix macro_delete() Axel Burri 2016-03-08 15:25:35 +0100
  • 5cc908313a btrbk: cleanup trace output; cosmetics Axel Burri 2016-03-07 23:53:47 +0100
  • f770488d85 btrbk: adapt all actions to use vinfo_subsection() Axel Burri 2016-03-07 21:54:51 +0100
  • fbbd82114d btrbk: move SUBVOL_RECEIVED, SUBVOL_DELETED, SNAPSHOT_CREATED, SNAPSHOT_UP_TO_DATE data from config to corresponding vinfo Axel Burri 2016-03-07 21:45:12 +0100
  • 6f1e94eb27 btrbk: adapt action "run" to use vinfo_subsection() Axel Burri 2016-03-07 20:47:24 +0100
  • b2be1357eb btrbk: fixed vinfo_set_detail(), while being very paranoid; fixed vinfo_subsection (was: valid_subsection_vinfo); adaptions in vinfo readin (working again) Axel Burri 2016-03-07 19:20:15 +0100
  • ab4ded9830 btrbk: ABORTED() now sets $abrt to last message (useful for warnings after abort) Axel Burri 2016-03-07 19:17:33 +0100
  • 96faae9659 btrbk: be harsh, remove sroot, droot, svol in config (will break a lot of things!) Axel Burri 2016-03-07 17:46:53 +0100
  • d3148851c5 btrbk: first adaptions for vinfo holding config Axel Burri 2016-03-07 17:36:02 +0100
  • ceb346db66 btrbk: skeleton for vinfo holding config Axel Burri 2016-03-07 17:35:17 +0100
  • 5030d54318 btrbk: split "check for duplicate snapshot locations" from "fill vinfo hash" Axel Burri 2016-03-06 17:46:46 +0100
  • 46bd1ad52a btrbk: add function macro_delete(), used by snapshot/backup delete Axel Burri 2016-03-02 00:03:54 +0100
  • e806d4812f btrbk: cosmetics: adapt debug text and variable names for macro_send_receive() and similar Axel Burri 2016-03-01 21:49:59 +0100
  • 6c9643f2be btrbk: action "diff": print total size Axel Burri 2016-03-01 21:29:19 +0100
  • a1124053a7 btrbk: bugfix: sort numerically (low prio, affects only list output) Axel Burri 2016-03-01 19:31:43 +0100
  • ac1b7271c4 btrbk: read readonly flag in btrfs_subvolume_list(). this requires an additional call to btrfs-progs. Axel Burri 2016-01-13 14:29:44 +0100
  • 9eb38ac9d0 btrbk: add {snapshot,target}_preserve shortcut Axel Burri 2016-02-29 23:19:55 +0100
  • b90cc132c1 documentation: add documentation for {snapshot,target}_preserve_yearly Axel Burri 2016-02-29 20:12:55 +0100
  • 4aa4be3942 btrbk: different (correct) text output for scheduler results Axel Burri 2016-02-29 20:07:12 +0100
  • a049d18b90 btrbk: implement {snapshot,target}_preserve_yearly Axel Burri 2016-02-29 18:00:55 +0100
  • cf8e136681 documentation: cosmetics: use "*" instead of "-" for enumerations; two newlines before headings Axel Burri 2016-02-29 13:57:51 +0100
  • 4a41413793 documentation: btrbk.1: more precice description of "btrbk list latest" Axel Burri 2016-02-03 12:42:54 +0100
  • 8b071c5827 documentation: FAQ: change note about re-sending subvolumes (kernels 4.4 fix the issue) Axel Burri 2016-02-03 12:39:49 +0100
  • 4434bc17ef changed version to 0.22.2 v0.22.2 Axel Burri 2016-02-02 11:26:09 +0100
  • e913b23e99 btrbk: fixed debug/trace output of btrfs_filesystem_usage() Axel Burri 2016-02-01 17:07:17 +0100
  • 6f66f72c26 btrbk: bugfix: fix checks on "btrfs sub show" output, which resulted in breakage on btrfs-progs < 4.1 Axel Burri 2016-02-01 17:05:12 +0100
  • d3990bcc90 btrbk: increment copyright year Axel Burri 2016-01-21 17:41:40 +0100
  • c5d256bbf6 documentation: ssh_filter_btrbk.1: fixed release date Axel Burri 2016-01-21 17:41:06 +0100
  • 872779398e changed version to 0.22.1 v0.22.1 Axel Burri 2016-01-20 18:47:29 +0100
  • 13a656a6d4 btrbk: add more sophisticated checks for possible future incompatibilities of btrfs-progs Axel Burri 2016-01-20 18:22:08 +0100
  • 7a4aa4b650 btrbk: add support for btrfs-progs v4.4 Axel Burri 2016-01-20 17:53:36 +0100
  • 9595adc2a5 changed version to 0.22.0 v0.22.0 Axel Burri 2016-01-19 18:40:14 +0100
  • 14c5c41e72 btrbk: make pv more useful by passing parameters. Michael Düll 2016-01-18 23:07:52 +0100
  • f4bb1c8738 Merge e7aa692110 into 614438183f #65 Michael Düll 2016-01-19 16:54:51 +0000