Commit Graph

250 Commits (c06bca17bd98411b7b2ac426c2a155aeefb65f1e)

Author SHA1 Message Date
Axel Burri c06bca17bd btrbk: new target_type "raw": send subvolume to file rather than receiving it, with compression and encryption support; added configuration options "raw_target_compress", "raw_target_encrypt", "gpg_keyring", "gpg_recipient"; skip deletion of raw targets for now; 2015-09-26 14:02:55 +02:00
Axel Burri d73e3f184b btrbk: added "config dump" command (tagged as experimental): dump filtered btrbk config, useful for scripting 2015-09-24 16:00:35 +02:00
Axel Burri b3d8c1f15f btrbk: allow filtering by "<target-directory>/<snapshot-name>", which makes it possible to pinpoint a single target 2015-09-24 14:56:22 +02:00
Axel Burri 8059fa28db documentation: added documentation for ---raw-output command line option 2015-09-24 01:02:42 +02:00
Axel Burri a1467fa629 btrbk: added command-line option "--raw-output", affects commands "run", "dryrun" and "tree" 2015-09-23 14:10:13 +02:00
Axel Burri 06bfe2a004 btrbk: bugfix: sort snapshots by cgen instead of PATH in action "tree" 2015-09-23 11:10:42 +02:00
Felix Eckhofer 0e24738d65 documentation: cron examples: silence output on successful runs in cron 2015-09-20 19:38:01 +02:00
Felix Eckhofer c29f552119 documentation: cron examples: replace shell by btrbk
There's no point of having the shell process around while the backup is
running.
2015-09-20 19:01:39 +02:00
Felix Eckhofer 411165dd39 documentation: cron examples: use system's default shell 2015-09-20 19:00:53 +02:00
Axel Burri dd6104339e btrbk: added "ssh_cipher_spec" configuration option, overriding default SSH ciphers (ssh -c option) 2015-09-20 18:32:19 +02:00
Axel Burri 4115941478 ChangeLog: added changes since v0.20.0 to btrbk-current 2015-09-20 17:51:32 +02:00
Axel Burri 269b3611ac documentation: added "FILTER STATEMENT" section in btrbk(1), and "group" configuration option in btrbk.conf(5) 2015-09-20 17:47:46 +02:00
Axel Burri d64aea9cc9 btrbk: allow targets for subvolume/group command-line argument 2015-09-20 17:39:47 +02:00
Axel Burri e7c6e37bd0 btrbk: implemented "group" configuration option and filtering for volume/subvolume 2015-09-20 17:39:17 +02:00
Axel Burri 8bc1acc672 documentation: FAQ: added item "How can I backup from non-btrfs hosts?" 2015-09-10 15:03:35 +02:00
Axel Burri 8ba2d6e6b1 documentation: README: updated example usage of ssh_filter_btrbk.sh, added hints on chroot and sudo options 2015-09-10 14:02:51 +02:00
Axel Burri f01304df35 ssh_filter_btrbk: refactoring/hardening:
- switched to bash interpreter
- enable fine-grained (--source, --target, ...) capabilities by command-line options
- added "--restrict_path" command-line option
- added sudo flag
- added man-page
- print SSH_ORIGINAL_COMMAND in error message
2015-09-10 14:02:32 +02:00
Axel Burri 28abe96747 btrbk: added "prefix/postfix" options to config_key() function, simplifying snapdir handling 2015-09-10 12:11:54 +02:00
Axel Burri 38a8c1c9eb documentation: btrbk(1): added missing command line options in synopsis section 2015-09-03 18:13:09 +02:00
Axel Burri bed9fe1f66 documentation: disable hyphenation and justification in man-pages; use .PP and .RS 4 instead of .TP, which creates more predictable output 2015-09-03 18:02:19 +02:00
Axel Burri 5b0e618632 changed version to 0.20.0 2015-09-02 12:27:13 +02:00
Axel Burri 99c70e38a5 Makefile: install ssh_filter_btrbk.sh as executable 2015-09-02 12:06:23 +02:00
Axel Burri 22d3e95e3a btrbk: bugfix: correct handling of empty "snapshot_dir" 2015-09-02 11:48:32 +02:00
Jan Wagner 68876f0562 btrbk: added "ssh_compression" configuration option for setting the SSH compression flag 2015-09-02 11:22:50 +02:00
Axel Burri 79f52924b6 btrbk: fixed wrong "--version" line in help message 2015-08-27 11:57:58 +02:00
Axel Burri d8e8df0ebd btrbk: added command line option "--progress", which simply pipes btrfs send through `pv` 2015-08-15 18:43:03 +02:00
Axel Burri 752dbc6157 btrbk: accept long options (use Getopt::Long instead of Getopt::Std) 2015-08-15 18:30:14 +02:00
Axel Burri 7017e14c32 documentation: btrbk.1: added missing information about the "-r" command line option 2015-08-13 22:17:01 +02:00
Axel Burri d09d81fbeb btrbk: added configuration option "ssh_port" 2015-08-13 21:50:26 +02:00
Axel Burri fd94bc25fc btrbk: use arrays as arguments for run_cmd(), making it compatible with the adaptions in the open3 branch 2015-08-07 16:10:34 +02:00
Axel Burri a802674d11 btrbk: cosmetics (fixed typo in log message) 2015-07-27 12:21:42 +02:00
Axel Burri 4b6e77c530 documentation: README.md: updated debian installation instructions (btrbk is in debian testing) 2015-07-17 16:04:27 +02:00
Axel Burri bb2672566f documentation: doc/FAQ.md: fixed headings 2015-07-17 14:32:35 +02:00
Axel Burri eae6469694 documentation: doc/FAQ.md: added information on btrfs root problem 2015-07-17 14:22:44 +02:00
Axel Burri 2b0451c701 documentation: README.md: added FAQ section, pointing to doc/FAQ.md 2015-07-17 00:44:12 +02:00
Axel Burri 748bbbfd62 Merge branch 'faq' 2015-07-17 00:29:16 +02:00
Axel Burri 0586d2a545 ChangeLog: use "close" instead of "closes" for closed issues 2015-07-08 18:24:55 +02:00
Axel Burri bab8f1771b ssh_filter_btrbk: no fail if either $LOGNAME or $SSH_CLIENT are not set; added log_cmd() function; use relative path for "logger" command; cosmetics 2015-07-08 18:08:19 +02:00
Yaroslav Halchenko f8c64c4f27 ssh_filter_btrbk: fail if any command fails, or var is undefined 2015-07-08 18:02:21 +02:00
Axel Burri 97286ab34c changed version to 0.19.3 2015-06-21 15:37:04 +02:00
Axel Burri 76f15624f3 btrbk: adaptions for btrfs-progs >= 4.1: different output for "btrfs subvolume show" 2015-06-21 13:45:23 +02:00
Axel Burri 360deca5f2 btrbk: correct parsing of btrfs subvolume list (allow id < top_level) 2015-06-17 12:42:29 +02:00
Axel Burri 8a53b3874c btrbk: bugfix: minor bug when sorting in schedule() 2015-06-10 13:10:45 +02:00
Axel Burri eab34c9d68 btrbk: set development version 2015-06-10 13:10:29 +02:00
Axel Burri f58fe6f3df documentation: doc/FAQ.md: fixed mistakes, cleanup markdown (thanks Bernd) 2015-06-10 11:26:13 +02:00
Axel Burri 5973509428 documentation: doc/FAQ.md: added FAQ 2015-06-09 16:23:20 +02:00
Axel Burri 842f8cb201 changed version to 0.19.2 2015-06-07 12:33:27 +02:00
Axel Burri 16cfb600b7 btrbk: workaround for btrfs-progs < 3.17.3 (returns exit status 0 on errors for "btrfs subvolume show") 2015-06-07 11:52:39 +02:00
Axel Burri 5ab5175340 btrbk: bugfix: dont print error messages check_file() when called without key/config_file hints 2015-06-07 11:36:12 +02:00
Axel Burri 26d154e563 documentation: README.md: cosmetics (gentoo emerge command) 2015-06-02 22:07:42 +02:00