BorgBackup (Debian)

Aus MattWiki

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

.