mirror of https://github.com/digint/btrbk
Merge b9a7baf86f
into 401b4ac45c
commit
c3da66ae3e
|
@ -173,11 +173,12 @@ Retention policy:
|
||||||
target send-receive /mnt/btr_backup/mylaptop
|
target send-receive /mnt/btr_backup/mylaptop
|
||||||
|
|
||||||
|
|
||||||
/etc/cron.daily/btrbk:
|
/etc/cron.d/btrbk:
|
||||||
|
|
||||||
#!/bin/sh
|
SHELL=/bin/sh
|
||||||
exec /usr/sbin/btrbk -q -c /etc/btrbk/btrbk-mylaptop.conf run
|
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
||||||
|
|
||||||
|
0 */1 * * * root exec /usr/sbin/btrbk -q -c /etc/btrbk/btrbk-mylaptop.conf run
|
||||||
|
|
||||||
* This will create snapshots on a daily basis:
|
* This will create snapshots on a daily basis:
|
||||||
* `/mnt/btr_pool/btrbk_snapshots/rootfs.YYYYMMDD`
|
* `/mnt/btr_pool/btrbk_snapshots/rootfs.YYYYMMDD`
|
||||||
|
|
Loading…
Reference in New Issue