project:rsnapshot-zfs-helper:rsnapshot-backup-example
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
project:rsnapshot-zfs-helper:rsnapshot-backup-example [2018/02/22 16:30] – 92.75.65.74 | project:rsnapshot-zfs-helper:rsnapshot-backup-example [2018/05/15 14:20] (current) – [Details] 94.217.236.160 | ||
---|---|---|---|
Line 31: | Line 31: | ||
This example has been created using Debian 9.3 . | This example has been created using Debian 9.3 . | ||
+ | |||
+ | ==== Setup ==== | ||
+ | |||
+ | Inside ''/ | ||
+ | |||
+ | < | ||
+ | cmd_cp | ||
+ | cmd_preexec | ||
+ | cmd_postexec | ||
+ | </ | ||
+ | **Do NOT replace '''< | ||
+ | |||
+ | Inside ''/ | ||
+ | |||
+ | < | ||
+ | storage_backend=zfs_snapshots | ||
+ | zfs_helper=/ | ||
+ | zfs_zpool=< | ||
+ | zfs_dataset_prefix=backup/ | ||
+ | </ | ||
+ | ** No leading slash - but a trailing one! ** | ||
+ | |||
+ | To create a backup job run: | ||
+ | < | ||
+ | rsnapshot-backup-conf < | ||
+ | ssh-copy-id <IP> | ||
+ | rsnasphot-backup-enable < | ||
+ | </ | ||
+ | ==== Details ==== | ||
+ | |||
+ | This is what '' | ||
+ | |||
+ | The template mechanism creates: | ||
+ | < | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | |||
+ | / | ||
+ | / | ||
+ | |||
+ | / | ||
+ | |||
+ | < | ||
+ | </ | ||
+ | |||
+ | The zfs filesystem dataset is created: | ||
+ | < | ||
+ | zfs create < | ||
+ | </ | ||
+ | |||
+ | rsnapshot-zfs-helper is to be configured inside rsnapshot' | ||
+ | |||
+ | Additionally, | ||
+ | |||
+ | < | ||
+ | cmd_cp | ||
+ | cmd_preexec | ||
+ | cmd_postexec | ||
+ | </ | ||
+ | |||
+ | '' | ||
+ | rotation levels. | ||
+ | |||
project/rsnapshot-zfs-helper/rsnapshot-backup-example.1519313428.txt.gz · Last modified: 2018/02/22 16:30 by 92.75.65.74