5cd429b8d3
dsnap-sync: typo correction
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2018-12-21 15:51:04 +01:00
2a9bc7e733
dsnap-sync: adapt ssh handling
...
- on slow systems, multiple ssh calls in a row might fail without a
suitable timegap. To overcome this, a short sleep doesn't hurt.
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2018-12-21 15:46:17 +01:00
924191483f
dsnap-sync: update modification for snapper metadata
...
* use "dsnap-sync" as cleanup-algorithem which will inhibit unwanted
deletion of backups
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2018-11-22 16:51:24 +01:00
d69dc5444a
dsnap-sync: be explicit when transfering info.xml metadata
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2018-11-22 16:50:35 +01:00
1d11065948
dsnap-sync: be more precise on output
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2018-11-22 16:50:06 +01:00
ed4bf33f10
dsnap-sync: 0.6.3 version bump
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2018-10-12 12:31:53 +02:00
4e7079e62b
dsnap-sync: improve error handling
...
* run_media_infos(): be precise while mounting tape
* run_backup(): don't treat empty btrfs steam as a showstopper
* run_finalize: sleep loop update
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2018-10-12 12:31:53 +02:00
00e363add6
dsnap-sync: introduce error counter
...
* return error, if run_backup() hasn't succeeded for a selected config
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2018-10-12 12:31:53 +02:00
29f361939a
dsnap-sync: update notifications
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2018-10-12 12:31:53 +02:00
eee77079a2
dsnap-sync: update error handling from function calls
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2018-10-12 12:31:52 +02:00
f417a912ef
dsnap-sync: type cleanup
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2018-10-05 23:55:24 +02:00
2275aac7e6
dsnap-sync: correct handling of selected_config pseudo-array
...
* assign/prepare snapper_active_$i='yes' to selected configs
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2018-10-01 13:01:36 +02:00
3f00ef6702
dsnap-sync: rework BTRFS_PIPE handling
...
* redirect any output of btrfs send/receive to a PIPE
* on failure, output saved messages to this PIPE
* cleanup PIPE on program termination
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2018-09-28 19:28:21 +02:00
6dcd0f7b45
dsnap-sync: make snapshot-name a variable
...
* $snapper_snapshot_name: snapper has hardcoded the name 'snapshot'
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2018-09-24 20:54:45 +02:00
3552e96eef
dsnap-sync: new fuctionality
...
* parse_flags: introduce mode (full | incremental)
so you can force a full snapshot sync
* run_backup: update description of btrfs send '-c' flag vs '-p'
* run_finalize: ignore stderr when killing snapperd
* btrfs send: handle return code 127
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2018-09-24 20:49:11 +02:00
7c82f85585
dsnap-sync: improve handling of btrfs-archive
...
* handle mounting of correct volume-name
* get_archive_last_sync_id(): find corresponding synced id
* get_snapper_last_sync_id(): optional search for matching tapeid
* run_config_preparation(): harden init of snapper_target_sync_id
* run_backup():
- correct itaration in multi config szenario
- adopt verbosity messages
- extend logic to eleminate sending of unnecessary streams
- correct handling of remote transfer of archive streams
* code cleanup
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2018-09-22 21:36:05 +02:00
d4f725d0c9
dsnap-sync: code cleanup
...
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2018-09-22 21:36:05 +02:00
e2a324eab7
dsnap-sync: resolve bug when sending incremental snapshots
...
* run_backup(): btrfs send needs valid parent
if last_sync id on target does not match id on source, use a valid
common sync_id
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2018-09-22 21:36:05 +02:00
fda862c6e9
Merge: update directory structure
...
* remove src
* commit bin, etc
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de >
2018-09-21 20:16:55 +02:00
18de780b6d
Delete dsnap-sync
2018-06-01 17:17:47 +02:00
4c694eb6f3
dsnap-sync: rename project and introduce the fork
...
o distict the dash version from original work of Wes Barnett
o circumvit any name clashes
2018-06-01 15:21:04 +02:00