Backup: Difference between revisions
(→Other) |
(→Restic) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 34: | Line 34: | ||
=== Backblaze === |
=== Backblaze === |
||
An alternative to Crashplan. See [https://help.backblaze.com/hc/en-us/articles/115001518354-How-to-configure-Backblaze-B2-with-Duplicity-on-Linux Backblaze B2] for backup with duplicity. |
An alternative to Crashplan. See [https://help.backblaze.com/hc/en-us/articles/115001518354-How-to-configure-Backblaze-B2-with-Duplicity-on-Linux Backblaze B2] for backup with duplicity. See [https://kiramclean.com/blog/how-to-set-up-your-own-nextcloud-server/ this post] on how to setup B2 (here for a NextCloud server). |
||
=== Tarsnap === |
=== Tarsnap === |
||
Line 40: | Line 40: | ||
Advised by [https://hacker-tools.github.io/ MIT Hacker-tools]. |
Advised by [https://hacker-tools.github.io/ MIT Hacker-tools]. |
||
=== Hetzner === |
|||
[https://www.hetzner.com/storage/storage-box?PageSpeed=noscript Hetzner] offers cheap storage box: |
|||
* e.g. 1TB / 10€ / month |
|||
== Local backup software == |
== Local backup software == |
||
Line 112: | Line 116: | ||
* See https://blobbackup.com/. |
* See https://blobbackup.com/. |
||
* See [https://news.ycombinator.com/item?id=25180655 Hacker News comments]. |
* See [https://news.ycombinator.com/item?id=25180655 Hacker News comments]. |
||
=== Restic === |
|||
* A new software: https://github.com/restic/restic |
|||
* A detailed deployment: https://amontalenti.com/2024/06/19/backups-restic-rclone |
|||
* From this Hacker News link on Timeshift: https://news.ycombinator.com/item?id=41039967 |
|||
* Rustic: an alternative written in Rust: https://github.com/rustic-rs/rustic |
|||
=== Other === |
=== Other === |
||
Line 124: | Line 134: | ||
* [http://zbackup.org/ ZBackup] |
* [http://zbackup.org/ ZBackup] |
||
* [https://bitbucket.org/nikratio/s3ql/ S3QL] |
* [https://bitbucket.org/nikratio/s3ql/ S3QL] |
||
* Restic - Lot of praise coming from this [https://news.ycombinator.com/item?id=24526706 HN post], however [https://github.com/restic/restic/issues/1875 comment on github] says Restic is much slower and uses more resources on the server side. |
* Restic - Lot of praise coming from this [https://news.ycombinator.com/item?id=24526706 HN post], however [https://github.com/restic/restic/issues/1875 comment on github] and [https://stickleback.dk/borg-or-restic/ this Borg vs Restic comparison] says Restic is much slower and uses more resources on the server side. |
||
For Windows: |
For Windows: |
Latest revision as of 10:26, 1 October 2024
Summary
- Borg
- Fastest.
- Does not necessarily require server setup. Access repo via Samba.
- Would be more secure though via server access.
- Multi client is still experimental.
- Bup
- Fast but initial copy slower than Borg, incremental faster than Borg.
- Faster if access repo via server.
- Cannot purge easily.
- UrBackup
- Very nice front-end (web-based). Nicer than BackupPC.
- Fast, but slower than Borg/Bup.
- Ridiculously high number of files in repo, which makes it difficult to manage / stat.
- BackupPC
- Nice front-end.
- Require server access.
- Ridiculously high number of files in repo, which makes it difficult to manage / stat.
Online backup
rsync.net
- Use Borg as backup solution.
- Praised by several users.
- Start plan at $18/yr for 100GB storage (ie. 1.5 ct/GB/month).
CrashPlan
CrashPlan is one of the online backup solution recommended by LifeHacker.
- Family plan $150.00 / year for 2 to 10 PC.
- Available for Windows, Mac, Linux.
- Unlimited storage
Backblaze
An alternative to Crashplan. See Backblaze B2 for backup with duplicity. See this post on how to setup B2 (here for a NextCloud server).
Tarsnap
Tarsnap is a deduplicated, encrypted online backup service for the truly paranoid. It works on UNIX-like operating systems, and has backup plans starting from $0.25/GB-month.
Advised by MIT Hacker-tools.
Hetzner
Hetzner offers cheap storage box:
- e.g. 1TB / 10€ / month
Local backup software
List of backup software.
Attic
Maybe best to consider its fork instead: BorgBackup.
BackupPC
See BackupPC.
BorgBackup
See BorgBackup.
Borg is actually a fork of Attic.
- With interesting comments, config... Also mention cloud solution rsync.net with support for Borg/Attic and ZFS.
Bup
See Bup.
Burp
See Burp.
- First impressions
- Protocol 1 appears fast, but doesn't do cross-client deduplication. Protocol 2 is still experimental, and is very slow.
Obnam
- Reviews
- Pros
- Can be tuned to make it much faster (up to 10x, with extra memory though) [1]
- Cons
SimpleSnap
SimpleSnap is a tool to backup ZFS snapshots easily.
Pros:
- Very fast snapshot (25s).
Cons
- Requires ZFS
- Not cross-machine deduplication.
Speed seems very interesting. But how setup ZFS? Maybe some hints in this benchmark from same author.
UrBackup
See UrBackup.
Looks promising. Server-centric like BackupPC.
- Pros
- Consistent backup using snapshots!
- Snapshots created with dattobd or LVM snapshot on Linux, and VSS (Volume Shadow Copy Service) on Windows.
- Cons
- Does not support storing repo on Samba FS (because create symlinks). But this can be fixed by using NFS.
BlobBackup
A new contestant.
- See https://blobbackup.com/.
- See Hacker News comments.
Restic
- A new software: https://github.com/restic/restic
- A detailed deployment: https://amontalenti.com/2024/06/19/backups-restic-rclone
- From this Hacker News link on Timeshift: https://news.ycombinator.com/item?id=41039967
- Rustic: an alternative written in Rust: https://github.com/rustic-rs/rustic
Other
- Amanda
- Bacula
- Backupninja
- brackup
- Duplicity
- rdiff-backup (review)
- rsync (Optimal remote backups with rsync over Samba) (rsync + zfs snapshot from [5])
- ZBackup
- S3QL
- Restic - Lot of praise coming from this HN post, however comment on github and this Borg vs Restic comparison says Restic is much slower and uses more resources on the server side.
For Windows:
- Bvckup2, claimed to be fast, efficient, simple.
- veeam and macrium (from this HN post).
- Windows 10 backup and restore (maybe only on Pro).
Tools and features
- dattobd
- Datto Block Driver is a kernel module for taking block-level snapshots and incremental backups of Linux block devices.
- LVM snapshots
- Taking a Backup Using Snapshots - LVM How-To.
- Other
- Windows Volume Shadow Copy Service (VSS)
How well?
List of backup reviews:
- Review Bacula, Amanda, Backupninja, Backuppc, and UrBackup. Also cite Rsnapshot, rdiff-backup, Burp, Duplicity, SafeKeep, DREBS.
- Attic wins hands down on big data set for backup, and in all cases for restore (much much faster).
- Both looks similar. Attic a bit faster.
- Compare features of many different backup software. See also update from User:Level323.
- Issue tracker on Borg to compare it with alternatives.
- Mainly compare Obnam and Attic/Borg.
- Compare ext4, S3QL, SDFS, zfs-fuse (fastest).
- Very long list of backup software with Pros and Cons.
What?
A backup checklist.
On Linux
- /home directory
- /etc directory
- /usr/local directory
- /root directory
- /var directory
In addition:
- Get a copy of crontab (although they are in /var. For each user:
crontab -l
- Get list of installed packages:
dpkg -l
dpkg --get-selections
- Copy all mysql database (although they are in /var and /etc.
sudo su -
mysqldump -u root -p --all-databases > mysql-$HOSTNAME.dump