Start a Conversation

Unsolved

This post is more than 5 years old

T

1317

November 18th, 2013 05:00

avamar group pre- & postprocessing

Is there a way to implement pre- & postprocessing on a group level in stead of a client ?

Let's say you have 2 servers. You need to run a script (precommand) on server1 before backup of server1 & server2 can start.
When both server1 & server2 is ready, then you run a script on server1 again (postcommand)

2K Posts

November 18th, 2013 10:00

There is no way to do this within the Avamar client itself but you could hack something together inside the scripts themselves.

You could have the pre-script on the first client touch a file when it completes its work and have a pre-script on the second client that waits in a loop until it sees the file appear. On the post-script side, the file create and the wait would be reversed. It wouldn't be pretty but it would work.

Community Manager

 • 

6.1K Posts

November 18th, 2013 19:00

Avamar does not have feature to meet your the needs. But as Ian said, you can try to use script to meet your needs. Ian mentioned way should be available.

November 21st, 2013 23:00

It should apparently be possible:

Start a backupgroup on server1:

-Precommand to stop the application on server 1 and use the "mccli client backup-dataset" command to run a backup on server2 (see mccli command reference guide)

-When the precommand is finished, backup server1 will start

-Postcommand to start de application on server1

No Events found!

Top