Duply: Unterschied zwischen den Versionen
Erscheinungsbild
Die Seite wurde neu angelegt: „= duply = * Duply arbeitet dabei als Frontend zu Duplicitiy * Duply ist ein Python Script zur Erstellung von inkrementellen symmetrisch verschlüsselten Backu…“ |
Keine Bearbeitungszusammenfassung |
||
(422 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
'''duply''' - [[Inkrementell]]e [[verschlüsselt]]e [[Backup]]s | |||
* | == Beschreibung == | ||
* | ; Frontend für [[duplicity]] | ||
* | Shell-Frontend für [[duplicity]] | ||
* | * Verwendung vereinfachen | ||
* Einstellungen in Profilen verwalten | |||
* Stapelverarbeitung | |||
** Es unterstützt die Ausführung von mehreren Befehlen als Stapelverarbeitung | |||
** Damit sind einzeilige cron-Einträge möglich und der Benutzer kann Skripte verwenden, die vor oder nach dem Backup ausgeführt werden | |||
* Alle duplicity-Backends werden unterstützt | |||
; Vereinfacht die Ausführung von Duplicity | |||
Frontend für [[duplicity]] | |||
* Backups können lokal oder einem anderen System gespeichert werden | |||
* Cron oder Kommandozeile | |||
* Speichert Einstellungen in Profilen | |||
* Batch-Operationen | |||
*: ermöglicht, beispielsweise backup_verify+purge | |||
* Ausführung von Pre-/Post-Skripten | |||
* verschiedene Aktionen möglich, abhängig vom vorherigen oder nächsten Befehl oder dessen Rückgabewert | |||
* Vorbedingungsprüfung für fehlerfreie Duplizitätsoperationen | |||
Für jeden Sicherungsauftrag wird ein Konfigurationsprofil erstellt | |||
== | ; Profilordner | ||
<syntaxhighlight lang="bash" highlight="1" line> | |||
~/.duply/<profile> | |||
</syntaxhighlight> | |||
; Hinweis | |||
: Wenn der Ordner '/etc/duply' existiert, werden die Profile für den Superuser Benutzer root dort gesucht und erstellt werden | |||
; Protokolle | |||
{| class="wikitable options big" | |||
! Protokoll !! Beschreibung | |||
|- | |||
| [[ftp]] || | |||
|- | |||
| [[ssh]] || | |||
|- | |||
| [[s3]] || | |||
|- | |||
| [[rsync]] || | |||
|- | |||
| [[cifs]] || | |||
|- | |||
| [[webdav]] || | |||
|- | |||
| [[http]] || | |||
|} | |||
== | == Installation == | ||
<syntaxhighlight lang="bash" highlight="1" line> | |||
sudo apt install duply | |||
</syntaxhighlight> | |||
=== Dateien === | |||
; /usr/bin/ | |||
duply | |||
; /usr/share | |||
/doc/duply/ | |||
README | |||
README.Debian | |||
TODO | |||
changelog.Debian.gz | |||
changelog.gz | |||
copyright | |||
systemd-unit.examples | |||
HOWTO.txt | |||
systemd-unit.examples/system/ | |||
duply-backup@.service | |||
duply-backup@.timer | |||
duply-cleanup@.service | |||
duply-cleanup@.timer | |||
duply-verify@.service | |||
duply-verify@.timer | |||
notify-failed-backup@.service | |||
systemd-unit.examples/user/ | |||
duply-backup@.service | |||
duply-backup@.timer | |||
duply-cleanup@.service | |||
duply-cleanup@.timer | |||
duply-verify@.service | |||
duply-verify@.timer | |||
notify-failed-backup@.service | |||
man/man1/ | |||
duply.1.gz | |||
== Aufruf == | |||
=== Argumente === | |||
=== Optionen === | |||
{| class="wikitable options" | |||
|- | |||
! Option !! Beschreibung | |||
|- | |||
| --force || passed to duplicity (see commands purge, purgeFull, purgeIncr, cleanup) | |||
|- | |||
| --preview || do nothing but print out generated duplicity command lines | |||
|- | |||
| --disable-encryption || disable encryption, overrides profile settings | |||
|} | |||
=== Kommandos === | |||
{| class="wikitable sortable options" | |||
|- | |||
! Option !! Parameter ||Beschreibung | |||
|- | |||
| usage || || get usage help text | |||
|- | |||
| and/or/groupIn/groupOut || || pseudo commands used in batches (see SEPARATORS above) | |||
|- | |||
| create || || creates a configuration profile | |||
|- | |||
| backup || || backup with pre/post script execution (batch: [pre_bkp_post]), full (if full_if_older matches or no earlier backup is found) incremental (in all other cases) | |||
|- | |||
| pre/post || ||execute '<profile>/pre', '<profile>/post' scripts | |||
|- | |||
| bkp || || as above but without executing pre/post scripts | |||
|- | |||
| full || ||force full backup | |||
|- | |||
| incr || || force incremental backup | |||
|- | |||
| list || [<age>] || list all files in backup (as it was at <age>, default: now) | |||
|- | |||
| status || || prints backup sets and chains currently in repository | |||
|- | |||
| verify || [<age>] [--compare-data] || list files changed, since age if given | |||
|- | |||
| verifyPath || <rel_path_in_bkp> <local_path> [<age>] [--compare-data] || list changes of a file or folder path in backup compared to a local path, since age if given | |||
|- | |||
| restore || <target_path> [<age>] || restore the complete backup to <target_path> [as it was at <age>] | |||
|- | |||
| fetch || <src_path> <target_path> [<age>] || fetch single file/folder from backup [as it was at <age>] | |||
|- | |||
| purge || [<max_age>] [--force] || list outdated backup files (older than $MAX_AGE) [use --force to actually delete these files] | |||
|- | |||
| purgeFull || [<max_full_backups>] [--force] || list outdated backup files ($MAX_FULL_BACKUPS being the number of full backups and associated incrementals to keep, counting in reverse chronological order) [use --force to actually delete these files] | |||
|- | |||
| purgeIncr || [<max_fulls_with_incrs>] [--force] || list outdated incremental backups ($MAX_FULLS_WITH_INCRS being the number of full backups which associated incrementals will be kept, counting in reverse chronological order) [use --force to actually delete these files] | |||
|- | |||
| purgeAuto || [--force] || convenience batch wrapper for all purge commands above | |||
* purge, purgeFull, purgeIncr are added if their conf vars were set | |||
* e.g | |||
MAX_AGE=1Y | |||
MAX_FULL_BACKUPS=6 | |||
MAX_FULLS_WITH_INCR=3 | |||
in profile conf file would result in | |||
[purge_purgeFull_purgeIncr] | |||
|- | |||
| cleanup || [--force] || list broken backup chain files archives (e.g | |||
* after unfinished run) [use --force to actually delete these files] | |||
|- | |||
| changelog || || print changelog / todo list | |||
|- | |||
| txt2man || || feature for package maintainers - create a manpage based on the usage output | |||
* download txt2man from https://mvertes.free.fr/, put it in the PATH and run 'duply txt2man' to create a man page | |||
|- | |||
| version || || show version information of duply and needed programs | |||
|} | |||
=== Umgebung === | |||
=== Rückgabewert === | |||
<noinclude> | |||
== Anhang == | |||
=== Siehe auch === | |||
{{Special:PrefixIndex/{{BASEPAGENAME}}/}} | |||
---- | |||
* [[GnuPG]] | |||
* [[GnuPG-Agent]] | |||
* [[pinentry-curses]] | |||
* [[duplicity]] | |||
==== Sicherheit ==== | |||
=== Dokumentation === | |||
=== Links === | |||
==== Projekt ==== | |||
==== Weblinks ==== | |||
# [https://www.thomas-krenn.com/de/wiki/Backup_unter_Linux_mit_duply https://www.thomas-krenn.com/de/wiki/Backup_unter_Linux_mit_duply] | |||
# [https://wiki.archlinux.org/index.php/Duply#Configuration https://wiki.archlinux.org/index.php/Duply#Configuration] | |||
# [https://www.gnupg.org/howtos/de/GnuPGMiniHowto.html https://www.gnupg.org/howtos/de/GnuPGMiniHowto.html] | |||
# [https://duply.net/ duply.net] | |||
[[Kategorie:duply]] | |||
{{DISPLAYTITLE:duply}} | |||
</noinclude> | |||
[[Kategorie:Linux/Befehl]] |
Aktuelle Version vom 1. Mai 2025, 13:07 Uhr
duply - Inkrementelle verschlüsselte Backups
Beschreibung
- Frontend für duplicity
Shell-Frontend für duplicity
- Verwendung vereinfachen
- Einstellungen in Profilen verwalten
- Stapelverarbeitung
- Es unterstützt die Ausführung von mehreren Befehlen als Stapelverarbeitung
- Damit sind einzeilige cron-Einträge möglich und der Benutzer kann Skripte verwenden, die vor oder nach dem Backup ausgeführt werden
- Alle duplicity-Backends werden unterstützt
- Vereinfacht die Ausführung von Duplicity
Frontend für duplicity
- Backups können lokal oder einem anderen System gespeichert werden
- Cron oder Kommandozeile
- Speichert Einstellungen in Profilen
- Batch-Operationen
- ermöglicht, beispielsweise backup_verify+purge
- Ausführung von Pre-/Post-Skripten
- verschiedene Aktionen möglich, abhängig vom vorherigen oder nächsten Befehl oder dessen Rückgabewert
- Vorbedingungsprüfung für fehlerfreie Duplizitätsoperationen
Für jeden Sicherungsauftrag wird ein Konfigurationsprofil erstellt
- Profilordner
~/.duply/<profile>
- Hinweis
- Wenn der Ordner '/etc/duply' existiert, werden die Profile für den Superuser Benutzer root dort gesucht und erstellt werden
- Protokolle
Protokoll | Beschreibung |
---|---|
ftp | |
ssh | |
s3 | |
rsync | |
cifs | |
webdav | |
http |
Installation
sudo apt install duply
Dateien
- /usr/bin/
duply
- /usr/share
/doc/duply/ README README.Debian TODO changelog.Debian.gz changelog.gz copyright systemd-unit.examples HOWTO.txt systemd-unit.examples/system/ duply-backup@.service duply-backup@.timer duply-cleanup@.service duply-cleanup@.timer duply-verify@.service duply-verify@.timer notify-failed-backup@.service systemd-unit.examples/user/ duply-backup@.service duply-backup@.timer duply-cleanup@.service duply-cleanup@.timer duply-verify@.service duply-verify@.timer notify-failed-backup@.service man/man1/ duply.1.gz
Aufruf
Argumente
Optionen
Option | Beschreibung |
---|---|
--force | passed to duplicity (see commands purge, purgeFull, purgeIncr, cleanup) |
--preview | do nothing but print out generated duplicity command lines |
--disable-encryption | disable encryption, overrides profile settings |
Kommandos
Option | Parameter | Beschreibung |
---|---|---|
usage | get usage help text | |
and/or/groupIn/groupOut | pseudo commands used in batches (see SEPARATORS above) | |
create | creates a configuration profile | |
backup | backup with pre/post script execution (batch: [pre_bkp_post]), full (if full_if_older matches or no earlier backup is found) incremental (in all other cases) | |
pre/post | execute '<profile>/pre', '<profile>/post' scripts | |
bkp | as above but without executing pre/post scripts | |
full | force full backup | |
incr | force incremental backup | |
list | [<age>] | list all files in backup (as it was at <age>, default: now) |
status | prints backup sets and chains currently in repository | |
verify | [<age>] [--compare-data] | list files changed, since age if given |
verifyPath | <rel_path_in_bkp> <local_path> [<age>] [--compare-data] | list changes of a file or folder path in backup compared to a local path, since age if given |
restore | <target_path> [<age>] | restore the complete backup to <target_path> [as it was at <age>] |
fetch | <src_path> <target_path> [<age>] | fetch single file/folder from backup [as it was at <age>] |
purge | [<max_age>] [--force] | list outdated backup files (older than $MAX_AGE) [use --force to actually delete these files] |
purgeFull | [<max_full_backups>] [--force] | list outdated backup files ($MAX_FULL_BACKUPS being the number of full backups and associated incrementals to keep, counting in reverse chronological order) [use --force to actually delete these files] |
purgeIncr | [<max_fulls_with_incrs>] [--force] | list outdated incremental backups ($MAX_FULLS_WITH_INCRS being the number of full backups which associated incrementals will be kept, counting in reverse chronological order) [use --force to actually delete these files] |
purgeAuto | [--force] | convenience batch wrapper for all purge commands above
MAX_AGE=1Y MAX_FULL_BACKUPS=6 MAX_FULLS_WITH_INCR=3 in profile conf file would result in [purge_purgeFull_purgeIncr] |
cleanup | [--force] | list broken backup chain files archives (e.g
|
changelog | print changelog / todo list | |
txt2man | feature for package maintainers - create a manpage based on the usage output
| |
version | show version information of duply and needed programs |