Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

RedHat client Backup Selections?

Updated: 21 May 2010 | 7 comments
wrobbins's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

I'm mainly as Solaris guy but unix is unix, right? ;-)

We have some new RedHat clients and for now Backup Selections is set to ALL_LOCAL_DRIVES. 
Is there recommended or best practice as to which filesystems to back up and which to exclude on RedHat client?

discussion Filed Under:

Comments

Karthikeyan Sundaram's picture
03
Jun
2009
0 Votes 0
Login to vote

Its based on your requirement

Inclusion List is based on your requirement you can give.

but netbackup will exclude some files and directiories by default.

Here is something from Unix Admin Guide

Excluding files from backups
By default, a number of files and file states are not backed up by NetBackup. You can also exclude specific files from automatic backups by specifying the files or directories in an exclude list on the client.
Files that are excluded from backups by default
By default, NetBackup does not back up the following files:
NFS files or directories. To back up NFS files, enable Follow NFS.
Files or directories in a different file system. To backup up files in a different file system, enable Cross mount points.
Files or directories with path lengths longer than 1023 characters.
Files or directories in which the operating system does not return inode information (the lstat system call fails).
Directories that NetBackup cannot access (the cd command cannot access).
On the disks that Storage Migrator manages; on migrated files or directories where Storage Migrator does not return inode information (mig_stat fails). Note that NetBackup Server does not support Storage Migrator.
Socket special files. (Named pipes are backed up, however.)
Locked files when locked by an application that currently has the file open.
Busy files. If a file is open, NetBackup backs up the last saved version of the file.

NetBackup automatically excludes the following file system types on most platforms:

cdrom (all UNIX platforms)
cachets (AIX, Solaris, SGI, UnixWare)
devpts (Linux)
mntfs (Solaris)
proc (UNIX platforms; does not exclude automatically for AIX, so /proc must be added manually to the exclude list. If /proc is not added manually, partially successful backups may result with the ALL_LOCAL_DRIVES directive on AIX)
tmpfs (Linux)
usbdevfs (Linux)


Thanks, Karthikeyan Sundaram.

rj_nbu's picture
03
Jun
2009
0 Votes 0
Login to vote

general exclusions on linux

/proc
/tmp

I have seen some people exclude /mnt also

-Rajeev
"Unix IS user friendly... It's just selective about who its friends are"

Nitesh's picture
03
Jun
2009
2 Votes 0
Login to vote

general exclusions on linux

The first thing that linux filesystem diffrent from windows filesystem. The Linux filesystem
working as unix filesystem ...

we can't use ALL_LOCAL_DRIVES for linux system

we can use this type of backup selection

/home
/usr

etc..

Nitesh

rj_nbu's picture
03
Jun
2009
1 Vote +1
Login to vote

No, you can use all_local_drives in the selection

You can use the all_local_drives as selection in the backup selection

-Rajeev
"Unix IS user friendly... It's just selective about who its friends are"

wrobbins's picture
08
Jun
2009
0 Votes 0
Login to vote

ALL_LOCAL_DRIVES certainly works for us

That may be overkill though (waste of tape & time). 
Do we really need to backup /bin and /lib for example?

~ Bill

Andy Welburn's picture
08
Jun
2009
0 Votes 0
Login to vote

If you're quite happy that you can manage

if anything screws up in these filesystems....

We generally (always) backup / & below or ALL_LOCAL_DRIVES on all our *nix platforms (+Wintel too I s'pose) - also less admin than to start thinking about exclude_lists etc.

Regards Andy

"It's not too late to panic ..."

shans's picture
09
Jun
2009
2 Votes 0
Login to vote

No we can use

Hi

You can use ALL_LOCAL_DRIVES  as the backup selction .