From what I've read, you can back up an entire partition like this:
dd if=/dev/sda1 of=/media/external/backup
Can anyone tell me if I need to worry about files being changed while doing this? Could it be that some critical system file might get changed during the dd operation and then when you want to restore the backup, it won't work?
I'm on Ubuntu 12.04.
sync
before but it is not advisable. – user1146332 Sep 17 '12 at 14:28fsarchiver
. It's a file based backup tool and you can restore the backup on another partition that is at least equally sized.dd
in contrast is sector based and you can restore the data only on partitions that equals the source partition of the backup (equal amount of sectors). – user1146332 Sep 17 '12 at 14:36