LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2012, 12:34 AM   #1
jayfurrie
LQ Newbie
 
Registered: Oct 2012
Posts: 5

Rep: Reputation: Disabled
Backup and Restore help


Hi guys,

So for this class we're using CentOS. our instructor is going to run a script that'll nuke our systems... and we're expected to restore them using a tarball that we backed up on a server. I'm a little confused right now as to which directories i should keep and which ones i should exclude - mainly which ones I should exclude. Throughout the semester, we've done plenty of labs that have added users and groups, we've set up cronjobs, cups printing, etc...

So, my main concern is what are the files from a backed up tarball that, if restored onto a freshly reinstalled CentOS machine, will make it not work like it did before. So far, I think /etc/fstab and /etc/selinux should be -excluded from the initial tar... however I'm sure there's more.

And also, could someone tell me if I'm missing anything?

/home
/etc
/var/documents
/var/spool/mail
/var/mail
/usr/local/bin
/var/spool/cron
/var/mail
/root

Thanks.
 
Old 11-10-2012, 03:53 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Maybe I'm too "old-school", but wouldn't any of us responding to this (somewhat) destroy the purpose of the exercise ?.

You're in this to learn. Cocking it up will teach you faster than anything else. We've all been there - some in commercial environments where cocking it up costs more than a few marks at the end of term.
Think it through, and so long as you can justify your choices, you can't go too far wrong. Even with your instructor (hopefully).
 
1 members found this post helpful.
  


Reply



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
Backup and restore magasem AIX 7 07-30-2006 01:36 PM
restore backup nkeever Linux - Newbie 2 06-19-2006 09:03 AM
backup / restore 5pints Linux - Software 2 01-11-2005 09:08 AM
Backup and restore? tradewind Red Hat 2 07-02-2004 10:18 PM
RH 7.3 Backup and Restore MrJoshua Linux - General 1 06-18-2003 11:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:45 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