Commit Graph

  • eabdba482e btrbk-mail: Use relative instead of absolute calls to system binaries Axel Burri 2016-05-09 12:10:13 +0200
  • df7473f7df Makefile: respect BINDIR in systemd service Benedikt Morbach 2016-05-04 15:11:20 +0200
  • 4a1fd86458 Merge 0d90b7b368 into cb0851c8b6 #88 Benedikt Morbach 2016-05-07 12:48:10 +0000
  • 0d90b7b368 respect BINDIR in systemd and cron files #88 Benedikt Morbach 2016-05-04 15:11:20 +0200
  • cb0851c8b6 change version to 0.23.1 v0.23.1 Axel Burri 2016-05-03 16:21:34 +0200
  • 65ebf949d1 documentation: cosmetics: groff: consistently use minus "\-" instead of hyphen "-" where applicable Axel Burri 2016-05-03 15:54:35 +0200
  • cb6dcbe58e documentation: cosmetics (no more long lines) Axel Burri 2016-05-03 15:30:06 +0200
  • 5cd03a8fbf btrbk: remove absolute path to executables, this caused trouble on some distros Axel Burri 2016-05-03 14:34:04 +0200
  • 54b5368309 btrbk: code cleanup (remove unneeded code, rename vars) Axel Burri 2016-05-03 13:19:42 +0200
  • 12d435d42a btrbk: explain "orphaned" status in "stats" command, and suppress it on "list backups" command Axel Burri 2016-04-30 13:01:12 +0200
  • 46f1e5e2e4 btrbk: only load Data::Dumper if needed (log level "trace", or development version); cosmetics Axel Burri 2016-04-28 13:03:15 +0200
  • 49ae46d51d btrbk: do not print headers to transaction_log, these are documented in btrbk.conf(5) Axel Burri 2016-04-28 12:48:58 +0200
  • e9e398af37 Merge branch 'syslog' Axel Burri 2016-04-28 12:45:13 +0200
  • 7a469597ac documentation: describe transaction log table format; cosmetics Axel Burri 2016-04-28 12:44:33 +0200
  • 7e7c28f8f1 btrbk: add eval_quiet(), a simple wrapper around eval, disabling $SIG_(__DIE__) Axel Burri 2016-04-25 21:05:46 +0200
  • 082754173c btrbk: bugfix: raw targets: do not inject child if add_btrbk_filename_info() failed Axel Burri 2016-04-25 20:49:17 +0200
  • 47eb14f5fb btrbk: syslog: add syslog hack in print_formatted(); remove print-to-scalar hack Axel Burri 2016-04-25 19:40:11 +0200
  • c424d917b6 btrbk: syslog: only load Sys::Syslog module if configuration option is set; soft-fail on syslog calls Axel Burri 2016-04-25 18:36:15 +0200
  • 59d96420c8 btrbk: add transaction logging to syslog Hans van Kranenburg 2016-04-22 23:11:00 +0200
  • 81feb41619 ssh_filter_btrbk: allow access to "/" if no path restrictions are set. Axel Burri 2016-04-25 16:58:56 +0200
  • 89df601ee5 btrbk: allow "<hostname>:<path>" notation for volume and target sections Axel Burri 2016-04-25 16:07:40 +0200
  • 702ee8950e btrbk: bugfix: vinfo(): correctly parse url, using check_url() Axel Burri 2016-04-25 15:10:00 +0200
  • 357b72bd3f btrbk: code cleanup: check_file() and check_url() do all the sanitize parts Axel Burri 2016-04-25 14:23:15 +0200
  • 191284cd43 btrbk: bugfix: set correct parent section when propagating targets Axel Burri 2016-04-24 15:59:17 +0200
  • 4ffaf430c5 change version to 0.23.0 v0.23.0 Axel Burri 2016-04-23 15:06:57 +0200
  • b4c4a96b14 Makefile: add doc/upgrade_to_v0.23.0.md Axel Burri 2016-04-23 15:04:45 +0200
  • 2e8e4ddefc btrbk: cosmetics: change info log of send/receive; change topic line; fix typos Axel Burri 2016-04-23 14:58:08 +0200
  • efc260ef91 btrbk: add sanity check on timezone offset; add documentation about implications of long-iso time format Axel Burri 2016-04-23 14:37:24 +0200
  • c7dd680537 btrbk: make sure that snapshots/backups with date in the future are never deleted Axel Burri 2016-04-22 20:51:31 +0200
  • ecb2307b22 btrbk: send/receive: only inject child if target creation was successful Axel Burri 2016-04-22 20:25:30 +0200
  • 3ffa63daba btrbk: bugfix: btrfs_subvolume_show(): quote real_path everywhere Axel Burri 2016-04-22 20:17:03 +0200
  • c13c99ada5 btrbk: add new time_format "long-iso", with seconds and timezone offset (iso8601 format); add function timestamp(): remove dependency to POSIX Axel Burri 2016-04-21 13:27:54 +0200
  • e824c21f50 btrbk: use build-in Time::Local in combination with localtime() instead of Date::Calc; correctly calculate leap hours Axel Burri 2016-04-20 22:45:11 +0200
  • c73dffbd25 btrbk: handle missing Data::Dumper gracefully Axel Burri 2016-04-18 16:40:49 +0200
  • 829490f963 btrbk: put btrbk filename info directly to tree node (parse only once) Axel Burri 2016-04-19 13:06:31 +0200
  • c225231742 btrbk: reuse subvol list for get_receive_targets() Axel Burri 2016-04-19 13:42:18 +0200
  • 2b22524ccd btrbk: sane defaults: xxx_preserve_min defaults to "all", xxx_preserve default to "no" (for backwards compatibility with 0.22.0 default) Axel Burri 2016-04-19 21:07:04 +0200
  • 29b9c8fc60 btrbk: action "archive": abort if receive targets of archive candidates exist at unexpected location. makes sure we dont have duplicates on our archives Axel Burri 2016-04-19 18:57:22 +0200
  • 5e7a6e5ef4 btrbk: action "archive": delete archives according to archive retention policy Axel Burri 2016-04-19 18:53:44 +0200
  • 31f0f97ff0 btrbk: fix info logging for send/receive Axel Burri 2016-04-19 19:36:58 +0200
  • 7807fface8 btrbk: cosmetics; s/config_override_opts/config_override_cmdline/g Axel Burri 2016-04-18 15:22:14 +0200
  • 2c3997ad0a btrbk: bugfix: action "config print": correctly handle undef options; skip deprecated options Axel Burri 2016-04-18 20:42:53 +0200
  • 2317580639 documentation: README.md: add update notice (v0.22.2 -> v0.23.0) Axel Burri 2016-04-18 00:16:45 +0200
  • a27f99af46 change version to 0.23.0-rc1 v0.23.0-rc1 Axel Burri 2016-04-16 21:28:19 +0200
  • bbb18f5af7 btrbk: cosmetics on info warnings Axel Burri 2016-04-16 21:08:07 +0200
  • edfebb8193 btrbk: action "origin": use --format options; do not recurse into parent chain Axel Burri 2016-04-15 22:00:10 +0200
  • 1151d2c572 btrbk: print_formatted(): honor use_header argument for all table formats Axel Burri 2016-04-15 21:42:38 +0200
  • 9afe17f738 btrbk: continue gracefully (skip instead of abort) when resuming subvolume having existing (possibly garbled) target; cosmetics on debug/trace log Axel Burri 2016-04-16 19:25:46 +0200
  • ec9dd761b8 btrbk: use "[subvol cmd]" instead of "[btrfs cmd]", and print this as info log Axel Burri 2016-04-16 18:06:55 +0200
  • 59b3cde303 Merge branch 'action_archive' into devel Axel Burri 2016-04-16 17:32:07 +0200
  • 689d3d1233 btrbk: action "archive": print created subdirectories on summary; cleanup Axel Burri 2016-04-16 17:13:19 +0200
  • 5a06a85619 btrbk: moved get_receive_targets_fsroot() out of get_receive_targets(), while cleaning up Axel Burri 2016-04-16 16:05:57 +0200
  • 774e6ef842 btrbk: macro_archive_target(): only warn on unexpected targets, not abort Axel Burri 2016-04-16 01:32:25 +0200
  • de05b99757 btrbk: rename action "clone" to "archive" (should have been like this from the beginning) Axel Burri 2016-04-16 01:09:17 +0200
  • 4bd68a2e35 btrbk: action "clone": abort all as soon as one target aborts Axel Burri 2016-04-16 00:45:16 +0200
  • cc20dfb8c3 btrbk: schedule(): use "informative_only" option instead of checking for empty value; make sure real values are always in front Axel Burri 2016-04-15 22:33:19 +0200
  • d0cfba7914 btrbk: action "clone": create missing directories Axel Burri 2016-04-14 18:46:35 +0200
  • a5c7c53a86 btrbk: action "clone": print scheduler results if --print-schedule option is set Axel Burri 2016-04-14 15:39:50 +0200
  • 14de16aabe btrbk: add action "clone": recursively send/receive all backups to an archive directory Axel Burri 2016-04-07 15:33:32 +0200
  • 3c9aff4c40 btrbk: enable --override option Axel Burri 2016-04-15 02:48:51 +0200
  • e3702305e6 btrbk: bugfix: update uuid_cache after btrfs_subvolume_show() Axel Burri 2016-04-15 02:38:41 +0200
  • 6e997674fc btrbk: remove "btrfs_progs_compat" configuration option, from now on we REQUIRE btrfs-progs >= v3.18.2: we rely on received_uuid for most operations Axel Burri 2016-04-15 01:22:19 +0200
  • 6aa54b2dd5 btrbk: bugfix: correctly handle NODE_SUBDIR in vinfo_inject_child() Axel Burri 2016-04-14 18:24:11 +0200
  • 141b70f26b btrbk: bugfix for subdir resolving: on older kernels, the "subvolid" mount option is not shown: try to read it with btrfs_subvolume_show() Axel Burri 2016-04-14 18:21:00 +0200
  • a1ee9d5c6d btrbk: allow "{snapshot,target}_preserve no": disable retention policy Axel Burri 2016-04-14 14:15:12 +0200
  • a03c515b0a btrbk: enter failsafe mode on deprecated preserve configuration: at least create the snapshots, and print message to read the upgrade documentation Axel Burri 2016-04-14 13:01:28 +0200
  • 73906caacd documentation: update/fix ChangeLog, README.md, btrbk.conf.5; add "doc/upgrade_to_v0.23.0.md" Axel Burri 2016-04-13 19:56:35 +0200
  • be608a04b2 documentation: btrbk.conf.example: adaptions for new {snapshot,target}_preserve options Axel Burri 2016-04-13 17:39:28 +0200
  • 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