Commit Graph

7 Commits

Author SHA1 Message Date
73b28575ef dsnap-sync template: changes to support CONFIG_TYPE 2018-07-17 01:03:19 +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
c66b21969d Update Config-Template dsnap-sync
o adapt defaultes for timeline handling
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
603685083d Delete dsnap-sync 2018-07-17 01:03:13 +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
fe15397f33 snap-sync: enable snapper to admin snap-sync backups on target
- create and verify snapper compatible structure on target host
- create snapper config (snap-$selected_config) on target host
  if not already available. use a snap-sync template.
- change userdata for snapper listings on target config
  subvolid, uuid and hostname reflact the values from the source system
- introduce a snapper template (/etc/snapper/config-templates/snap-sync)
- adapt Makefile to support an initial snap-sync template
  per default, this templates excludes snap-sync backup configs
  from timeline and cleanup tasks

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2017-11-22 21:59:18 +01:00