this post was submitted on 07 Nov 2023
16 points (83.3% liked)
Linux
48208 readers
1269 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
So many options. As others have mentioned, rsync, borg, restic, etc. You might want to look into filesystem snapshots. If you use something like BTRFS you can create instant snapshots and send them to a second BTRFS formatted disk or even a remote system with a BTRFS filesystem.
ZFS would also work here.
I use btrbk for automatic BTRFS snapshots and backing them up to remote systems.
If you want built-in encryption you can use Borg or Restic, which also has the advantage of deduplicating within a single backup set. Restic can also backup to an s3 bucket, in case you want to use a cloud service.
Thanks! I have a local drive, does btrbk work there too?
I am on Fedora so BTRFS ftw
Yes of course. On the btrbk homepage they even describe how to set it up so that a backup gets triggered automatically when you plug in a designated backup drive.
My setup is to create local snapshots and keep X amount of local snapshots. Copy snapshots to a remote server and keep a different amount of snapshots there. Finally I also have a backup drive and btrbk is setup to copy all my local snapshots to that backup drive when it's plugged in.