Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
selfhost:backup [2024/03/22 08:38] – willy | selfhost:backup [2025/03/13 09:29] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 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' | + | 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 |
- | 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 " | ||
emerge restic | emerge restic | ||
</ | </ | ||
- | === Usage === | + | After installing Restic (the CLI) you might want to install also Backrest, a nice web GUI for Restic. Refer to [[services: |
+ | |||
+ | |||
+ | === Usage (web GUI ) === | ||
+ | |||
+ | To use [[services: | ||
+ | |||
+ | === Usage (CLI)=== | ||
+ | |||
+ | The following commands are always valid, specially if your Backrest is not operational. | ||
Create new storage repository with: | Create new storage repository with: | ||
Line 81: | Line 92: | ||
</ | </ | ||
There you go. You need the stored password to automate the backup. | There you go. You need the stored password to automate the backup. | ||
+ | |||
Line 86: | 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 | + | * Your phone might fall into water a few minutes after taking that lifechanging |
* 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 |