oetiker / znapzend

zfs backup with remote capabilities and mbuffer integration.
www.znapzend.org
GNU General Public License v3.0
608 stars 137 forks source link

added --setup option to znapzendztatz #378

Closed sylvain-ilm closed 5 years ago

sylvain-ilm commented 5 years ago

this allows to know the plan that created the snapshots and to write scripts which check that the last snapshot is not too old.

znapzendztatz --setup -r
USED    LAST SNAPSHOT    DATASET        SETUP FS       SETUP KEY
1,27M   2018-09-19T13:00:00Z   pool/data   pool/data   src
2,20M   2018-09-19T13:00:00Z   user@backup.server.fr:zroot/backup/data   pool/data   dst_ovh
2,91M   2018-09-19T13:00:00Z   pool/data/Sauvegarde   pool/data   src
3,81M   2018-09-19T13:00:00Z   user@backup.server.fr:zroot/backup/data/Sauvegarde   pool/data   dst_ovh
coveralls commented 5 years ago

Coverage Status

Coverage decreased (-0.2%) to 87.671% when pulling 52d8a56aec324e3b6d99960a0678a08f102eb455 on ilm-informatique:ztatz-setup into 4209a5e4ec381b86af1350222a7fe5efaa1e2012 on oetiker:master.