March 19, 201114 yr 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?
March 19, 201114 yr 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
Create an account or sign in to comment