I used the following link as the resource to aid me in cloning OMV from a 64 GB card to a 16 GB card
https://www.howtoforge.com/tutorial/lin ... l-example/
You may need to install pv
To copy individual partitions or copy from say a 64 GB card to a 16 GB card
In command prompt enter
Find the drive you want to backup (this example will use sdx --> sdb)
sdb1
sdb2
Insert the next drive
In command prompt enter
find the drive letter to backu up to (this example will use sdx --> sdc)
sdc1
Now we must unmount the
partitions, not the drives, to copy or clone
Now the backup command to clone from sdb to sdc
I believe my math is correct for the next section (it worked perfectly)
First, find the end of the last partition you wish to copy.
This example the end of partition 2 is 14900000. The block size is 512. I will use 4096, which is 514*4
This example we will have to specify the size of the memory to copy, the end of the second partition. Since the end is 14900000 and we used 4096 BS,
then 14900000/4 = 3725000 will be the new block SIZE
Code: Select all
$ sudo dd if=/dev/sdb bs=4096 count=3725000 conv=sync,noerror status=proggess | pv -s 8G |sudo dd of=/dev/sdc