Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Could someone point me to any resources about creating an Applescript to archive the databases?

I need to run a script every few hours from FM Server 5 that will archive and date name backups. I looked around a little but didn't turn anything up. I'm sure that this has been covered and I'm probably missing it.

Posted

I dont know how it can be make in MAC, but in Windows i with Send Message script execute rar.exe with necessary parameters.

Posted

--tell application "FileMaker Developer"

tell window 1

set file_bakTxt to cell "_cFile_bak"

-- complete file path of backup file

set file_zip to cell "_cFile_zip"

-- same but for zip file

end tell

--end tell

tell application "Finder"

set thePath to quoted form of POSIX path of file_bakTxt

set savePath to quoted form of POSIX path of file_zip

do shell script ("/usr/bin/ditto -c -k -rsrc --keepParent " & thePath & " " & savePath)

end tell

This topic is 7267 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.