Backup with Borg
Notes:
You have to be aware that each file is saved exactly once. Should a file be damaged by a disk failure, for example, this file will be corrupted in all following backups. Therefore, it is best practice to store very important data in more than one repository!
非常重要的数据,要多地备份(two remote one local)
Storage service providers(1TB = 1000GB):
- Rsync(special Borg-only backup product) $96/TB/year
- BorgBase - Simple and Secure Offsite Backups $80/TB/year
- Hetzner storage box $48/TB/year
But BorgBase offer a free space(10GB) to try.
Use Borgmatic to
File compression is optional and supports multiple algorithms (zstd is recommended) and intensities.
Archives created with Borg can be mounted as FUSE filesystems for browsing and restoring individual files.
Archives can be created locally, or on remote systems using SSHFS, NFS, Samba, or similar mounting solutions. Transfer over SSH is supported, but the remote host must have Borg available.
Hetzner Storage Box
- https://community.hetzner.com/tutorials/install-and-configure-borgbackup
- https://borgbackup.readthedocs.io/en/stable/quickstart.html
- https://borgbackup.readthedocs.io/en/stable/usage/general.html
- https://borgbackup.readthedocs.io/en/stable/usage/extract.html
- https://docs.hetzner.com/storage/storage-box/backup-space-ssh-keys/
- https://docs.hetzner.com/storage/storage-box/access/access-ssh-rsync-borg/
Refer
- Borg docs: https://borgbackup.readthedocs.io/en/stable/index.html
- Borgmatic official site: https://torsion.org/borgmatic/
- https://community.hetzner.com/tutorials/install-and-configure-borgbackup
- https://www.stavros.io/posts/holy-grail-backups/
- Borg backup - ArchWiki
- Borgmatic - ArchWiki
- https://gainanov.pro/eng-blog/linux/database-backup-with-borg/
- https://docs.borgbase.com/setup/borg/databases
- https://torsion.org/borgmatic/docs/how-to/backup-your-databases/