LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-09-2012, 11:36 PM   #1
hesisaboury
Member
 
Registered: Dec 2010
Location: iran
Posts: 199

Rep: Reputation: 0
Recover From Tar Backup


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?????

best regards.
 
Old 06-10-2012, 01:03 AM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
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.

jlinkels
 
Old 06-10-2012, 05:36 AM   #3
hesisaboury
Member
 
Registered: Dec 2010
Location: iran
Posts: 199

Original Poster
Rep: Reputation: 0
restoring it on another server does not cause hardware driver confilict????....

thanks a lot jlinkels
 
Old 06-10-2012, 07:07 AM   #4
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
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.

jlinkels
 
Old 06-10-2012, 07:36 AM   #5
hesisaboury
Member
 
Registered: Dec 2010
Location: iran
Posts: 199

Original Poster
Rep: Reputation: 0
Thank u so much.....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tar the last periodic backup that is in another path and move the tar to some dir nelovicov Linux - Newbie 6 01-20-2012 09:40 AM
Backup and Recover richardsmw Linux - Newbie 1 11-11-2009 05:55 PM
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 02:53 AM
recover backup HD(FAT) danielson Linux - Hardware 2 10-24-2005 09:37 AM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 03:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration