User Tools

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
selfhost:backup [2024/03/22 14:15] willyselfhost:backup [2025/03/13 09:29] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Backup ======+====== E) Backup ======
  
 Doing backups for your data is, how to day, **critical**! But you need to answer a few questions first: Doing backups for your data is, how to day, **critical**! But you need to answer a few questions first:
Line 31: Line 31:
 ===== Where to store my backups? ===== ===== Where to store my backups? =====
  
-Don'store them on the server. I have OpenWRT WiFi Access Points with a USB plug, so i connected a big enough SSD over USB and that's my first backup destination. I have mounted that filesystem via NFS on the server so it's easy and simple.+You can store them on the server, but this **must not** be the only backup you do. I have OpenWRT WiFi Access Points with a USB plug, so i connected a big enough 2.5' hard drive over USB and that's my second backup destination. It is accessible via SFTP from the serverso it's easy to access.
  
-You will also need a second, off-site backup storage: some cloud system (like gdrive or dropbox) might work, but using your external server could even be a better idea. After all, you already pay for it and 99% of it's storage space is probably wasted anyway.+You will also need a third, off-site backup storage: some cloud system (like gdrive or dropbox) might work, but using your external server could even be a better idea. After all, you already pay for it and 99% of it's storage space is probably wasted anyway.
  
 Of course, if you have your in-laws with good internet connection you might plug a usb-drive there too and use that as well... More the better...  Of course, if you have your in-laws with good internet connection you might plug a usb-drive there too and use that as well... More the better... 
Line 52: Line 52:
 === Installation === === Installation ===
  
 +Unmask the latest release and emerge it:
 <code bash> <code bash>
 +echo "app-backup/restic ~amd64" >> /etc/portage/package.accept_keywords/restic
 emerge restic emerge restic
 </code> </code>
Line 61: Line 63:
 === Usage (web GUI ) === === Usage (web GUI ) ===
  
-To use Backrest you can refer to it's [[https://github.com/garethgeorge/backrest/wiki|Wiki]] pages.+To use [[services:backrest|Backrest]] you can refer to it's [[https://garethgeorge.github.io/backrest/|Wiki]] pages.
  
 === Usage (CLI)=== === Usage (CLI)===
Line 96: Line 98:
  
 Backups for your phones and tablets is a different matter because you want it fast and effective: Backups for your phones and tablets is a different matter because you want it fast and effective:
-  * Your phone might fall into water a few minutes after taking that lifechaning picture+  * Your phone might fall into water a few minutes after taking that lifechanging picture
   * Your phone might get stolen at any time   * Your phone might get stolen at any time
   * Your phone might have limited bandwidth and/or data caps most of the time you are not home   * Your phone might have limited bandwidth and/or data caps most of the time you are not home