From 920b7821ce9c5765c9b62f247d719b012b029739 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Fri, 27 Mar 2015 00:34:32 +0100 Subject: [PATCH] documentation: added example for a local time-machine setup --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 3b86ecf..edbc0d4 100644 --- a/README.md +++ b/README.md @@ -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 ==============