December 29, 200421 yr 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.
December 29, 200421 yr I dont know how it can be make in MAC, but in Windows i with Send Message script execute rar.exe with necessary parameters.
December 30, 200421 yr Search this forum, I posted an Applescript a few months ago on this topic either in AppleScript or Server forums.
December 30, 200421 yr --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
Create an account or sign in to comment