Jump to content
Sign in to follow this  
David Jondreau

Running FMS script after back up

Recommended Posts

Any chance I can run an FMS script after a backup schedule runs? I know there's options to run FMS scripts and system scripts in conjunction, but not with a backup schedule.

I could just schedule the script to run on the same interval as the backup plus one or two minutes, but that feels inelegant.

Share this post


Link to post
Share on other sites

You can run an FMS backup schedule for the command line so yes: use a script sequence schedule that runs an OS-level script to do the backup, followed by a FM script. If the FM script can only run if the backup was successful then your OS level script needs to trap for any error and exit the OS script with a non-zero value, which will prevent the FM script from running.

Two ways of doing backups from the command line:

fmsadmin backup

or

fmsadmin run <schedule # --> your backup schedule>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.