LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-14-2005, 01:24 AM   #1
kazmax
LQ Newbie
 
Registered: Nov 2005
Distribution: Mandrake 10.1
Posts: 11

Rep: Reputation: 0
Restoring Backups


I may not have saved a backup properly to enable me to restore this, if I've lost the backup I can survive, but maybe I'm overlooking something obvious.

I am new to Linux and installed Mandriva without too much difficulty. I then managed to configure this to act as a Windows domain controller, added user accounts, set up shared directories, printers and so on. All in all quite a success given my limited experience.

I took a backup to CDROM using Mandriva's backup wizard. This left me with a bunch of files on the CD as follows:


backup_base_user_ntuser_20051210_204611.tar.gz
backup_incr_sys_20051210_204611.tar.gz
backup_incr_user_andrew_20051210_204611.tar.gz
backup_incr_user_root_20051210_204611.tar.gz
list_base_user_ntuser_20051210_204611.txt
list_incr_sys_20051210_204611.txt
list_incr_user_andrew_20051210_204611.txt
list_incr_user_root_20051210_204611.txt
TRANS.TBL


At this point I decided to completely re-install Mandriva with a bigger hard drive, believing that I had secured the previous configuration.

After installing Mandriva on the new drive I fired up the restore wizard and pointed it at the CD I had saved earlier. Surprisingly (to me), it didn't seem to like the contents of that CD - it was like it didn't understand the file layout.

Using RAR on my Windows PC I was able to open and review the tar.gz files no problem, so the CD itself hasn't got any problems with respect to its readability - it is just that I've got a bunch of compressed files which contain configuration data (e.g. smb.conf is in there), but no utility to restore these back onto a new Linux system.

No big deal if I've lost this backup, and I still have the original (smaller) hard disk if shove comes to push. But I'm interested to know whether I have a bunch of files on the CD which can be used to restore a previous configuration.

Andrew
 
Old 12-15-2005, 12:33 AM   #2
Jerre Cope
Member
 
Registered: Oct 2003
Location: Texas (central)
Distribution: ubuntu,Slackware,knoppix
Posts: 323

Rep: Reputation: 37
The .tar.gz extension on the files document what we in the industry call a "tar ball"

do a:

man tar


Use tar tzvf backup_base_user_ntuser_20051210_204611.tar.gz | less

to review the contents of the file. If you are satisfied the file will be restored to the correct location, just type:

tar xzvf backup_base_user_ntuser_20051210_204611.tar.gz

I think konqueror can browse a tar ball as well, so you can drop and drag if that's your preferred method.

Last edited by Jerre Cope; 12-15-2005 at 12:35 AM.
 
Old 12-15-2005, 12:17 PM   #3
kazmax
LQ Newbie
 
Registered: Nov 2005
Distribution: Mandrake 10.1
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks Jerre, thought it would be simple
 
  


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
Help with backups??? graystarr Red Hat 2 05-04-2005 05:29 PM
Restoring MySQL backups with mysql-administrator pnellesen Programming 0 04-25-2005 09:53 AM
Restoring data from tape backups enygma Linux - General 8 11-11-2004 01:29 PM
backups shelbyg75 Red Hat 3 09-24-2004 05:16 PM
Creating/Restoring Backups Corallis Linux - Newbie 4 09-05-2004 10:04 PM


All times are GMT -5. The time now is 03:27 AM.

Main Menu
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