Scott Andrews
Oct 9, 2017 5:04:30 PM

How to start Syncrify backup remotely as part of a script

I have a SQL backup that occurs late at night.  That job places some rather large .bak files on a server running the Syncrify client.  I'd like to fire off a post-backup script that launches a console-based backup to copy those files off-site to the Syncrify server.  How can I remotely script a job to start?  Thanks!



Synametrics support engineer
Oct 9, 2017 5:16:52 PM

How to start Syncrify backup remotely as part of a script

Scott,

Why not use the SQL Server Plugin in Syncrify? That runs in two phases. Phase I will create *.bak file(s) and phase II will move them to the remove machine using Syncrify.

Another alternative is to use the Post/Pre plugin in Syncrify.

 



Anonymous
Oct 9, 2017 5:21:34 PM

How to start Syncrify backup remotely as part of a script

The SQL backup is part of a larger string of operations.  I'd love to use Syncrify instead, but my hands are tied.  All I can do is launch a script when the job is done.  Or, ideally, have Syncrify monitor a folder for changes while the SQL backup is occuring so that it could start copying files as soon as each .BAK file was finished being written to that folder...



Synametrics support engineer
Oct 9, 2017 8:33:58 PM

How to start Syncrify backup remotely as part of a script

Sure, no problem. You can certainly spawn Syncrify backup at the end of your processing. There are two variations:

  1. Running in GUI mode - This is done by passing the ProfileName.syncrify as a parameter to SyncrifyClient.exe file. For example:

    SyncrifyClient.exe myProfile.syncrify

    Note that the parameter just takes the name of the profile, not the entire path. It will look for myProfile.syncrify file in the $DATA_FOLDER. Syncrify will display a small screen displaying showing the status of the running job.

  2. Running in console mode - This is similar to GUI mode but with a -console parameter. For example:

    SyncrifyClient.exe -console myProfile.syncrify

    This will not display any GUI and will run backup in console mode.

Navigation

Social Media

Powered by 10MinutesWeb.com