Data Backup and Recovery Discussions

MaxDB log truncate

upgkeller

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

2 REPLIES 2

upgkeller

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

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

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public