documentation: added example for a local time-machine setup

pull/30/head
Axel Burri 2015-03-27 00:34:32 +01:00
parent 76e512117c
commit 920b7821ce
1 changed files with 18 additions and 0 deletions

View File

@ -190,6 +190,24 @@ This will pull backups from alpha/beta.mydomain.com and locally create:
- `/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
==============