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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
iml-backup
Merge requests
!28
Eliminate scheduler
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Eliminate scheduler
eliminate-scheduler
into
master
Overview
0
Commits
2
Pipelines
0
Changes
3
Merged
Eliminate scheduler
Hahn Axel (hahn)
requested to merge
eliminate-scheduler
into
master
Jan 26, 2022
Overview
0
Commits
2
Pipelines
0
Changes
3
0
0
Merge request reports
Viewing commit
3e2a7949
Prev
Next
Show latest version
3 files
+
136
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
3e2a7949
update docs
· 3e2a7949
Hahn Axel (hahn)
authored
Jan 26, 2022
docs/30_Configuration/20_Filetransfer.md
+
84
−
0
View file @ 3e2a7949
Edit in single-file editor
Open in Web IDE
The file transfer describes how local directories will be backed up
*
choose backup tool
*
where to write data (backup target)
*
incremental or full backup
*
how to delete backup data
Details to the the given config entries you find in the description for
[
transfer.job
](
50_File_transfer.job.md
)
.
## Backup tool ##
You can decide between Restic (Default) and Duplicity.
`bin = ...`
```
text
bin = restic
type = auto
```
If you use Duplicity for servers it is suggested to run (daily) incremental
backups and full backups on a specific day.
```
text
bin = duplicity
type = inc
full = WDM:3rd Fri
start-time-full = 23:0.
```
If you use Duplicity on a desktop client you maybe want to run incremental backups
and a full backup if the last one is older than a wanted time.
```
text
bin = duplicity
type = auto
auto = 1M
```
## Backup target ##
The definition of a backup target depends on the used backup tool (restic|duplicity).
You need a bit knowledge about these tools.
We have tested the following targets
*
local directory/ mounted filesystem i.e. Samba share
*
Restic:
`/mnt/mounted_directory`
*
Duplicity:
`file:///mnt/mounted_directory`
*
ssh target (scp or rsync)
*
Restic:
`sftp:imlbackup@backup-target.example.com:/mnt/backupdata`
*
Duplicity:
`rsync://imlbackup@backup-target.example.com//mnt/backupdata`
*
Duplicity:
`scp://imlbackup@backup-target.example.com//mnt/backupdata`
*
https
*
Restic:
`rest:https://user:pass@backup-target.example.com:8000/user/`
Set your value in
`storage = ...`
Example for Restic with SFTP transfer
`storage = sftp:imlbackup@backup-target.example.com:/mnt/backupdata`
## Local encryption ##
Restic an Duplicity encrypt local data with a password before transferring them.
Deploy a host specific password with an orchestration tool (Ansible, Puppet, ...)
or on a manual installation keep a copy of it on a safe place. Without the password
you cannot decrypt backup data after a filesystem crash.
`passphrase = EnterYourSecretHere`
## More options ##
Automatic backup of samba shares - it works only if samba shares were detected.
If no samba config is available it has no effect and shows no error.
`sambashares = 1`
When restoring data ... this is the path for restored files:
`restore-path = /restore`
Loading