Skip to content
Snippets Groups Projects

Eliminate scheduler

3 files
+ 136
8
Compare changes
  • Side-by-side
  • Inline

Files

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