Forum Discussion

Will_Restore's avatar
17 years ago
Solved

RedHat client Backup Selections?

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?

  • 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.

7 Replies

  • 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)


  • 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..

  • You can use the all_local_drives as selection in the backup selection


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

  • 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.
  • Hi

    You can use ALL_LOCAL_DRIVES  as the backup selction .