From 326b7fe8c35cd567622fa187025e5dfb83d15d4c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 24 May 2018 08:21:26 -0300 Subject: Continuous backups, variable changes to uppercase, docs update --- README.md | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index c358987..a140605 100644 --- a/README.md +++ b/README.md @@ -24,13 +24,6 @@ Create a config for your `servername` destination at `~/.config/borger/servernam #export BORG_PASSPHRASE='HACKME' #export BORG_PASSCOMMAND='pass show backup' #export BORG_PASSCOMMAND='keyringer default decrypt borg 2> /dev/null' - - # Backup config - keepdaily="7" - keepweekly="4" - keepmonth="6" - encryption="keyfile" - placeholder="{user}" Then run borger: @@ -47,17 +40,33 @@ following config at `~/.config/borger/my-disk`: #export BORG_PASSCOMMAND='pass show backup' #export BORG_PASSCOMMAND='keyringer default decrypt borg 2> /dev/null' - # Backup config - keepdaily="7" - keepweekly="4" - keepmonth="6" - encryption="keyfile" - placeholder="{user}" - Then run borger normally: borger my-disk +# Optional config + +These include: + + # Optional backup config + export KEEPDAILY="7" # how many days to keep + export KEEPWEEKLY="4" # how many weeks to keep + export KEEPMONTHLY="6" # how many months to keep + export ENCRYPTION="keyfile" # encryption strategy, PAY ATTENTION TO THIS + export PLACEHOLDER="{user}" # placeholder to tag archives + export INTERVAL="1h" # interval between backups in the continuous mode + +# Continuous backups + +If you want to run your backups continuously, use + + borger servername --continuous + +By default `borger` waits `1h` before starting the new backup procedure which +can be adjusted using the `INTERVAL` config variable. See [this +issue](https://github.com/borgbackup/borg/issues/325) for a discussion on +continous backups. + # Checking your backups As simply as -- cgit v1.2.3