With that dump you are sure, that you did not miss any important metadata (like ACLs) which tar won't capture. Do that with other partitions on the failing drive, too. Where you had to adopt /dev/sda1 to the right device. However, you should (also) consider to make a dd dump of the failing drive's partitions: cd good_partition netcat -l -p 1234 > dd if=/dev/sda1 | netcat good_host.ip 1234 (especially the file representing your RAM in ( /proc/kcore) will add an unnecessary amount of data). After I flash systemrescuecd or kaspersky recovery or whatever it is, I’ll install Ubuntu and leave the backup partition to move all my stuff onto Ubuntu. The only thing that will be left will be a backup partition so I can move my 200gb of crap onto the new installation. I included some -exclude parameters, as /proc and /sys are virtual filesystems and hence useless on the new host. I’m going to do it from a live system after I’ve wiped the drive. It aims to provide an easy way to carry out admin tasks on your computer, such as creating and editing the hard disk partitions. SystemRescue is a Linux system rescue disk available as a bootable CD-ROM or USB stick for administrating or repairing your system and data after a crash. The bad host sends the data to this port, also using tar and netcat. A Linux system rescue toolkit as a bootable removable device. Which opens a listening port 1234 on the good machine netcat -l -p 1234 and pipes the incoming data to tar to extract (preserving mtime and permissions). Backup data from an unbootable Windows computer Backup and transfer your data using rsync Administration scripts. cd good_partition netcat -l -p 1234 | tar xvpmf tar -cv -f-exclude=/proc -exclude=/sys / | netcat good_host.ip 1234 This is usually much faster as it doesn't encrypt the data. Description: SystemRescue (formerly known as SystemRescueCd) is a Linux system rescue toolkit available as a bootable medium for administrating or repairing your system and data after a crash. If both computers are on the same (safe) LAN, I recommend a different approach using netcat.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |