Aller au contenu principal

Post Command after Validation process

Thread needs solution

Hi All,
Is there a way to run post command after validation process? instead of prior validation process?
According to http://kb.acronis.com/content/1744 post command is done prior validation process

I'm currently creating backup & validation process in which involving 2nd remote backup location. As 2nd backup location located remotely, I need to trigger VPN connect command prior and post backup & validation process.

Unfortunately after backup completed, the post command is executed; and afterwards the validation process kicks in; and this is when the backup & validation fails.

Furthermore, if I separate Validation process with Backup process into two processes; in Validation process, there is no "Pre/post command" options

Thanks!

0 Users found this helpful

Hello Jo Sidarta,

Thank you taking time to post your issue in our forum. I am happy to assist you.

You have identified the root cause of your problem correctly. The post command will execute before the validation starts.

To work around you can use command line utility. To do this, you define the backup plan as already done. The pre command leaves as it is. For the post command, you define a new batch file, including an acrocmd command and disable the validation in this backup plan. The benefit of this method is, that in the batch file, you first can process the validation of last backup and after that, you easy can add your post command. When created, simple add this batch file to your post command option. 

The backup plan run pre command and backup, and as post command starts the batch file that is running the validation and your post command.

See this Example:

acrocmd validate backup --loc=E:\backups\ --arc=my_archive

--loc -> This defines your backup vault location

--arc -> This defines your name of archive

--backup -> there you can define the dedicated backup. If the parameter is not specified, the operation will be applied to the latest backup. (Which is the operation, that you want to do)

See an overview of all parameters in this link to online help.

Let me know if you need additional help please.

Thank you.