Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can the include_list be a soft-link?

Status
Not open for further replies.

ksetia

Technical User
May 7, 2002
34
0
0
SG
Hi All,

Can the include_list be a soft-link to a file containing the filenames of files to be backed up?

For e.g.
cd /usr/openv/netbackup/
ls -al include_list.Backup_Class
include_list.Backup_Class -> ./oracle/include_orafiles.lis

We recently observed that the files backed up are not the one that we specified. For e.g., in the NetBackup GUI on the master server, we would specify "/*" in the "Files" entry of the backup class named, for e.g. "Backup_Class".

Then on the client side, in the /usr/openv/netbackup/ the exclude_list.Backup_Class would contain "/*". For the include_list.Backup_Class on the client side, we create it as a soft-link to the actual file (include_orafiles.lis) containing the list of files to be backed up.

The files backed up is not the ones that we wanted. Is this because of the soft-link?

We also tried removing the soft-link and made a copy of the include_orafiles to the /usr/openv/netbackup/include_list.Backup_Class. Again, the backed up files were not what we wanted.

The backup was only successful when we removed the exclude_list.Backup_Class and the include_list.Backup_Class in the /usr/openv/netbackup/ directory and placed the list of files to be backed up in the NetBackup GUI's "Files" entry for the Backup_Class.

Any take on this?

Regards,
Kevin
 
You specified to exclude anything with / not just root.

Try to exclude just / no *

Then include /oracle/include_orafiles.lis
 
Hi All,

We found that the error is in the contents of the include_list files. Seems that there are trailing spaces in the entry and that was the problem. This case was resolved when the trailing spaces were removed.

Thanks.

Regards,
Kevin Setia
 
Thank you for posting the resolution.
I wonder if trailing spaces is platform specific?
What platforms are you using?

Bob Stump
Incorrigible punster -- Do not incorrige
 
Trailing spaces cause problems in pretty much all environments - At least from my observations. I have seen this in include and exclude lists.
 
Our platform is Solaris 8 ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top