Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

I have a server running Server 8.0v2 Advanced where I have had the schedule running hourly backups 24/7 followed by a 15-minute offset cronned shell script to backup the hourly backups to a different server in zipped form.

However, yesterday, I found that the schedule which was running fine up until 2 days ago had mysteriously switched to running only at 9:00pm and then again at 10:00pm before jumping ahead to 9:00pm the following day (as shown by the event.log)!! As a result, practically a day's worth of data was lost when I had to remotely transfer the data to a developer for overnight amendments - a lesson not to be forgotten!

I was wondering if there is any way to run a shell script to achieve what FileMaker scheduler is attempting to do because I feel that cron is far more reliable and can't afford for any further data losses on this scale.

Any assistance/thoughts would be gratefully appreciated.

Dene Stringfellow

Absolutely. FMS has a command line you can call from a shell script to initiate a backup. Check the manual for a full list.

  • Author

Brilliant, thanks for that. Hopefully, I can bypass the schedule as it has the new hourly schedule has screwed up again! Stopped running after 11:00pm last night and the next scheduled backup jumped to 11:00am this morning and upon completion at 11:00am today the next scheduled backup has jumped to 12:00pm tonight. Bizarre!

  • Author

I've done a couple of tests using the command line tool.

I've tried the following:

From the command lines:

fmsadmin BACKUP

fmsadmin BACKUP -d /Library/FileMaker Server/Data/Databases/

fmsadmin BACKUP -d /Library/FileMaker Server/Data/Databases/ /Library/FileMaker Server/Data/Backups/

both commands run fine.

However, when I save the commands as a shell script, run chown 755 to allow read and execute permissions to everyone, run various chown and chgrp to change the owner and group of the shell script I get the following error:

Error: 20405

Does anyone have any idea what this error might be? And how I can get the script to run? I am running other executable scripts without any problem. Is this just an fmsadmin commandline issue?

Dene

  • 2 weeks later...
  • Newbies

I also get this error and I don't know what it means either...

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.