Benutzer-Werkzeuge

Webseiten-Werkzeuge


content:serverbasics:docker-backup

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige ÜberarbeitungVorherige Überarbeitung
content:serverbasics:docker-backup [2026/09/02 17:35] – [Restore and UserIDs in the Borg-Backups] obel1xcontent:serverbasics:docker-backup [2026/09/02 17:38] (aktuell) – [Restore and UserIDs in the Borg-Backups] obel1x
Zeile 130: Zeile 130:
  
 After that, edit the ''.env'' to fit your needs. Use your restore destinations volume as BORG_RESTORE. After that, edit the ''.env'' to fit your needs. Use your restore destinations volume as BORG_RESTORE.
 +
 +Attention, there seems to be some wrong documentations here in the repo. Use the restore as this:
 +
 +''docker compose -f docker-compose.yml -f docker-compose.restore.yml run borgmaticrestore''
 +
 +And in the Container, do:
 +
 +<code>
 +# mount a specific archive (or the whole repo to browse all archives)
 +mkdir -p /tmp/restore
 +borg mount /mnt/borg-repository::archive-name /tmp/restore
 +
 +# copy files back to their original location or inspect them
 +cp -a /tmp/restore/path/to/file /mnt/restore/original/path/
 +
 +# unmount and exit when done
 +borg umount /tmp/restore
 +exit
 +
 +</code>
  
  
content/serverbasics/docker-backup.txt · Zuletzt geändert: von obel1x

Falls nicht anders bezeichnet, ist der Inhalt dieses Wikis unter der folgenden Lizenz veröffentlicht: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki