* check_prerequisites(): test for needed helper programs
* get_mediapool_names(): introduce new function
* get-lastwrite(): introduce new function
* get_poolmember_next(): handle selection of next tape
* mount(): handle ltfs and mtx calls in a correct order
* mount_tape(): check that mounted tape is member of selected mediapool
* ltfs_label(): use mkltfs to format and partitionin a given tape
* update_lastwrite()
* update_retensiondate()
* date_iso_to_seconds(): parse and format date-string
* date_seconds_to_iso(): parse and format date-string
* date_string_to_iso(): parse and format date-string
* typo cleanups
* update sample MediaPools.json file
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
- tape_admin: helper script to handle common tape handling routines
- mtx: is used for media-changer functions
- json: define media-pools, corresponding volume-names and attributes
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
- adapt to rely on systemd units
- enable timeline cleanups, since snapshots are marked to support
this algorithm
- typo correction for SNAP_SYNC_EXCLUDE
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
- 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>