You are not logged in.
Pages: 1
What is a good backup program to save the HOME directory? I'm using pica but wonder if there is something better. Thanks.
Offline
I am partial to rsync
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
My approach is to use the most basic tool possible, and only use something higher level if absolutely needed. rsync is also my primary tool. However, if you want snapshots, then either btrfs/zfs or restic (my preference)/borg can give that to you. I often use the send feature of btrfs for incremental backups and snapshots. So:
- btrfs send+snapshots on Linux
- rsync to back up to my Linux server from !linux OS (I have macos and *BSD, but also works for Windows)
- restic to store backups with snaps in situations where I cannot use btrfs because restic has the best crypto and a data integrity scrub function
This is also useful to create an encrypted and checksummed store for cloud backup services like Backblaze or Crashplan
- rsync for any kind of file transfer, not cp because rsync has checksum verification for all (new) file copy operations
I'll admit that I'm slightly paranoid about corruption. I'd never store anything important on a non-checksumming filesystem.
Offline
This might be a good point to reinforce the following. A backup is not a backup unless it is tested. A system is not backed up unless there is a backup that is not on site.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I use borg backup. it is in CLI and has a learning curve. Also deja dup does the job
Offline
I use rsync for local, rclone for remote and backintime for something different. The most important thing is being able to restore without much effort, I also use codeberg for config files.
Rlu: 222126
Offline
Set up a couple of practice directories for rsync, set up the command how you want it to work.
Make a manual backup first if you plan to use the --delete option, if your backup is going to effectively be a mirror of your current state, but you don't want to accidentally run it in the reverse of what you want.
I just do this to backup my home directory:
rsync --archive -vh -L --delete --exclude-from='exclude-list.txt' ~/ "$BACKUP_TARGET"Its inside a simple script that checks my external drive is mounted at the expected target location and then executes it.
I exclude things I don't care about, steam directory for example, a bunch of dot directories.
Don't copy that without knowing what those options are doing, as well as --delete, I for example have it following links, which I use to override exclusions, such as to backup save files from within the excluded steam directory, etc.
But it gives you an idea, that command backs up everything I care about, there's not much to that command, and now its set up, I plug my drive in, execute the script I have that in and job done, easy.
Last edited by Nikolai5 (2026-06-23 17:08:22)
Ryzen 7 9850X3D | AMD 7800XT | KDE Plasma
Offline
rsync also has nice options for snapshots/differential updates (if you're not maintaining dotfiles or other configs with git)
https://wiki.archlinux.org/title/Rsync# … _on_a_week
https://wiki.archlinux.org/title/Rsync#Snapshot_backup
Online
Pages: 1