Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
i got a tar backup from my server , now my server have problem and i cant use it anymore , is is possible to restore the tar backup on another system?????
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
Do you mean to other hardware or to a different running system?
To other hardware, my preference is to make a minimal bootable installation on that other hardware, and run tar on that installation. Restore into the root directory overwriting that bare installation I just did.
Requirements for that bare installation are: same partition scheme as my backup, and the same place of the files needed for booting. After restoring you need to edit fstab to make sure the uuids of the new hard disk are set correctly. Then you can reboot.
Alternatively you can boot into a live distro, set up the partitions, mount the hard disk, restore you tar into the mounted hard disk, install grub manually onto that new hard disk and check fstab. Basically the same, slightly more complicated.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
It is highly unlikely drivers will be a problem. In 99% of the cases you won't need to install a special driver for the network card. VGA usually requires a special driver, but for a server you usually don't use a graphical desktop. And if you do, you can easily boot in text mode and correct the driver.
The only hardware related problem you'll run into is the UUIDs of you new hardware will be different. You must find them with blkid and correct them in the /etc/fstab you just restored.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.