I am attempting to backup my device but have achingly slow transfer speeds.
Is this a common concern? Is there anything I can do to help improve these speeds?
Thank you all so much for any help!!!
usr@pop-os:~/Backups$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sdb 8:16 1 29.1G 0 disk
├─sdb1 8:17 1 465M 0 part /media/usr/<ID>
└─sdb2 8:18 1 28.7G 0 part
sdc 8:32 1 0B 0 disk
zram0 251:0 0 16G 0 disk [SWAP]
nvme0n1 259:0 0 465.8G 0 disk
├─nvme0n1p1
│ 259:1 0 976M 0 part /boot/efi
├─nvme0n1p2
│ 259:2 0 3.8G 0 part /recovery
└─nvme0n1p3
259:3 0 461G 0 part
└─cryptdata
252:0 0 461G 0 crypt
└─data-root
252:1 0 461G 0 lvm /
usr@pop-os:~/Backups$ sudo dd if=/dev/sdb of=librem5-jul22025-backup.image status=progress
8523264 bytes (8.5 MB, 8.1 MiB) copied, 1198 s, 7.1 kB/s^C
With dd it’s important to define the blocksize (bs=) size, as in how big pieces are transferred. Try bs= 1024 or even bs=4096. Unfortunately, i’m not sure what the optimal size for L5 is (could be tested like this), but both of those have been suggested in the past.
I have records from doing a couple of these and I am getting 50 MB/s ± a few MB/s. That’s not spectacular (9-11 minutes to complete) but is still viable.
Random observation: You should always umount any and all partitions of a disk device before backing it up with dd.
A couple of differences between what you have done and what I did:
I added bs=1M to the dd command.
I am piping the output of dd through gzip (which helps if the disk is not close to full).