Hi, I have been using Trisquel for several months and at this point I would
like to back up my whole drive using the "dd if" command on a terminal.
My drive (sda) is a SSD containing a Masterboot record with GRUB, a 4GB Swap
partition, 100GB ext4 system disk containing GNU Linux-Trisquel and 150GB
NTFS Storage partition.
I got another 1TB storage Drive (sdb)
I ve tried this with small capacity USB sticks but it is the first time that
I'm going to try it with my main drive wich contains MBR and several
partitions, so would like to check some aspects to see If I got things clear.
Thanks in advance to those who could say something back.
1- Creating an ISO file from my drive:
This does not requires unmounting the drive first so the only thing I should
do is:
sudo dd if=/dev/sda of=/dev/sdb/mybackup.iso
and "mybackup.iso" will be created on my 1TB drive "sdb"
I'm going to run Trisquel from USB stick to perform this, so I suppose "sudo"
at the beginning it is not required, am I right?.
Plus; Does anybody knows if this other arguments make any sense for this
operation?:
"bs=", wich is used to set the blocksize and represents speed of clonation
"conv=notrunc, noerror", wich is used to maintain data integrity and to
ignore possible errors on the physical drive.
Understand than this improves the accuracy of the operation as I ve been
reading."bs" it is necessary when restoring from ISO to the drive, and
"conv=notrunc, noerror" useful too on this case, but what I m going to do is
not restoring but just creating an ISO from the drive.
So, that's my question: makes any sense adding any of the arguments above for
creating an ISO from the drive?.or they are only useful when going on the
opposite direction? (Restoring an empty drive with a previously created ISO )
I would not like to create a bad ISO which would make restoring the drive
impossible.
just would like to check out if just typping this will be enough for this
purpose.
dd if=/dev/sda of=/dev/sdb/mybackup.iso
There's a 250GB image to be created. I wonder how long will it take or if
there's any command to check out what's going on, time remaining, blocks
transfered or whatever. Told you so because the only thing that happens after
running "dd" is a square on a white line on the Terminal, and then at some
point it finishes giving a block transfering report and process completed
confirmation.
Kind Regards!.