LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-23-2008, 02:33 PM   #1
kfujimoto@trimac.com
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
Directories to skip for tape backups for RHEL5


Hi,

I am new to linux and was wondering if there are standard directories that should be skipped for the tape backup. eg, in windows skip pagefile.sys

What is the /sys directory and should this directory be skipped? What about /boot? Are there any standard directories or files that should be skipped for tape backups. I am trying to configure a standard linux directive in EMC networker backup software which will include directories and files to skip.

Thanks

Ken
 
Old 12-23-2008, 03:07 PM   #2
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
it tends to vary from use to use but any virtual filesystem such as /proc and /sys do not need to be backed up.

I'd start with not including /proc, /sys, /tmp, /media, /mnt, and /dev. Again, depending on the system's use you may want /tmp or /media or /mnt or /dev. However, /sys and /proc are generated every boot and are persistent only for that boot so there is no need to attempt to backup data under either. They are a view into the kernel and system devices allowing for tuning and what-not.
 
Old 12-23-2008, 04:29 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
If you want to perform backups so you can do bare metal recoveries, then only back up the data that is not native to the OS itself. Most people in a production environment can kickstart or have standby systems faster than you can locate the data to recover, even using automated tools.

Basically my rule of thumb is to backup any proprietary applications for quick recovery along with modified configuration files.

I can kickstart a machine within 5 minutes and have it up and running in about 15-20 minutes top. Applying the backups for configurations from the system is faster than recovering the whole system as a backup.

So be picky in what you backup, if you really do need to backup everything which includes bits of the OS to avoid a reinstall, just avoid backing up any of the pseudo file systems like lost+found, media, sys, dev, proc, misc and mnt on most cases. You can also save time by not backing up /var unless you backup databases that reside there and or email which is spooled there. Also avoid backing up /tmp in most cases.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tape Backups and How can i find out the Name (label) of the tape in the drive?? helptonewbie Linux - Newbie 2 10-27-2008 07:20 AM
tar does not skip empty directories lrt Linux - Software 7 10-01-2007 12:23 PM
Having trouble with tape backups caps_phisto Linux - General 2 12-06-2006 10:37 AM
Restoring data from tape backups enygma Linux - General 8 11-11-2004 01:29 PM
trouble using dd for tape backups. Jason Foat Linux - Hardware 1 05-21-2002 02:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:46 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
Open Source Consulting | Domain Registration