Data Backup and Recovery

Cloning an existing snapshot in SnapCreator with mount action - pre/post cmds

pilkar
3,311 Views

I would like to ask a question about executing pre/post_clone commands from configuration during the clone (un)mount process. At this time there are only commands (UN)MOUNT_CMDxx executed. Or am I wrong? It means that I have to script all necessary actions only AFTER creating clone from existing snapshot (MOUNT_CMDxxx) or BEFORE clone delete (UMOUNT_CMDxx). There are no pre_clone, post_clone, pre_ntap or post_ntap commands executed when mounting existing snapshot (= actually executing part of cloneVol action at the background).

Or is there any trick to be able to use also other pre-post commands in mount/unmount actions?

 

Best regards,

Rostislav

1 ACCEPTED SOLUTION

pilkar
3,272 Views

Thanks for help, sorry for my late answer - I have found another article and asked also there. Here it is:

http://community.netapp.com/t5/Backup-and-Restore-Articles-and-Resources/How-do-I-clone-an-existing-snapshot-in-SnapCreator/tac-p/105492#M111

 

BR,

Rostislav

View solution in original post

2 REPLIES 2

spinks
3,285 Views

Hi,

 

Can you clarify which action you are using? 

 

There are a variety of PRE or POST commands aviaiable, but not all of them are used in each action.

 

For example, the clone action runs:

 

PRE_CLONE_CREATE_CMD01=

POST_CLONE_CREATE_CMD01=

 

Different actions may use different PRE/POST commands.

 

The nice thing about Snap Creator though is that it is very flexible - you can manually modify the workflow to call additional commands if necessary.

 

John

pilkar
3,273 Views

Thanks for help, sorry for my late answer - I have found another article and asked also there. Here it is:

http://community.netapp.com/t5/Backup-and-Restore-Articles-and-Resources/How-do-I-clone-an-existing-snapshot-in-SnapCreator/tac-p/105492#M111

 

BR,

Rostislav

Public