Using Orchestrator to take Volume Shadow Copies
We have a pair of 2019 core servers running our file shares.
We also use System Center Orchestrator to automate some things.
Here is how I set up Orchestrator to take initate VSS snapshots.
This all looks a bit like this with server names redacted!
We also use System Center Orchestrator to automate some things.
Here is how I set up Orchestrator to take initate VSS snapshots.
- Ensure that VSS is running ok on your fileserver and you can manually take a VSS snapshot - using vssadmin.
- Decide on your schedule - we do a snapshot every 2 hours.
- Create a Monitor Date/Time step configured to the required VSS schedule
- I found the only way to get VSS to run correctly was using PSEXEC to run the actual VSS snapshot
- So make a Run Program step for each File Server, to run the following command line (replacing values where needed)
- psexec.exe -h -accepteula \\fileserver01 vssadmin create shadow /for=F:
- Make sure you enter an account in the Advanced and Security sections. The account needs the correct permissions to create VSS snaps on the fileservers!
- I then do some error checking and logging based on this with failures also raising an email notification to the IT team.
This all looks a bit like this with server names redacted!
Comments
Post a Comment