Duply: Unterschied zwischen den Versionen

Aus Foxwiki
Wechseln zu:Navigation, Suche
 
Zeile 88: Zeile 88:
  └── man1
  └── man1
  └── duply.1.gz
  └── duply.1.gz
== Aufruf ==
=== Argumente ===
=== Optionen ===
{| class="table table-striped table-hover col1bold col1nowrap"
|-
! 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="table table-striped table-hover sortable col1bold col1nowrap"
|-
! 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 ==
== Anhang ==

Aktuelle Version vom 21. September 2026, 14:30 Uhr

duply - Inkrementelle verschlüsselte Backups

Beschreibung

Frontend für duplicity

Vereinfacht die Ausführung von Duplicity

  • Verwendung von duplicity vereinfachen
  • Einstellungen in Profilen verwalten
  • Alle duplicity-Backends werden unterstützt
  • Stapelverarbeitung
    • Ausführung von mehreren Befehlen als Stapelverarbeitung
    • Damit sind einzeilige cron-Einträge möglich
    • der Benutzer kann Skripte verwenden, die vor oder nach dem Backup ausgeführt werden
  • 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
└── share
├── doc
│   └── duply
│       ├── changelog.Debian.gz
│       ├── changelog.gz
│       ├── copyright
│       ├── README
│       ├── README.Debian
│       ├── systemd-unit.examples
│       │   ├── HOWTO.txt
│       │   ├── system
│       │   │   ├── duply-backup@.service
│       │   │   ├── duply-backup@.timer
│       │   │   ├── duply-cleanup@.service
│       │   │   ├── duply-cleanup@.timer
│       │   │   ├── duply-verify@.service
│       │   │   ├── duply-verify@.timer
│       │   │   └── notify-failed-backup@.service
│       │   └── user
│       │       ├── duply-backup@.service
│       │       ├── duply-backup@.timer
│       │       ├── duply-cleanup@.service
│       │       ├── duply-cleanup@.timer
│       │       ├── duply-verify@.service
│       │       ├── duply-verify@.timer
│       │       └── notify-failed-backup@.service
│       └── TODO
└── man
└── man1
└── duply.1.gz

Anhang

Siehe auch


Dokumentation

Projekt

  1. https://www.thomas-krenn.com/de/wiki/Backup_unter_Linux_mit_duply
  2. https://wiki.archlinux.org/index.php/Duply#Configuration
  3. https://www.gnupg.org/howtos/de/GnuPGMiniHowto.html
  4. duply.net