project:rsnapshot-zfs-helper
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| project:rsnapshot-zfs-helper [2018/02/20 14:33] – [FAQ] 92.75.65.74 | project:rsnapshot-zfs-helper [2021/06/17 00:18] (current) – 37.49.32.145 | ||
|---|---|---|---|
| Line 25: | Line 25: | ||
| [[project: | [[project: | ||
| - | ===== setup using rsnapshot-backup ===== | ||
| - | ==== preface ==== | ||
| - | I'm using '' | ||
| - | It uses one setup per system to backup with one config, exclude and script file. | ||
| - | There are also individual backup and logging directories. | ||
| - | There is a scheduler which parallelizes backup runs and a configuration frontend | ||
| - | using template files to create the backup jobs. | ||
| - | There is also an enabling mechnism using symlinks. | + | ==== Example for creating a zpool: |
| - | + | ||
| - | A typical backup job configuration consists of: | + | |
| - | + | ||
| - | < | + | |
| - | / | + | |
| - | / | + | |
| - | / | + | |
| - | / | + | |
| - | + | ||
| - | / | + | |
| - | / | + | |
| - | </ | + | |
| - | + | ||
| - | Here, this all runs on Debian GNU/Linux, so the examples refer to this environment. | + | |
| - | + | ||
| - | ==== details ==== | + | |
| - | + | ||
| - | rsnapshot-zfs-helper is to be configured inside rsnapshot' | + | |
| - | + | ||
| - | Additionally, | + | |
| - | + | ||
| - | < | + | |
| - | cmd_cp | + | |
| - | cmd_preexec | + | |
| - | cmd_postexec | + | |
| - | </ | + | |
| - | + | ||
| - | Example for creating a zpool: | + | |
| < | < | ||
| ## | ## | ||
| Line 81: | Line 46: | ||
| / | / | ||
| + | ## caveat: this example (a single disk partition) is neither redundant nor exceptionally performant | ||
| + | ## and serves for illustration purpose only! | ||
| ## create partition for zfs: | ## create partition for zfs: | ||
| Device | Device | ||
| Line 90: | Line 57: | ||
| # create prereq. datasets | # create prereq. datasets | ||
| - | zfs create zp-bak/ | + | zfs create zp-bak/ |
| - | zfs create zp-bak/ | + | zfs create zp-bak/ |
| df | df | ||
| -> | -> | ||
| Line 100: | Line 67: | ||
| </ | </ | ||
| + | ## if you use rsnapshot you have to add the commands commands below | ||
| + | ## if you use rsnapshot-backups the tool rsnapshot-backup-conf will handle those for you | ||
| Create a zfs dataset for a single backup: | Create a zfs dataset for a single backup: | ||
| < | < | ||
| - | zfs create < | + | zfs create < |
| # e.g. | # e.g. | ||
| - | zfs create zp-bak/ | + | zfs create zp-bak/ |
| </ | </ | ||
| Line 129: | Line 98: | ||
| * What's the deal with ''' | * What's the deal with ''' | ||
| * Why is the .zfs subdir hidden (''' | * Why is the .zfs subdir hidden (''' | ||
| + | * Where can I download rsnapshot-zfs-helper? | ||
project/rsnapshot-zfs-helper.1519133629.txt.gz · Last modified: 2018/02/20 14:33 by 92.75.65.74