Skip to content

Commit

Permalink
Refine the documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Kundert authored and Ken Kundert committed Sep 23, 2019
1 parent 52e4b6f commit 4e25950
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions doc/configuring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ following::
# prog_name config_name, or any of the user specified settings.
# Double up the braces to specify parameters that should be interpreted
# by borg rather than by emborg.
exclude_caches = True # do not backup cache directories
exclude_if_present = '.no-backup' # do not backup directories containing this file
exclude_caches = True # do not backup directories that contain CACHEDIR.TAG
exclude_if_present = '.nobackup' # do not backup directories containing this file
keep_within = '1d' # keep all archives within this time interval
keep_hourly = '48' # number of hourly archives to keep
keep_daily = '7' # number of daily archives to keep
Expand Down
9 changes: 5 additions & 4 deletions doc/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,8 @@ And here is the contents of the *root* configuration file: /root/.config/emborg/
src_dirs = '/'.split() # absolute path to directory to be backed up
excludes = '''
/dev
/home/*/.cache
/mnt
/proc
/root/.cache
/run
/sys
/tmp
Expand Down Expand Up @@ -120,8 +118,11 @@ Here is the contents of the settings file: /root/.config/emborg/settings::
exclude_if_present = '.nobackup'
exclude_caches = True

And here is the contents of the *home* configuration file:
~/.config/emborg/home::

Home
^^^^

Here is the contents of the *home* configuration file: ~/.config/emborg/home::

repository = 'backups:/mnt/borg-backups/repositories/{host_name}-{user_name}-{config_name}'
encryption = 'keyfile'
Expand Down

0 comments on commit 4e25950

Please sign in to comment.