Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Logs Deletion

Created: 11 Sep 2012 | 3 comments

Dear friends.

Is there any way that netbackup logs can be deleted automatically after certain time duration?

Thank You

Comments 3 CommentsJump to latest comment

Will Restore's picture

Setting retention limits for logs on clients

You can specify the numbers of days that NetBackup retains client logs on UNIX,

Windows, and NetWare.

To set retention limits for logs on UNIX clients

1 In the NetBackup Administration Console, in the left pane, expand Host

Properties > Clients.

2 In the right pane, double-click the client you want to modify.

3 In the properties dialog box, click UNIX Client.

4 In the Client Settings dialog box, find the Keep status of user-directed

backups, archives, and restores for field.

5 Enter the number of days you want to retain the log files, and click OK.

To set the retention limits for logs on Windows clients

1 In the NetBackupAdminsistrationConsole, on the File menu, click Backup,

Archive, and Restore.

2 In the Backup, Archive, and Restore interface, on the File menu, click

NetBackup Client Properties.

3 In the NetBackup Client Properties dialog box, select the General tab.

4 In the Keepstatus of user-directedbackups,archives,andrestores for field,

enter the number of days you want to retain the log files.

5 Click OK.

To set retention limits for the logs on NetWare clients

1 Open the following file:

\veritas\nbuclt\netback\bp.ini

2 Under Keep_Logs_Days, specify the number of days to keep the logs.

3 Save the file with your changes.

Will Restore -- where there is a Will there is a way

Will Restore's picture

For the Master Server:

To control the size and number of unified logs, use the vxlogcfg command and the

vxlogmgr command.

Will Restore -- where there is a Will there is a way

Marianne's picture

The default log retention in NBU is 28 days. Logs are automatically deleted when older than this setting.

This is a global setting on the master server. 
See Host Properties -> Master -> Keep Logs

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links