Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| misc_docs:auto_zfs_snapshots [2022/09/16 20:32] – [Pool Snapshots] crashtest | misc_docs:auto_zfs_snapshots [2025/02/21 19:55] (current) – [Automated ZFS Snapshots for Openmediavault] crashtest | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{indexmenu_n> | {{indexmenu_n> | ||
| - | < | ||
| - | {{ : | ||
| - | ====== Automated ZFS Snapshots for Openmediavault ====== | ||
| - | \\ | ||
| - | < | ||
| + | |||
| + | ===== Automated ZFS Snapshots for Openmediavault ===== | ||
| \\ | \\ | ||
| + | {{ : | ||
| \\ | \\ | ||
| - | This document can be converted to a PDF file, in the user's language of choice (see the following), on Windows, Mac' | + | < |
| - | \\ | + | |
| - | \\ | + | |
| - | [[https://translate.google.com/|Google Translate]] kann Wiki-Dokumente in Ihre Sprache übersetzen. Fügen Sie die Wiki-URL in das linke Fenster ein und öffnen Sie den übersetzten Link rechts.\\ | + | |
| - | [[https:// | + | |
| - | [[https:// | + | |
| - | [[https:// | + | |
| \\ | \\ | ||
| - | ===== Automated ZFS Snapshots ===== | ||
| \\ | \\ | ||
| **For ZFS users:**\\ | **For ZFS users:**\\ | ||
| Line 29: | Line 21: | ||
| **Tested: | **Tested: | ||
| - | July 2022: With openmediavault 6 and Debian 11 (Bullseye).\\ | + | February 2025: **With openmediavault 7** and Debian 12 (Bookworm).\\ |
| - | December 2020: With openmediavault 5 and Debian 10 (Buster).\\ | + | July 2022: **With openmediavault 6** and Debian 11 (Bullseye).\\ |
| - | Tested, prior, | + | December 2020: |
| + | Tested, prior, | ||
| ---- | ---- | ||
| Line 59: | Line 52: | ||
| \\ | \\ | ||
| If the output of the above is; “'' | If the output of the above is; “'' | ||
| - | '' | + | '' |
| Then rerun the unzip command: \\ | Then rerun the unzip command: \\ | ||
| '' | '' | ||
| Line 106: | Line 99: | ||
| zfs set com.sun: | zfs set com.sun: | ||
| \\ | \\ | ||
| - | Time intervals where a snapshot is desired are set to **true**. | + | Time intervals where a snapshot is desired are set to **true**. |
| In this example, with all intervals up to “weekly” set to “true”, the pool “Rocky” will have a snapshot recorded 4 times an hour (4 total), once per hour (24 total), once a day (31 total), and once a week (7 total). | In this example, with all intervals up to “weekly” set to “true”, the pool “Rocky” will have a snapshot recorded 4 times an hour (4 total), once per hour (24 total), once a day (31 total), and once a week (7 total). | ||
| Again, in the example above, **true** is assumed on all lines. | Again, in the example above, **true** is assumed on all lines. | ||
| Line 187: | Line 180: | ||
| The contents of any snapshot can be copied from the snapshot to replace or overwrite any part of, or all of, the current top level file system. | The contents of any snapshot can be copied from the snapshot to replace or overwrite any part of, or all of, the current top level file system. | ||
| - | For businesses and users, | + | For businesses and users, |
| **Caution**: | **Caution**: | ||
| - | The above will make all of the current filesystem' | + | The above will make all of the current filesystem' |
| - | If the snapshot directory is visible and an rsync job or any other backup type runs, pulling | + | If the snapshot directory is **visible** and an rsync job or any other backup type runs that pulls files from the share, the destination will be **OVER RUN** with multiple versions of the same files and folders. |
| Equally important is the need for any copy, paste or replace operations, from past snapshots to the current file system, to be “// | Equally important is the need for any copy, paste or replace operations, from past snapshots to the current file system, to be “// | ||