* 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>
This regexp replaces not only SNAPPER_CONFIG but also SNAPPER_CONFIG_DIR
to SNAPPER_CONFIG.
> 's@^SNAPPER_CONFIG.*@SNAPPER_CONFIG='$d'@g'
I change this regexp to fix SNAPPER_CONFIG_DIR will become not undefined.
- 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>