Live restore remotely?
Is there a software to do a complete live restore on a running debian system?
|
It is not completely clear on which system you will do the restore. On the second machine that you mention? What runs on the restore target? Do you restore over the running Debian?
If you restore on a machine running the same kernel version: - make sure you partioning scheme is the same as in the backup - get the disk UUID's on the target and modify etc/fstab in the backup - delete any network settings in etc/udev/rules.d/70-persistent-net - do restore /dev on the target - skip /sys and /proc if they happen to be included in the backup Then overwrite the running target with your backup. I hope the boot record on the target is the same as on the original. If it is not, you should mount the partition holding the backup, chroot into the backup and do a grub-install on the boot disk of the target. This is what I normally do when I restore a backup on a new hard disk, but then I boot from a live version. I prefer not to do it on a remote machine tough. jlinkels |
Quote:
I guess I wasn't clear. I'd like to do a complete restore of the computer remotely over ssh. Is it possible in linux? For example in windows Acronis True Image allows to do a complete restore on it's own machine even remotely. Can rsync to do a live restore of the whole system? |
rsync can't do a backup of a running system because some of the files are locked.
However, you can boot a live CD and then successfully run a rsync of your disk system. I actually do this as part of my backup strategy. I would imagine (not tried it yet(!)) that you could do a restore in the same way. |
Quote:
Quote:
The only risk is what I said inconsistent database files. You'd need to make a database dump before backup and copy that dump file. During restore both database files and dump are restored. In case the database was corrupted you can restore it from the dump. Now keep in mind that rsync works on the file level. If you damage your installation on the file level this can be restored. If you damage something more significant like your MBR or partition tables, you can't expect rsync to repair that. jlinkels |
I think I've only seen one "live state" backup for linux. It's a commercial product.
|
All times are GMT -5. The time now is 03:43 PM. |