I am currently using EndeavourOS for my laptop. Is there a backup solution that is easy to use, and can be run from the EndeavourOS install media without internet? (RSync is included, but no other backup tools are included, to my knowledge.) I don’t want to use another ISO due to space constraints on my USB.
I wrote a Bash script that uses rsync to copy data elsewhere.
It gets launched by a systemd timer, but cron would also work. At first it creates a btrfs snapshot of source, for consistency’s sake.
Then it copies stuff. It’s incremental, ie. unchanged files get hardlinked, not copied (-link-dest against the
latest
symlink) into date-specific directories that present the full view of the filesystem.Finally, it cleans up the source snapshot and rewrites the
latest
symlink to point to the freshly made copy, if successful.I could share my script, if there’s interest, tho it might look a bit messy. Oh, and these rdiff-whatchamacallits probably do the same thing in a more professional manner. I wrote mine to learn rsync.
Sounds like a well thought out solution, but we need proper programs which can handle backups, like some mentioned in this thread.
Oh, I totally agree my solution is not “proper” - it’s a homebrewn solution, full of duct tape and shoestrings. That said, it does everything I need to do. Which features of “proper programs” would you be missing? Perhaps I could add them for my own use.
Its not about features, its about “duct tape scripts” are rarely a solution for anybody else than the author, imo. Borgbackup seems like the proper suggestion here for the OP.