aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-05-24 08:21:26 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-05-24 08:21:26 -0300
commit326b7fe8c35cd567622fa187025e5dfb83d15d4c (patch)
tree3e1ffc78ca1e61e0ba4b41921491227c0e4213cd /README.md
parentcc6feac775f15a091800a36a131d90fcaa25713d (diff)
downloadborger-326b7fe8c35cd567622fa187025e5dfb83d15d4c.tar.gz
borger-326b7fe8c35cd567622fa187025e5dfb83d15d4c.tar.bz2
Continuous backups, variable changes to uppercase, docs update
Diffstat (limited to 'README.md')
-rw-r--r--README.md37
1 files changed, 23 insertions, 14 deletions
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