I run some services on machine A. I want to backup the data to machine B. It’s around 40 gigabytes in thousands of small files. I would prefer to compress the data, but there’s not enough space on machine A to keep the data twice (original + tar archive). I would like to avoid copying that many files via scp/rsync since it’s taking forever and a bit fragile.
Any solutions on how to solve this? Is it possible to compress live on machine A and stream into the archive on machine B without the need to keep the big archive file on A?
Eventually, it’s supposed to be automated and B has like the last 3 dailys, 1 weekly, 1 montly.
B can ssh into A.
thelittleblackbird@lemmy.world 2 weeks ago
Borgbackup is all you need, you even don’t need to allocate the space in your A machine…
tofu@lemmy.nocturnal.garden 2 weeks ago
Seems like Borg Backup Pull Mode does what I need, using sshfs:
borgbackup.readthedocs.io/en/…/pull-backup.html
thelittleblackbird@lemmy.world 2 weeks ago
Certainly it is a good way to go, but in my experience try the usual work flow, it is way more stable and the cpu burden is share between both nodes -> faster backups