mehronx Posted December 29, 2004 Posted December 29, 2004 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.
aaa Posted December 29, 2004 Posted December 29, 2004 I dont know how it can be make in MAC, but in Windows i with Send Message script execute rar.exe with necessary parameters.
dkemme Posted December 30, 2004 Posted December 30, 2004 Search this forum, I posted an Applescript a few months ago on this topic either in AppleScript or Server forums.
Fenton Posted December 30, 2004 Posted December 30, 2004 --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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now