Data Backup and Recovery

MaxDB log truncate

upgkeller
4,706 Views

Has anybody implemented SnapCreator and MaxDB? How does log trucate works? This is not documented.

2 REPLIES 2

upgkeller
4,706 Views

I found a solution for MaxDB 7.7:

1) Create a DB Full-Backup to /dev/null

2) Enable Autolog

3) SnapCreator Config-File:

PRE_APP_QUIESCE_CMD01=truncade_script.bat

truncate_script.bat:

   dbmcli -U netapp db_execute force savepoint
   dbmcli -U db_execute save data quick to 'Netapp' external

4) As a local admin use xuser tool:

user -c domain\user -U netapp -u dbusername,dbpassword -d dbname -n hostname

ktenzer
4,706 Views

Hi,

What is the goal here, simply to delete maxdb archive logs? If so SC has a generic archive log mgmt plugin which can delete files in a directory based on retention. Idea is you want to combine this with snapvault  or some form of backup so you backup the log files to cheaper secondary storage / tape and then delete on primary based on lesser retention.

Also the SC maxdb plugin does a force savepoint so this seems like double effort unless maybe you are using an older version of SC?

Regards,

Keith

Public