Commit Graph

20 Commits

Author SHA1 Message Date
de73cefdd6 Makefile: update default target locations
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2018-09-21 15:53:58 +02:00
86b3873651 tape-admin: extended functionality
* 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>
2018-09-21 15:53:58 +02:00
ec121aecd1 type_admin: introduce media-changer / tape admin wrapper
- 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>
2018-09-21 15:53:58 +02:00
66e40a0931 Makefile: update installing to DESTDIR structure 2018-07-17 01:03:18 +02:00
7ffd5bee31 update documentation path 2018-07-17 01:03:15 +02:00
bcbe5e1cd9 dsnap-sync: rebase to an FHS structure 2018-07-17 01:03:15 +02:00
0a0345585e Delete Makefile 2018-07-17 01:03:13 +02:00
Toshifumi NISHINAGA
a00326e28a Fix inappropriate regexp
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.
2018-03-30 03:45:45 +09:00
Toshifumi NISHINAGA
492996e562 Fix DESTDIR behavior
We can not install config-templates
other than /etc/snapper/config-templates
in this version.

This patch fix it.
2018-03-30 03:29:42 +09: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
R1dO
6bcc54bfd8 Remove makefile systemd install target
Fixes a ``make install`` error due to missing directory.
Caused by the systemd script removal in commit 38caa9c
2017-11-17 14:31:42 +01:00
James Barnett
0dd0300a23 look for config files in standard location on installation 2017-06-03 20:22:59 -04:00
James Barnett
e10c62761b fix URL 2017-06-03 19:46:35 -04:00
James Barnett
0f9c540982 update year 2017-06-03 19:45:44 -04:00
James Barnett
5862b645da Make sed quiet 2017-06-03 19:42:40 -04:00
James Barnett
f99fbbdafe Change snapper configuration location via Makefile
Update installation instructions.

Fixes #43.
2017-06-03 18:46:10 -04:00
James Barnett
c22aae296c Remove executable bit for systemd service and timer
Fixes #19
2016-11-29 07:49:58 -06:00
James Barnett
7574afe1f2 fix DEsTDiR for systemd 2016-11-10 18:07:57 -06:00
James Barnett
00caeb3008 update README
update

update
2016-11-08 14:46:32 -06:00
James Barnett
23507dfe50 make installable 2016-10-01 11:08:36 -05:00