Jump to content
Server Maintenance This Week. ×

Running FMS script after back up


This topic is 4283 days old. Please don't post here. Open a new topic instead.

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.

Link to comment
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>

Link to comment
Share on other sites

This topic is 4283 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

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