FMAaron Posted February 14, 2008 Posted February 14, 2008 (edited) I have a batch script with the command: copy /Y "C:Program FilesFileMakerFileMaker ServerDataBackups*.fp7" Q:Backups If I run the batch script while logged in as Admin by double clicking it all of my FileMaker databases in Backup on the local drive are copied to Backup on the mapped drive Q. I have a schedule programmed in FileMaker server to run this batch script at a set time. The admin console claims that the script is run without errors. When I check the backup folder it did none of the backups it was supposed to do. Why will the script run when I double click it but not when FileMaker Server tells it to? Thank you for your help. Edited February 14, 2008 by Guest
IdealData Posted February 14, 2008 Posted February 14, 2008 Are you using the Send Event script step? If so then it won't run because FM SERVER only supports web compatible script steps - however FM CLIENT supports all the script steps.
FMAaron Posted February 14, 2008 Author Posted February 14, 2008 (edited) Thanks for your quick response! I am always impressed with how friendly and responsive FileMaker users are. I am not running the script from within a FileMaker database. I have scheduled the script to run from the Admin Console Schedules. I assume that is what you are referring to with the Send Event script step. Did I understand you correctly? I thought it would include the info from my profile in the first post (I don't think it did.) I am running FMS on Windows 2003. Edited February 14, 2008 by Guest
mcyrulik Posted February 20, 2008 Posted February 20, 2008 We had tried to do that also, on previous versions of filemaker server. It ended up being something to do with privileges that we could never remedy. It almost seemed like the fmsadmin user didn't have the rights to run that script. We ended up using the FM Server scheduling to back up the databases to a local folder, then used the built in Task Scheduler to move the files to the network drive. Works just as well if you output the results of your "copy" statement to an output file.
Steven H. Blackwell Posted February 21, 2008 Posted February 21, 2008 FMSAdmin does not have rights to run the OS script unless you tell it to "run as" with appropriate admin credentials for the source location. See the excellent white paper on Backups on Wim Decorte's web site here. Steven
Recommended Posts
This topic is 6118 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 accountSign in
Already have an account? Sign in here.
Sign In Now