You are not logged in.
Hello,
at the moment I do backups of my home and storage (audio,video,...) partitions to an external hard disk.
For this I use a little script which uses rsync.
It is possible to use the same script to do a complete backup of my root partition? I have concerns, that if the system is running there could arise problems with inconsistent file states.
Exists there a tool that does something like the shadow copies on windows? Or is it safe to simply run the backup?
I know I could use a boot cd, but I know I'm lazy and wouldn't do this long.
Offline
As long as you pick a quiet enough time to backup, you'll be fine. Do be aware that you won't have a bootable restore this way without reloading GRUB after the restore.
I use "dump" over the network to back up my root filesystem and take care of this annoyance. It works on ext2 and ext3. XFS also has xfs_dump for this purpose. With other filesystems you don't have this nice option.
Offline
What did you mean with
reloading grub after the restore
That I have to reinstall grub on my external drive after every backup process?
Last edited by dystoptic (2007-08-05 09:18:50)
Offline
No, that if you ever lose your disk and have to restore from the backup, you'll have to remember to reinstall GRUB onto the new disk.
(Actually, though, I still have to do that with 'dump' as well... My above post has me scratching my head now and might be the dumbest post I've made on this forum yet...)
I did think of another problem with using rsync though - /dev won't be backed up properly. Depending on how you run rsync, you'll either back up the one created by udev or not get much of anything. Neither one is what you really want (although if you get the udev-created one, at least the backup will work).
Offline