Jump to content

Linux backup solution. Which one is better?

What kind of backup solution do you guys use??? 

 

Timeshift or Clonzilla ? 

 

Which one do you prefer? Also , which kind of solution can make a physical copy of the linux drive, with GRUB fully working as well. 

I wanna backup my linux partition on my laptop and keep the windows partition as well. Currently I am duo booting ubuntu and windows.

If it is not broken, let's fix till it is. 

Link to comment
Share on other sites

Link to post
Share on other sites

For what you want to do it may be simpler to use dd

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

12 minutes ago, Sauron said:

For what you want to do it may be simpler to use dd

dd?? 

If it is not broken, let's fix till it is. 

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, mrchow19910319 said:

dd?? 

Yes, dd

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

dd has two good uses for such backups.

 

If you want to compress the raw image afterwards, you probably don't want unallocated space to blow it up.
Before you unmount (or remount "-o ro"), fill free space with zeroes.

# dd if=/dev/zero of=./filler bs=4M status=progress
# rm -f filler

This is optional, but will save you a lot on "xz -v9T0 sdX.img" or similar compressions.

 

Then take a raw copy.

  • Option a) including the partition table
# dd if/dev/sdX of=/really/not/on/sdX.img bs=4K status=progress

You can access the included partitions within the image later on like this

# losetup -fP sdX.img
# mount /dev/loop0p0 /somewhere

 

  • Option b) without partition table
# dd if/dev/sdX0 of=/really/not/on/sdX0.img bs=4K status=progress

and later remounts using

# mount -o loop sdX0.img /somewhere

 

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

dd stands for disk destroyer. Just by the name, you already know it is a fun program to mess around with....

Sudo make me a sandwich 

Link to comment
Share on other sites

Link to post
Share on other sites

I really like to use rsnapshot for delta backups of my devices.

FX6300 @ 4.2GHz | Gigabyte GA-78LMT-USB3 R2 | Hyper 212x | 3x 8GB + 1x 4GB @ 1600MHz | Gigabyte 2060 Super | Corsair CX650M | LG 43UK6520PSA
ASUS X550LN | i5 4210u | 12GB
Lenovo N23 Yoga

Link to comment
Share on other sites

Link to post
Share on other sites

I'm using rsync. It helps both desktop and file server run Linux, so using SSH keys I can seamlessly copy files over. And as the file server also has an NFS server I can browse the backup location from my desktop equally seamless. The file server has a RAID6, totalling 8TB, so I can also back up the video-drive in my desktop (which accounts for 4+ TB alone!) while having a 2-disk redundancy.

 

HTH!

"You don't need eyes to see, you need vision"

 

(Faithless, 'Reverence' from the 1996 Reverence album)

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×