mirror of https://github.com/digint/btrbk
documentation: added example for a local time-machine setup
parent
76e512117c
commit
920b7821ce
18
README.md
18
README.md
|
@ -190,6 +190,24 @@ This will pull backups from alpha/beta.mydomain.com and locally create:
|
||||||
- `/mnt/btr_backup/beta/dbdata.YYYYMMDD`
|
- `/mnt/btr_backup/beta/dbdata.YYYYMMDD`
|
||||||
|
|
||||||
|
|
||||||
|
Example: local time-machine (daily snapshots)
|
||||||
|
---------------------------------------------
|
||||||
|
|
||||||
|
If all you want is a local time-machine of your home directory:
|
||||||
|
|
||||||
|
/etc/btrbk/btrbk-timemachine.conf:
|
||||||
|
|
||||||
|
volume /mnt/btr_pool
|
||||||
|
subvolume home
|
||||||
|
snapshot_dir btrbk_snapshots
|
||||||
|
snapshot_create_always yes
|
||||||
|
|
||||||
|
/etc/cron.daily/btrbk:
|
||||||
|
|
||||||
|
#!/bin/bash
|
||||||
|
/usr/sbin/btrbk -c /etc/btrbk/btrbk-timemachine.conf run
|
||||||
|
|
||||||
|
|
||||||
Setting up SSH
|
Setting up SSH
|
||||||
==============
|
==============
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue