Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iml-backup
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
iml-backup
Commits
cd7d9b74
Commit
cd7d9b74
authored
3 years ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
update transfer dist file
parent
39a1ebaa
No related branches found
No related tags found
1 merge request
!2
Version 2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
jobs/transfer.job.dist
+78
-38
78 additions, 38 deletions
jobs/transfer.job.dist
with
78 additions
and
38 deletions
jobs/transfer.job.dist
+
78
−
38
View file @
cd7d9b74
...
...
@@ -12,63 +12,103 @@
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
# general settings
# ----------------------------------------------------------------------
# encrypt backup sets with gnupg password
gnupg-passphrase = EnterYourSecretHere
# ......................................................................
# backend:
# ......................................................................
#
# ===== Duplicity:
#
# file based / Samba share
# storage = file:///some/where
#
# ssh connection:
# storage = rsync://bacup@storage.example.com//netshare/backup
# if rsync does not work try scp (is slower)
# storage = scp://backup@storage.example.com//netshare/backup
#
# ===== Restic
# DOCS: https://restic.readthedocs.io/
#
# ssh connection:
# storage = sftp://backup@storage.example.com//netshare/backup
#
# https connection (requires a Http Rest server - i.e. Restic Http or Rclone http server)
# storage = rest:https://user:pass@host:8000/my_backup_repo/
#
#
#
# ===== for scp/ sftp/ rsync transfer you need to add an ssh private key
# ssh-privatekey = /opt/imlbackup/client/keys/id_imlbackup@storage-connector.iml.unibe.ch
#
# HINT: if using scp:// on Debian 8 enable ssh-backend; default: no value
# duplicity_ssh-backend = pexpect
# time to keep backup sets on storage
# M - monthes
# Y - years
keep = 3M
# volume size on backup target
volsize = 350
# ----------------------------------------------------------------------
# BASIC settings
# ----------------------------------------------------------------------
# use another cache directory than ~/.cache/duplicity/
cachedir =
# what tool to use? one of duplicity|restic ... see plugins/transfer/*.sh
bin = restic
# bin = duplicity
# ----------------------------------------------------------------------
# encrypt backup sets with a password
# remark: "gnupg-passphrase = ..." is deprecated
passphrase = EnterYourSecretHere
# automatic backup of samba shares
# if set to 1 and a local smb.conf is detected each share will be backupped
sambashares = 1
# ----------------------------------------------------------------------
# automatic backup of samba shares (only if samba shares were detected)
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
#
# DUPLICITY
# values without prefix "duplicity_" are deprecated
#
# ----------------------------------------------------------------------
# target directory where to store the backups
# It is a base url for duplicity (behind it the hostname will be added)
# for fallback on Debian 8:
# ssh-backend = pexpect
# duplicity_ssh-backend =
# time to keep backup sets on storage
# M - monthes
# Y - years
# keep = 6M
duplicity_keep = 6M
# volume size on backup target im MB
# volsize = 350
duplicity_volsize = 350
# use another cache directory than ~/.cache/duplicity/
# cachedir =
duplicity_cachedir =
# ----------------------------------------------------------------------
#
# example I:
# use the local filesystem or (already) mounted device
#
# storage = file:///run/media/username/nas
# RESTIC
#
# example II:
# use local filesystem or mounted device
# storage = scp://imlbackup@lithium.iml.unibe.ch//netshare/backup/one
# ----------------------------------------------------------------------
# for file:// targets - you can add a test file that must be found
# to detect that a backup volume is mounted
# storage-file = /run/media/username/nas/I_am_mounted.txt
# use another cache directory than /root/.cache/restic
restic_cachedir =
# ssh-privatekey = /opt/imlbackup/client/keys/id_rsa_4_backupserver
ssh-privatekey =
restic_verbose = 2
restic_tag = imlbackup
# for fallback on Debian 8:
# ssh-backend = pexpect
ssh-backend =
restic_mountpoint = /mnt/restore
# prune
restic_keep-hourly = 100
restic_keep-daily = 90
restic_keep-weekly = 12
restic_keep-monthly = 12
restic_keep-yearly = 10
# ----------------------------------------------------------------------
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment