21 lines
719 B
Markdown
21 lines
719 B
Markdown
|
# bacoid
|
||
|
|
||
|
## Purpose
|
||
|
Sends incremental backups using syncoid and zfs config variables
|
||
|
|
||
|
## How to use
|
||
|
* Set target machine with `zfs set syncoid:target_a=user@backup.com:22 rpool`
|
||
|
* Set target pool with `zfs set syncoid:pool_a=bkppool rpool`
|
||
|
* Set current machine with `zfs set syncoid:machine=hal rpool`
|
||
|
|
||
|
Due to zfs setting these values recursively, bacoid will then go down the
|
||
|
pool and send whatever matches using the configured settings. In the last
|
||
|
example, this means that syncoid will send `rpool` and all of its children
|
||
|
to `user@backup.com:bkppool/user/hal/rpool`
|
||
|
|
||
|
If you want to certain children to be skipped, you can do the following:
|
||
|
* `zfs set syncoid:pool_a='' rpool/skip-me`
|
||
|
|
||
|
## Dependencies
|
||
|
* bash
|