F5F Stay Refreshed Software Operating Systems Linux backup solution. Which one is better?

Linux backup solution. Which one is better?

Linux backup solution. Which one is better?

A
139
06-29-2023, 01:47 PM
#1
What backup methods do you typically use? Timeshift or Clonzilla? Which one do you favor? Also, which option can create a physical copy of your Linux drive while keeping GRUB functional? I want to back up my Linux partition on my laptop along with the Windows partition. Right now I’m dual-booting Ubuntu and Windows.
A
AwakeningTroll
06-29-2023, 01:47 PM #1

What backup methods do you typically use? Timeshift or Clonzilla? Which one do you favor? Also, which option can create a physical copy of your Linux drive while keeping GRUB functional? I want to back up my Linux partition on my laptop along with the Windows partition. Right now I’m dual-booting Ubuntu and Windows.

F
Fitz8897
Junior Member
5
07-01-2023, 07:43 AM
#2
It might be easier to choose dd for what you aim to accomplish.
F
Fitz8897
07-01-2023, 07:43 AM #2

It might be easier to choose dd for what you aim to accomplish.

L
Lordlochie
Member
214
07-07-2023, 01:27 PM
#3
dd??
L
Lordlochie
07-07-2023, 01:27 PM #3

dd??

K
kolonelalex
Member
201
07-07-2023, 04:42 PM
#4
Yes, dd
K
kolonelalex
07-07-2023, 04:42 PM #4

Yes, dd

D
DingbatPlayzMC
Senior Member
425
07-10-2023, 05:36 AM
#5
dd offers two valuable purposes for these backups. When you plan to compress the raw file afterward, you likely don’t want unused space to expand it. Before unmounting or remounting with the -o ro option, fill empty areas with zeros. # dd if=/dev/zero of=./filler bs=4M status=progress # rm -f filler This step is helpful, as it reduces the need for heavy compression tools like xz -v9T0 sdX.img and saves space afterward. Afterward, you can create a raw copy. Option a) keeps the partition table included # dd if/dev/sdX of=/really/not/on/sdX.img bs=4K status=progress You can later view the partitions inside the image using # losetup -fP sdX.img # Option b) omits the partition table # dd if/dev/sdX0 of=/really/not/on/sdX0.img bs=4K status=progress and remount it with # mount -o loop sdX0.img /somewhere
D
DingbatPlayzMC
07-10-2023, 05:36 AM #5

dd offers two valuable purposes for these backups. When you plan to compress the raw file afterward, you likely don’t want unused space to expand it. Before unmounting or remounting with the -o ro option, fill empty areas with zeros. # dd if=/dev/zero of=./filler bs=4M status=progress # rm -f filler This step is helpful, as it reduces the need for heavy compression tools like xz -v9T0 sdX.img and saves space afterward. Afterward, you can create a raw copy. Option a) keeps the partition table included # dd if/dev/sdX of=/really/not/on/sdX.img bs=4K status=progress You can later view the partitions inside the image using # losetup -fP sdX.img # Option b) omits the partition table # dd if/dev/sdX0 of=/really/not/on/sdX0.img bs=4K status=progress and remount it with # mount -o loop sdX0.img /somewhere

P
pinkSparkle17
Member
192
07-10-2023, 06:04 AM
#6
dd means disk destroyer. From the name, it’s clear it’s an entertaining tool for experimenting...
P
pinkSparkle17
07-10-2023, 06:04 AM #6

dd means disk destroyer. From the name, it’s clear it’s an entertaining tool for experimenting...

D
DJKiller22
Member
138
07-10-2023, 02:25 PM
#7
I also prefer using rsnapshot for creating delta backups of my devices.
D
DJKiller22
07-10-2023, 02:25 PM #7

I also prefer using rsnapshot for creating delta backups of my devices.

C
163
07-18-2023, 02:17 PM
#8
I'm working with rsync on both a desktop and a file server running Linux. This lets me copy files effortlessly using SSH keys. Since the file server also supports NFS, accessing backups from my desktop works just as smoothly. The file server uses RAID6 with a total capacity of 8TB, allowing me to back up a large video drive (over 4TB) with dual disk redundancy. HTH!
C
Cookie0verDose
07-18-2023, 02:17 PM #8

I'm working with rsync on both a desktop and a file server running Linux. This lets me copy files effortlessly using SSH keys. Since the file server also supports NFS, accessing backups from my desktop works just as smoothly. The file server uses RAID6 with a total capacity of 8TB, allowing me to back up a large video drive (over 4TB) with dual disk redundancy. HTH!