From 8a14583c8270c56d8227e6b0710dc0ecd3fef4ac Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch> Date: Fri, 30 Aug 2019 17:26:42 +0200 Subject: [PATCH] updated readme; reorder transfer.job.dist --- README.md | 16 +++++++++++++ jobs/transfer.job.dist | 52 +++++++++++++++++++++++++++--------------- 2 files changed, 49 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 852edd8..804c7c8 100644 --- a/README.md +++ b/README.md @@ -168,3 +168,19 @@ Missing directories on a system will be ignored and does NOT throw an error. So Multiple entries are allowed. Each defines a regex that is applied to all include items. This could have an negative impact. I suggest not to define an exclude - only if it is needed because of huge wasted space. TODO: advanced stuff ... There is a possibility for directory based include and exclude rules. + +### Setup the target ### + +### test transfer to staorage ### + +## Production usage ## + +### setup backup times ### + +### Create a cronjob ### + +### Monitoring ### + +### Restore files ### + +### Restore databases ### diff --git a/jobs/transfer.job.dist b/jobs/transfer.job.dist index 97b3dfa..0b0bf56 100644 --- a/jobs/transfer.job.dist +++ b/jobs/transfer.job.dist @@ -12,9 +12,41 @@ # ---------------------------------------------------------------------- -# encrypt backup sets with gnupg +# ---------------------------------------------------------------------- +# general settings +# ---------------------------------------------------------------------- + +# encrypt backup sets with gnupg password gnupg-passphrase = EnterYourSecretHere +# time to keep backup sets on storage +# M - monthes +# Y - years +keep = 3M + +# volume size on backup target +volsize = 350 + +# use another cache directory than ~/.cache/duplicity/ +cachedir = + +# ---------------------------------------------------------------------- + +# automatic backup of samba shares +# if set to 1 and a local smb.conf is detected each share will be backupped +sambashares = 1 + +# ---------------------------------------------------------------------- + +# target directory for restore (duplicity does not overwrite any existing file) +# you need to copy files from here to the needed place +restore-path = /restore + + +# ---------------------------------------------------------------------- +# backup target url +# ---------------------------------------------------------------------- + # target directory where to store the backups # It is a base url for duplicity (behind it the hostname will be added) # @@ -34,23 +66,5 @@ ssh-privatekey = # ssh-backend = pexpect ssh-backend = -# time to keep backup sets on storage -# M - monthes -# Y - years -keep = 3M - -# volume size on backup target -volsize = 350 - -# use another cache directory than ~/.cache/duplicity/ -cachedir = - -# automatic backup of samba shares -# if set to 1 and a local smb.conf is detected each share will be backupped -sambashares = 1 - -# target directory for restore (duplicity does not overwrite any existing file) -# you need to copy files from here to the needed place -restore-path = /restore # ---------------------------------------------------------------------- -- GitLab