Jump to content

How can I back up using the Command Line?


This topic is 4780 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I am located in Japan, where we're being hit with rolling blackouts after the bit earthquake. Added to this mess, I accidentally applied the Java update that breaks using Filemaker Admin, so I can't get much done at all. The system is stable and we're able to start/stop the database from the command line no problem, but I'd really love it if I could run a script from the command line, to manually back up files when I know a blackout is coming. Can anyone tell me how I'd run a backup script from terminal?

Link to comment
Share on other sites

Two ways of doing it:

1) write a shell script that does:

fmsadmin pause

<insert your own logic here to copy the files to a backup location>

fmsadmin resume

This is basically how backups were done in FMS 5.5, and it still supported.

Downside is that during the backup the users will get a coffee cup cursor if they are entering a lot of data

2) if you have existing backup schedules then do "fmsadmin list schedules" and not the ID of the schedule you want to run, then write a shell script that does

fmsadmin run schedule X

Link to comment
Share on other sites

This topic is 4780 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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