Blog

Home / Blog / FileMaker / Backups in the Cloud with AWS
23Jun 2016

Backups in the Cloud with AWS

About the Author

Mike Duncan

Mike is an AWS Certified Solutions Architect as well as a certified FileMaker Developer. In addition to his work, Mike also enjoys pursuing his art, freelance writing, traveling, and spending time with his family.

Comments (11)

Kevin - July 5, 2016

Thanks for article. Very useful. I have tried to get this working but my batch file just runs and nothing appears in my bucket. I have gone through the CLI for AWS configuration and setup my bucket permissions to allow any authenticated AWS user to upload/Delete. Is there something els that could be stopping the upload. I have tried to view the command line result but not sure where to view the logs that may indicate a problem.

Reply
    Mike Duncan - July 5, 2016

    Hi Kevin,

    You might try to run that last line manually in the command prompt. To do this, you may need to configure the AWS CLI with your info, instead of specifying it in the batch file. You should be able to troubleshoot from there, and tell if the issue is misspelled bucket, account, etc.

Kent Searight - July 11, 2016

Terrific option for FMS backups in the cloud. Your clear instructions made setting this up a breeze. Thanks a lot!

Reply
Joan Subiros - November 20, 2016

How can i do the batch for a Mac Mini ?
Thanks.

Reply
    Mike Duncan - November 21, 2016

    Hi Joan,

    You can install the AWS CLI for Mac OS to do this. You wouldn’t use a batch file, but a shell script or applescript and you can do the same thing. Does that help?

    Mike

      Joan Subiros - November 21, 2016

      Then, the second question is ……… any idea to do that ? (i come from win world, sorry)

        Mike Duncan - November 21, 2016

        The installer is available here: https://aws.amazon.com/cli

        The scripting on OS X will look pretty much like the examples you can find for linux, running bash shell. I suspect the biggest hurdle you may find is running the script under the fmserver user, so you may need to switch to that user to run the config to add the correct keys and pass to that, unless you pass them as part of your script. I haven’t set this up on OS X, but it is supported in AWS CLI.

        I have had some success with running shell scripts on OS X and FM Server as an applescript, or use an applescript to launch a shell script to overcome some permissions errors I run into some times, but not sure if this is needed here. I’ll report back if I get the chance to test.

        Mike

Oliver - December 20, 2016

Thanks Mike, it’s very helpful.

One challenge it come across is when I put the script to Filemaker schedular to run. It returned an error said “aborted by user”. Any clue for this? It’s in Windows environment.

Reply
    Mike Duncan - December 20, 2016

    Hi Oliver,

    You can test the script by running it manually in the command line. If it runs OK, then you likely need to restart. If the AWS CLI is installed after FM server is already running, you will need to restart in order for it to see the CLI.

    Mike

Leave a Reply