linux-timemachine
btrbk
linux-timemachine | btrbk | |
---|---|---|
11 | 79 | |
752 | 1,531 | |
- | - | |
0.0 | 6.7 | |
7 months ago | 5 months ago | |
Shell | Perl | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
linux-timemachine
-
Ask HN: What compression doesn't re-include the same file multiple times?
> I am concerned about the longevity of my archives
If you're concerned about archival longevity, and I for one certainly are, then maybe consider not to compress at all. Both compression and encryption add to obscurity and loss of redundancy in the backup. Using a widely understood file system and a very obvious arrangement of the data (for me that means: directories with dates, below a tree of files that mimics their original locations) will be a huge plus should the data have to be recovered at some point in the future.
Personally I am using a slightly adapted version of https://github.com/cytopia/linux-timemachine for this task. You do get de-duplication for the file transfer, but each file is written as it was on the target. You'll get a timestamped directory for each time a backup was run. Like MacOS' timemachine, the script uses hard links to de-duplicate identical files across different timestamped directories so the overall space requirement for that incremental backup you did an hour or a day later can be very small.
I can certify that this setup, while it does not occupy the least conceivable amount of storage area, is very amenable to be searched and trivial to use for recovery. much better in this regard than any kind of compressed archive format which are always a pain in terms of searchability and so on.
- What's the simplest way to take a snapshot of your server
-
Good data backups?
And for file version history and to protect against accidental deletion i use linux-timemachine which backs up over SSH to the same server and keeps versioned incremental backups. This backup also includes my entire /home folder so all apps, appdata and config is contained here.
-
What is your favourite Linux backup software and why?
Linux-TimeMachine: https://github.com/cytopia/linux-timemachine
-
Best practices for backups
If you only want to backup specific folders i like the tool linux-timemachine which uses rsync and hardlinks to create incremental backups based on a input and output folder.
-
Tumbleweed without btrfs/snapper?
You know, another option might be to just rely on something external to your machine if you're worried enough. When I'm dealing with personal machines (usually servers) that are important to me, I usually use Backblaze B2. You could maybe even try using open source variants of Time Machine designed for Linux machines or Borg Backup...though, to be fair, I've never really tried using them for backing up my entire system ( "/" ) partition (https://github.com/cytopia/linux-timemachine).
- cytopia/linux-timemachine - Rsync-based OSX-like time machine for Linux, MacOS and BSD for atomic and resumable local and remote backups
- rsync based linux timemachine clone - now with full remote support
-
Rsync-based OSX-like time machine for Linux, MacOS and BSD for atomic and resumable local and remote backups
linux-timemachine
btrbk
-
I accidentally programmed my server to back up all files... even backups
That's still easier using snapshots and something like btrbk. Snapshot the directory at start, prune if there are too many snapshots (or snapshots get too old).
-
Ur best backup software
I'm on Arch, but you might still find it useful: Btrfs snapshots Arch Wiki - Incremental backup to external drive GitHub - btrbk
- Deduplication how to?
-
Fast and comprehensive system backup. Can Linux software do it?
the smoothest backup tool i have seen for Linux is btrbk works real nice and is customizable for almost all use-cases BTRFS rocks :)
-
Trying to understand the real impact of not having ECC
I recommend redundancy and regular verification is you want to insure your data against corruption. If you do that, you can forget about things like ECC. My setup is a NUC server running Ubuntu with a USB3-connected storage drive running BTRFS. I use btrbk to auto-snapshot and auto-replicate via incremental sends to my BTRFS backup drive, and RotKraken to track integrity of the data with a monthly verification run so that I notice corruption in time to correct it.
-
BTRFS snapshots and btrbk as a backup solution
In pondering my backup strategy, I was wondering if I could use BTRFS snapshots and a backup tool like btrbk, which is a nice integrated snapshot/backup solution I've used happily on desktop Linux. BTRFS needs subvolumes for snapshots, so I couldn't backup the host itself (which wasn't installed with a / subvolume like other distributions I've used), but it could snapshot the VMs and containers, which have their own individual subvolumes. Then btrbk can send that snapshot in an incremental fashion to external storage.
-
btrbk: subvolume has no UUID error
I then installed btrbk and tried to follow the instructions to create snapshots of root and home on the SSD and then send/receive those to the HDD. I mainly used https://github.com/digint/btrbk and https://mutschler.dev/linux/fedora-btrfs-35/, but I don't use luks.
-
The various scripts I use to back up my home computers using SSH and rsync
For anyone using btrfs on their system, I heartily recommend btrbk, which has served me very well for making incremental backups with a customizable retention period: https://github.com/digint/btrbk
-
incremental snapshot backup tool: which one should i go for?
btrbk is the best solution I know.
-
how do you Backup your system?
I use BTRBK to make and copy the BTRFS snapshots to my HDD. I schedule it to run every 3 hours using a Sytemd unit file through my own script to avoid running the backup at inconvenient moments:
What are some alternatives?
BorgBackup - Deduplicating archiver with compression and authenticated encryption.
snapper-gui - GUI for snapper, a tool for Linux filesystem snapshot management, works with btrfs, ext4 and thin-provisioned LVM volumes
docker-pihole-sync - A Docker Container To Sync Two Piholes
TimeShift - System restore tool for Linux. Creates filesystem snapshots using rsync+hardlinks, or BTRFS snapshots. Supports scheduled snapshots, multiple backup levels, and exclude filters. Snapshots can be restored while system is running or from Live CD/USB.
snapper - Manage filesystem snapshots and allow undo of system modifications
grub-btrfs - Include btrfs snapshots at boot options. (Grub menu)
restic - Fast, secure, efficient backup program
rsync-time-backup - Time Machine style backup with rsync.
bees - Best-Effort Extent-Same, a btrfs dedupe agent