User Tools

Site Tools


wiki:borgbackup_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:borgbackup_commands [2020/12/01 17:38] – change heading antisawiki:borgbackup_commands [2022/02/07 10:38] (current) – [See also] add borg backup script antisa
Line 1: Line 1:
-{{tag>[backup]}}+{{tag>backup borg}}
  
 ====== Borg backup commands ====== ====== Borg backup commands ======
 +===== Init repo =====
 +
 +On (Synology 415) NAS share :
 +  BORG_REPO=ssh://user@syn415.local:22/~/borg_backup && borg init --encryption=keyfile $BORG_REPO
 +  
 ===== List backups ===== ===== List backups =====
   BORG_REPO="/path/to/backup" borg list   BORG_REPO="/path/to/backup" borg list
Line 9: Line 14:
  
   BORG_REPO="/path/to/backup::backup_name" && mkdir /tmp/borg && borg mount $BORG_REPO /tmp/borg   BORG_REPO="/path/to/backup::backup_name" && mkdir /tmp/borg && borg mount $BORG_REPO /tmp/borg
 +
 +Unmount with:
 +  borg umount /tmp/borg
  
 ====== Tested on ====== ====== Tested on ======
Line 14: Line 22:
  
 ====== See also ====== ====== See also ======
 +  * [[Run borgbackup each day]]
 +  * [[:kde_neon_setup#borg_backup|borg backup script]]
 +
  
 ====== References ====== ====== References ======
   * https://borgbackup.readthedocs.io/en/stable/   * https://borgbackup.readthedocs.io/en/stable/
wiki/borgbackup_commands.1606840730.txt.gz · Last modified: 2020/12/01 17:38 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki