Lines 1-22
Link Here
|
1 |
|
1 |
|
2 |
In order to enable periodic snapshots you need |
2 |
In order to enable periodic snapshots you need |
3 |
to add these lines to your /etc/periodic.conf |
3 |
to add these lines to your /etc/periodic.conf |
4 |
|
4 |
|
5 |
hourly_output="root" |
5 |
hourly_output="root" |
6 |
hourly_show_success="NO" |
6 |
hourly_show_success="NO" |
7 |
hourly_show_info="YES" |
7 |
hourly_show_info="YES" |
8 |
hourly_show_badconfig="NO" |
8 |
hourly_show_badconfig="NO" |
9 |
hourly_zfs_snapshot_enable="YES" |
9 |
hourly_zfs_snapshot_enable="YES" |
10 |
hourly_zfs_snapshot_pools="tank" |
10 |
hourly_zfs_snapshot_pools="tank" |
11 |
hourly_zfs_snapshot_keep=6 |
11 |
hourly_zfs_snapshot_keep=6 |
12 |
daily_zfs_snapshot_enable="YES" |
12 |
daily_zfs_snapshot_enable="YES" |
13 |
daily_zfs_snapshot_pools="tank" |
13 |
daily_zfs_snapshot_pools="tank" |
14 |
daily_zfs_snapshot_keep=7 |
14 |
daily_zfs_snapshot_keep=7 |
15 |
weekly_zfs_snapshot_enable="YES" |
15 |
weekly_zfs_snapshot_enable="YES" |
16 |
weekly_zfs_snapshot_pools="tank" |
16 |
weekly_zfs_snapshot_pools="tank" |
17 |
weekly_zfs_snapshot_keep=5 |
17 |
weekly_zfs_snapshot_keep=5 |
18 |
monthly_zfs_snapshot_enable="YES" |
18 |
monthly_zfs_snapshot_enable="YES" |
19 |
monthly_zfs_scrub_enable="YES" |
19 |
monthly_zfs_snapshot_pools="tank" |
20 |
monthly_zfs_scrub_pools="tank" |
20 |
monthly_zfs_snapshot_keep=2 |
21 |
monthly_zfs_snapshot_pools="tank" |
21 |
|
22 |
monthly_zfs_snapshot_keep=2 |
22 |
To get hourly snapshots you also need to add |
|
|
23 |
somehting like this to /etc/crontab: |
24 |
|
25 |
2 * * * * root periodic hourly |