Commit Graph

347 Commits

Author SHA1 Message Date
e1bbe55784 dsnap-sync: coding cleanup 2018-07-17 01:03:18 +02:00
5a446e2d11 dsnap-sync: refine snapper template handling 2018-07-17 01:03:18 +02:00
66fa9251eb TODO.md: update open-tasks 2018-07-17 01:03:18 +02:00
a7b4a998ee dsnap-sync template: snapper options for derived dsnap-sync configs
- adapt to rely on systemd units
- enable timeline cleanups, since snapshots are marked to support
  this algorithm
- typo correction for SNAP_SYNC_EXCLUDE
2018-07-17 01:03:18 +02:00
66e40a0931 Makefile: update installing to DESTDIR structure 2018-07-17 01:03:18 +02:00
777aef5f8a dsnap-sync: 0.5.5 version bump 2018-07-17 01:03:17 +02:00
7793023c9d README.md:
o wording
o update to comply with tag 0.5.5
2018-07-17 01:03:17 +02:00
c23124e7f5 dsnap-sync: function updates
o run_backup: update printf parameters
o run_finalize: verbosity handling, update tagging
o verify_snapper_structure: updatecommenting, update command calls
2018-07-17 01:03:17 +02:00
2c3c6f1f59 dsnap-sync: pv option no using splice 2018-07-17 01:03:17 +02:00
ae3401135b dsnap-sync: command line-up 2018-07-17 01:03:17 +02:00
675fc77d64 dsnap-sync: cleanup run_finalize()
- structure source and target tagging
- hack to force update of snapper subvol listing
2018-07-17 01:03:17 +02:00
b0b192ab77 dsnap-sync: adapt src_uuid to respect target mountpoint 2018-07-17 01:03:16 +02:00
6c8f72dd1a dsnap-sync: cleanup snapper_target_config name 2018-07-17 01:03:16 +02:00
df8422fa93 dsnap-sync: cosmetic changes 2018-07-17 01:03:16 +02:00
7047775567 dsnap-sync: handle postfix to be appended to config
- snapper config will be created with given postfix
- make postfix a sectable option
2018-07-17 01:03:16 +02:00
d86282b27b dsnap-sync: args parser
- prepare arguments as string for ssh call
2018-07-17 01:03:16 +02:00
b607ae3eba dsnap-sync: introduce coloured output and verbosity level
- handle 'verbose' as integer
- introduce verbosity level selectable with multiple verbose arguments
- introduce color variables
- embed printf strings with color statements
- cleanup output line-up
2018-07-17 01:03:16 +02:00
ce062ea920 dsnap-sync: change notification to use int value 2018-07-17 01:03:16 +02:00
c66b21969d Update Config-Template dsnap-sync
o adapt defaultes for timeline handling
2018-07-17 01:03:15 +02:00
7ffd5bee31 update documentation path 2018-07-17 01:03:15 +02:00
fa24a6a19e .gitignore: ignore debian packaging subdir 2018-07-17 01:03:15 +02:00
bcbe5e1cd9 dsnap-sync: rebase to an FHS structure 2018-07-17 01:03:15 +02:00
b154c7def0 dsnap-sync: verify_snapper_structure() - cleanup
o use generic "stat" for local and ssh calls
2018-07-17 01:03:15 +02:00
b39f4b8b1e dsnap-sync: run_finalize() - cleanup handling of metadata tagging 2018-07-17 01:03:15 +02:00
3e9fefbd91 dsnap-sync: run_backup() - cleanup btrfs send-recieve part
o show actual command call in verbose mode
o use more generic cmd variable
2018-07-17 01:03:15 +02:00
d93a11ab70 dsnap-sync: introduce snapper config-types and config-postix
o snapper config-types
  enhance snapper config template which new fields
  CHILD_CONFIG=<true | false>  default: missing -> means false
  PARENT_CONFIG=<parent config name>
o Use the types for distinctable snapshot runs:
  disk2disk (1st stage snapshots  CHILD_CONFIG='false' or missing
  cloning   (2st stage snapshots  CHILD_CONFIG='true' or missing
o snapper config postfix
  to overcome snapper config name clashes, enable dsnap-sync with
  selectable postfix (default: .<hostname>)
  cloning a "home" config to remote host will not interfere with
  a "home" d2d-config on this remote host
o update the snapper template dsnap-sync
2018-07-17 01:03:14 +02:00
36bcc7877e dsnap-sync: make 'pv' output selectable 2018-07-17 01:03:14 +02:00
da2817b380 dsnap-sync: pre-check for working ssh, if remote is given
o user must have a working pubkey auth for remote backups via ssh
o be more precise and state the progname
2018-07-17 01:03:14 +02:00
811f3d43b6 dsnap-sync: search location for snapper config (etc/default/snapper)
o adapt to debian like systems (debian/ubuntu/arch-linux)
2018-07-17 01:03:14 +02:00
828befff42 Makefile: update installation target
o provide systemd example units (.service, .timer)
o include documentation
2018-07-17 01:03:14 +02:00
7040f191bb dsnap-sync: 0.5.3 version bump 2018-07-17 01:03:14 +02:00
3ccf1dbfe1 README.md: Extend the documentation 2018-07-17 01:03:14 +02:00
134d713bfc README.md: Extend the documentation 2018-07-17 01:03:13 +02:00
e34f80484d README.md: Extend the documentation 2018-07-17 01:03:13 +02:00
758fa1a2cf Delete find_snapper_config 2018-07-17 01:03:13 +02:00
0a0345585e Delete Makefile 2018-07-17 01:03:13 +02:00
5591e2c47a Delete snap-sync.bash 2018-07-17 01:03:13 +02:00
603685083d Delete dsnap-sync 2018-07-17 01:03:13 +02:00
8829266b75 Delete dsnap-sync 2018-07-17 01:03:12 +02:00
0bb776abe3 dsnap-sync: rebase the project tree 2018-07-17 01:03:12 +02:00
96b71f0094 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-07-17 01:03:12 +02:00
eafa132463 snap-sync: update year in Copyright 2018-07-17 01:03:12 +02:00
f65987e418 Makefile: update installation target
o provide systemd example units (.service, .timer)
o include documentation
2018-06-01 22:29:15 +02:00
5b5b30eee8 dsnap-sync: 0.5.3 version bump 2018-06-01 20:00:07 +02:00
ac8fc9a731 README.md: Extend the documentation 2018-06-01 19:01:25 +02:00
d254ed6cfb README.md: Extend the documentation 2018-06-01 18:56:29 +02:00
f99c4d7acd README.md: Extend the documentation 2018-06-01 18:42:50 +02:00
dd88fedbc5 Delete find_snapper_config 2018-06-01 17:25:18 +02:00
407fcfea5b Delete Makefile 2018-06-01 17:25:00 +02:00
3b027d2a8b Delete snap-sync.bash 2018-06-01 17:23:31 +02:00