Jump to content

doobiedog

Newbies
  • Posts

    1
  • Joined

  • Last visited

doobiedog's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. we are having the same problem with IWP crashing every 4 days or so and we have the latest update v2. Now we are trying a scheduled task to close the databases and all associated services, then copy our backups manually then restart the services. Below is the batch file. @echo off REM shuts down IIS Service net stop w3svc REM disconnects all clients from filemaker databases and gives them 120 seconds to comply "C:Program FilesFileMakerFileMaker ServerDatabase Serverfmsadmin.exe" disconnect --yes --grace-time 120 -u administrator -p lou1948 REM closes all open databases "C:Program FilesFileMakerFileMaker ServerDatabase Serverfmsadmin.exe" close --yes -u administrator -p lou1948 REM stops the database server "C:Program FilesFileMakerFileMaker ServerDatabase Serverfmsadmin.exe" stop --yes -u administrator -p lou1948 REM shuts down filemaker service net stop "FileMaker Server" REM makes backup copies of all databases and puts the files in folders for the seven days of the week xcopy "C:Program FilesFileMakerFileMaker ServerDataDatabasesTothOS*" "D:BackupsFilemaker Daily Backups%date:~0,3%*" /Y /Q /S REM turns on IIS Service net start w3svc REM turns on filemaker service net start "FileMaker Server" REM may not be needed because starting filemaker service should start the database server REM "C:Program FilesFileMakerFileMaker ServerDatabase Serverfmsadmin.exe" START SERVER --yes -u administrator -p lou1948 REM may not be needed because all databases should be open by default REM "C:Program FilesFileMakerFileMaker ServerDatabase Serverfmsadmin.exe" open --yes -u administrator -p lou1948 REM reboots the server if any error is encountered iisreset /restart /timeout:180 /rebootonerror
×
×
  • Create New...

Important Information

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