@@ -26,18 +26,21 @@ zfs-auto-snapshot, namely:
26
26
old snapshots there.
27
27
28
28
PREREQUISITES:
29
- 1. zfs-auto-snapshot package installed locally and at least hourly
30
- snapshots enabled (or daily, etc.)
29
+ 1. zfs-auto-snapshot or equivalent package installed locally and regular
30
+ snapshots enabled (hourly, daily, etc.)
31
31
2. home directory set for zfssnap role
32
32
3. ssh keys set up between zfssnap@localhost and remuser@remhost
33
33
4. zfs allow done for remuser on remhost
34
34
(see http://mail.opensolaris.org/pipermail/zfs-auto-snapshot/2009-November/000198.html
35
- for guidance on #2-4)
35
+ for guidance on #2-4; you may need to also allow further permissions such as
36
+ sharenfs, userprop, hold, etc.)
36
37
5. an initial (full) zfs send/receive done so that remhost has the fs we
37
38
are backing up, and the associated snapshots -- something like:
38
39
zfs send -R $POOL/$FS@zfs-auto-snap_daily-(latest) | ssh $REMUSER@$REMHOST zfs recv -dvF $REMPOOL
39
- 6. configure the pool/fs/user/host variables in this script
40
- 7. zfs set $PROP={ fullpath | basename } pool/fs
40
+ 6. zfs allow any additional permissions needed, to fix any errors produced in step 5
41
+ 7. configure the tag/prop/remuser/remhost/rempool variables in this script or in a config file
42
+ (and update the CFG=... line accordingly)
43
+ 8. zfs set $PROP={ fullpath | basename } pool/fs
41
44
for each FS or volume you wish to back up.
42
45
43
46
PROPERTY VALUES:
0 commit comments