LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-10-2014, 05:17 AM   #1
intern3t
LQ Newbie
 
Registered: Jun 2014
Posts: 1

Rep: Reputation: Disabled
How to restore from backup.tgz file in linux


How can i restore from a
Code:
backup.tgz
file created from another red hat linux server on my own server. I tried the command the following command:

Code:
tar xvpfz backup.tgz -C /
The above command worked, but it replaced the existing system files which made my linux server not to work properly. please how can i restore so that services and installed files on the other server will be available on my server. i use redhat5.
 
Old 06-10-2014, 06:17 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 870
Blog Entries: 2

Rep: Reputation: 219Reputation: 219Reputation: 219
Extract as a non-root user into an empty directory.
 
  


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
[SOLVED] Not able to restore mysql --all-database backup file suresh.k Linux - Server 2 11-19-2012 07:42 AM
[SOLVED] Unable to decompress tgz backup file boomer42812 Linux - Server 7 01-04-2011 10:42 AM
how to make backup and restore for fedora 12 file system xxmasrawy Linux - Newbie 4 04-20-2010 09:10 AM
Backup and restore linux depam Linux - Software 22 12-30-2006 08:55 PM
tgz file doesn't end in .tgz? detpenguin Slackware 4 05-15-2004 08:13 PM


All times are GMT -5. The time now is 07:27 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration