BorgBackup (Debian): Unterschied zwischen den Versionen

Aus MattWiki
Keine Bearbeitungszusammenfassung
Zeile 6: Zeile 6:
  # apt-get install borgbackup -t jessie-backports
  # apt-get install borgbackup -t jessie-backports


== Kommandozeilenbefehle ==
== Backuprepository initiieren ==
Zunächst muss ein Repository initiiert werden, z. B. auf der lokalen Maschine
 
Initiierung eines Repository auf einer entfernten Maschine
 
== Informationen über Backupinhalte ==
  borg list ARCHIVE-OR-REPOSITORY                # list contents of archive or repository
  borg list ARCHIVE-OR-REPOSITORY                # list contents of archive or repository
borg info REPO::ARCHIVE                        # Show details for ARCHIVE such as time and size
== Backup wiederherstellen ==
  borg extract --info REPO::ARCHIVE              # extract ARCHIVE to current directory with debug level info / verbose (-v)  
  borg extract --info REPO::ARCHIVE              # extract ARCHIVE to current directory with debug level info / verbose (-v)  
  borg extract --list -n REPO::ARCHIVE          # dry-run ARCHIVE to current directory with verbose list  
  borg extract --list -n REPO::ARCHIVE          # dry-run ARCHIVE to current directory with verbose list  
  borg extract --list --dry-run REPO::ARCHIVE    # dry-run with verbose list  
  borg extract --list --dry-run REPO::ARCHIVE    # dry-run with verbose list  
  borg extract --list REPO::ARCHIVE              # extract ARCHIVE to current directory with verbose list
  borg extract --list REPO::ARCHIVE              # extract ARCHIVE to current directory with verbose list
borg info REPO::ARCHIVE                        # Show details for ARCHIVE such as time and size
.
[[Kategorie:Linux]]
[[Kategorie:Linux]]
[[Kategorie:Terminal]]
[[Kategorie:Terminal]]

Version vom 16. September 2017, 16:03 Uhr

Quelle: https://borgbackup.readthedocs.io/en/stable/

Installation

Für Debian 8.0 Jessie gibt es im Backports-Repository aktuelle Pakete:

# apt-get install borgbackup -t jessie-backports

Backuprepository initiieren

Zunächst muss ein Repository initiiert werden, z. B. auf der lokalen Maschine

Initiierung eines Repository auf einer entfernten Maschine

Informationen über Backupinhalte

borg list ARCHIVE-OR-REPOSITORY                # list contents of archive or repository
borg info REPO::ARCHIVE                        # Show details for ARCHIVE such as time and size

Backup wiederherstellen

borg extract --info REPO::ARCHIVE              # extract ARCHIVE to current directory with debug level info / verbose (-v) 
borg extract --list -n REPO::ARCHIVE           # dry-run ARCHIVE to current directory with verbose list 
borg extract --list --dry-run REPO::ARCHIVE    # dry-run with verbose list 
borg extract --list REPO::ARCHIVE              # extract ARCHIVE to current directory with verbose list

.