Which other disk backup solution do you recommend other than Clonezilla?

2 years ago by tiz to c/selfhosted

I’m going to make a backup of 2TB SSD today. I will use clonezilla mainly because that’s all I know. But do you recommend any other ways for any reason?

I want to keep the process simple and easy. And I will likely take backup once a month or so repeatedly. It doesn’t have to be ready all the time. If you need more clarification, ask away.

ikidd 17 points 2 years ago

dd if=/dev/sda0 conv=sync,noerror bs=128K status=progress | gzip -c file.gz

You can add an additional pipe in there if you need to ssh it to another machine if you don't have room on the original.

path: 0 14507219, hotness: undefined, score: 17, children: 5
sntx 5 points 2 years ago

The added info from pv is also nice ^^

path: 0 14507219 14518398, hotness: undefined, score: 5, children: 0
mlaga97 1 point 2 years ago

If zstd is available, it is a lot more efficient and performant over gzip.

path: 0 14507219 14552372, hotness: undefined, score: 1, children: 1
ikidd 1 point 2 years ago

True. I've done that command for so long that I've kinda gotten gzip hardwired into my fingers.

path: 0 14507219 14552372 14552715, hotness: undefined, score: 1, children: 0
HubertManne 1 point 2 years ago

I did a thing like this but with a ios command that wrote the disk to image and piped it to ssh but then piped it back to a waiting drive. It was great as you could pull the disk and boot right off it. Do you know if that can be done with dd?

path: 0 14507219 14509361, hotness: undefined, score: 1, children: 1
ikidd 4 points 2 years ago

I'd probably dd it straight on to the drive, but I'm sure you could get it to go to New Orleans and play the Macarana before it came back if you used enough pipes.

path: 0 14507219 14509361 14517274, hotness: undefined, score: 4, children: 0
mbirth 17 points 2 years ago

Does the data change a lot? Does it need to be a block-based backup (e.g. bootable)? Otherwise, you could go with rsync or restic or borg to only refresh your backup copy with the changed files. This should be far quicker than taking a complete backup of the whole SSD.

path: 0 14505192, hotness: undefined, score: 17, children: 1
tiz 3 points 2 years ago

Thank you for the insight. Changes are incremental I suppose. You are correct that it’s more efficient. But I kind of want to back up the whole disk since I can keep a bootable drive with it right?

path: 0 14505192 14506127, hotness: undefined, score: 3, children: 0
taiidan 12 points 2 years ago

btrfs or zfs send/receive. Harder to do if already established, but by far the most elegant, especially with atomic snapshots to allow versioning without duplicate data.

path: 0 14505315, hotness: undefined, score: 12, children: 0
morethanevil 11 points 2 years ago

You can use Rescuezilla which is basically a GUI fir Clonezilla, but easier to use 😋

path: 0 14504294, hotness: undefined, score: 11, children: 2
tiz 2 points 2 years ago

Thanks guys. I went with Rescuezilla in the end. So far so good.

path: 0 14504294 14509374, hotness: undefined, score: 2, children: 0
tiz 2 points 2 years ago

This is something I should consider!

path: 0 14504294 14504908, hotness: undefined, score: 2, children: 0
drkt 5 points 2 years ago

My method requires that the drives be plugged in at all times, but it's completely automatic.

I use rsync from a central 'backups' container that pulls folders from other containers and machines. These are organized in

/BACKUPS/(machine/container)_hostname/...

The /BACKUPS/ folder is then pushed to an offsite container I have sitting at a friends place across town.

For example, I backup my home folder on my desktop which looks like this on the backup container

/BACKUPS/Machine_Apollo/home/dork/

This setup is not impervious to bitflips a far as I'm aware (it has never happened). If a bit flip happens upstream, it will be pushed to backups and become irrecoverable.

path: 0 14504828, hotness: undefined, score: 5, children: 6
tiz 1 point 2 years ago

I see. This is more of a file system backup right? Do you recommend it over full disk backup for any reason? I can think of saving space.

path: 0 14504828 14504901, hotness: undefined, score: 1, children: 5
drkt 4 points 2 years ago

I recommend it over a full disk backup because I can automate it. I can't automate full disk backups as I can't run dd reliably from a system that is itself already running.

It's mostly just to ensure that I have config files and other stuff I've spent years building be available in the case of a total collapse so I don't have to rebuilt from scratch. In the case of containers, those have snapshots. Anytime I'm working on one, I drop a snapshot first so I can revert if it breaks. That's essentially a full disk backup but it's exclusive to containers.

edit: if your goal is to minimize downtime in case of disk failure, you could just use RAID

path: 0 14504828 14504901 14505024, hotness: undefined, score: 4, children: 4
MangoPenguin 2 points 2 years ago

I can’t automate full disk backups as I can’t run dd reliably from a system that is itself already running.

Can't you do a snapshot like VSS does on windows and back that up on a running system? I assume with a filesystem that supports snapshots that would be possible.

path: 0 14504828 14504901 14505024 14512164, hotness: undefined, score: 2, children: 1
drkt 1 point 2 years ago

I'm sure there's ways to do it, but I can't do it and it's not something I'm keen to learn given that I've already kind of solved the problem :p

path: 0 14504828 14504901 14505024 14512164 14513008, hotness: undefined, score: 1, children: 0
tiz 1 point 2 years ago

I’m on a similar boat except I might have less time resource available in the future cause I’m getting a job.

Hopefully I could automate full disk backup because if something like Immich breaks, I can just load up from the backup drive. My family also use the services so… I think it’s great you brought up RAID but I believe when Immich or any software mess things up it’s not recoverable right?

path: 0 14504828 14504901 14505024 14506020, hotness: undefined, score: 1, children: 1
drkt 1 point 2 years ago

I think it’s great you brought up RAID but I believe when Immich or any software mess things up it’s not recoverable right?

RAID is not a backup, no. It's redundancy. It'll keep your service up and running in the case of a disk failure and allow you to swap in a new disk with no data loss. I don't know how Immich works but I would put it in a container and drop a snapshot anytime I were to update it so if it breaks I can just revert.

path: 0 14504828 14504901 14505024 14506020 14506324, hotness: undefined, score: 1, children: 0
ShortN0te 4 points 2 years ago

I use dd.

path: 0 14504391, hotness: undefined, score: 4, children: 1
tiz 0 points 2 years ago

Based. Yes. It is an option.

path: 0 14504391 14504860, hotness: undefined, score: 0, children: 0
g_damian 3 points 2 years ago path: 0 14534760, hotness: undefined, score: 3, children: 0
mortimer 3 points 2 years ago
path: 0 14504937, hotness: undefined, score: 3, children: 3
tiz 3 points 2 years ago

First time hearing of this. Any particular reasons?

path: 0 14504937 14506034, hotness: undefined, score: 3, children: 2
mortimer 3 points 2 years ago
path: 0 14504937 14506034 14508041, hotness: undefined, score: 3, children: 1
tiz 1 point 2 years ago

Thank you! Great info. After some reading, I went with Rescuezilla which is yet another GUI for Clonezilla. I might give the foxclone next time!

path: 0 14504937 14506034 14508041 14509405, hotness: undefined, score: 1, children: 0
knobbysideup 2 points 2 years ago

Borg for files. Proxmox snapshots for the VMs.

path: 0 14504563, hotness: undefined, score: 2, children: 0
MangoPenguin 2 points 2 years ago

Veeam endpoint free version is nice because it doesn't require a reboot.

path: 0 14512165, hotness: undefined, score: 2, children: 0
kylian0087 2 points 2 years ago

I personally use Borg to do automatic backups.

path: 0 14522826, hotness: undefined, score: 2, children: 0
scarilog 1 point 2 years ago

Oh I've been using Acronis for this purpose for a while, nice to know foss tools exist that accomplish the same thing, I'll probably use this next time.

path: 0 14518584, hotness: undefined, score: 1, children: 0
Eideen 1 point 2 years ago

Do you want to use desktop app or systemd timer?

path: 0 14523549, hotness: undefined, score: 1, children: 0
zorflieg 1 point 2 years ago

HD Clone X cloner Or MSP360 (Cloud Berry) Standalone Backup

Both cost money but not a lot and are very reliable.

path: 0 14532289, hotness: undefined, score: 1, children: 0
selfhosted
selfhosted

@lemmy.world

login for more options
62946
6792
5617

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

go to feed...