Cardiofuse Posted January 1, 2006 Posted January 1, 2006 Has anyone figured out how to backup to an attached firewire drive (La Cie)? The filepath is valid (filemac:/LaCie d2 117 GB/Server 8 CQI Backups/) but no scheduled backup occurs. I have changed the group privileges to the La Cie to read and write for fmsadmin. (Do I need to change the ownership to fmserver?). My default folder backups are fine. I used to do this in Sever5.5v4. Any suggestions are greatly appreciated.
dkemme Posted January 2, 2006 Posted January 2, 2006 I have found it more reliable to copy the backup files to the firewire drive using a little AppleScript. If interested I would be happy to email an example.
Cardiofuse Posted January 2, 2006 Author Posted January 2, 2006 That would be incredibly helpful to see the example. My present work around (trial and error) was to change the default backup folder to "filemac:/La Cie Name/Server 8 Backup/" and then set up a schedule to backup at a certain time using this new "default" folder. I then set up a second schedule to "backup" to the original location of the old "default" folder. Don't ask me why this doesn't work the other way around but this allows me to backup both the the Data/Backup folder on the server's Library folder and also to an external drive (important if the Server "dies"). Hope this helps and THANKS ([email protected])...
dkemme Posted January 3, 2006 Posted January 3, 2006 Here's a start: --Hourly move script --Endlessly will move the backup files created by Filemaker server to a removeable volume if present, NOTE these are not live files, but the files created by a backup script in FMS. NEVER COPY LIVE FILES!!! --After first repeat to set up endless loop will first test to see where to start. Then call the subroutine idle, MANY THANKS TO FENTON FOR THIS SUB, and then move the files if disk exists. --1/3/06 Doug Kemme, [email protected] repeat -- set up endless loop --Time differentials to start if time of (current date) < ((9 * 60) + 10) * 60 then idle {9, 10} tell application "Finder" if exists disk "Pocket Drive 78 GB" then -- Maker sure the disk is around move folder "9AM" of folder "Backups" of folder "data" of disk "NCOH Ext 2" to disk "Pocket Drive 78 GB" with replacing end if -- exists disk end tell ---Finder action else if time of (current date) < ((10 * 60) + 10) * 60 then idle {10, 10} tell application "Finder" if exists disk "Pocket Drive 78 GB" then -- Maker sure the disk is around move folder "10AM" of folder "Backups" of folder "data" of disk "NCOH Ext 2" to disk "Pocket Drive 78 GB" with replacing end if -- exists disk end tell ---Finder action else if time of (current date) < ((11 * 60) + 10) * 60 then idle {11, 10} tell application "Finder" if exists disk "Pocket Drive 78 GB" then -- Maker sure the disk is around move folder "11AM" of folder "Backups" of folder "data" of disk "NCOH Ext 2" to disk "Pocket Drive 78 GB" with replacing end if -- exists disk end tell ---Finder action else if time of (current date) < ((12 * 60) + 30) * 60 then idle {12, 30} tell application "Finder" if exists disk "Pocket Drive 78 GB" then -- Maker sure the disk is around move folder "12PM" of folder "Backups" of folder "data" of disk "NCOH Ext 2" to disk "Pocket Drive 78 GB" with replacing end if -- exists disk end tell ---Finder action else if time of (current date) < ((13 * 60) + 10) * 60 then idle {13, 10} tell application "Finder" if exists disk "Pocket Drive 78 GB" then -- Maker sure the disk is around move folder "1PM" of folder "Backups" of folder "data" of disk "NCOH Ext 2" to disk "Pocket Drive 78 GB" with replacing end if -- exists disk end tell ---Finder action else if time of (current date) < ((14 * 60) + 10) * 60 then idle {14, 10} tell application "Finder" if exists disk "Pocket Drive 78 GB" then -- Maker sure the disk is around move folder "2PM" of folder "Backups" of folder "data" of disk "NCOH Ext 2" to disk "Pocket Drive 78 GB" with replacing end if -- exists disk end tell ---Finder action else if time of (current date) < ((15 * 60) + 10) * 60 then idle {15, 10} tell application "Finder" if exists disk "Pocket Drive 78 GB" then -- Maker sure the disk is around move folder "3PM" of folder "Backups" of folder "data" of disk "NCOH Ext 2" to disk "Pocket Drive 78 GB" with replacing end if -- exists disk end tell ---Finder action else if time of (current date) < ((16 * 60) + 30) * 60 then idle {16, 30} tell application "Finder" if exists disk "Pocket Drive 78 GB" then -- Maker sure the disk is around move folder "4PM" of folder "Backups" of folder "data" of disk "NCOH Ext 2" to disk "Pocket Drive 78 GB" with replacing end if -- exists disk end tell ---Finder action else if time of (current date) < ((17 * 60) + 10) * 60 then idle {17, 10} tell application "Finder" if exists disk "Pocket Drive 78 GB" then -- Maker sure the disk is around move folder "5PM" of folder "Backups" of folder "data" of disk "NCOH Ext 2" to disk "Pocket Drive 78 GB" with replacing end if -- exists disk end tell ---Finder action end if -- time differentials end repeat --endless loop -- Will idle time hours and minuts to run occur, thanks to Fenton for the great idea. on idle {HourToRun, MinutesToRun} if ((HourToRun * 60 * 60) + (MinutesToRun * 60)) - (time of (current date)) < 0 then --must be going to the next day delay ((HourToRun * 60 * 60) + (MinutesToRun * 60)) + (24 * 60 * 60) - (time of (current date)) else delay ((HourToRun * 60 * 60) + (MinutesToRun * 60)) - (time of (current date)) end if end idle
xochi Posted January 3, 2006 Posted January 3, 2006 Has anyone figured out how to backup to an attached firewire drive (La Cie)? The filepath is valid (filemac:/LaCie d2 117 GB/Server 8 CQI Backups/) but no scheduled backup occurs. I have changed the group privileges to the La Cie to read and write for fmsadmin. (Do I need to change the ownership to fmserver?). My default folder backups are fine. I used to do this in Sever5.5v4. Any suggestions are greatly appreciated. I've found that if you get the permissions set correctly, it works fine. However, Mac OS X Finder's "Get Info" panel sometimes lies about permissions. I've sometimes found it necessary to set the permissions several times on a folder (and its parents) before the setting "sticks". So, before you give up, do make sure your permissions are set properly. Also, see if the Drive itself doesn't have "Ignore permissions" checked (do a Get-Info on the hard drive icon). I think it should be unchecked.
crebma Posted January 7, 2006 Posted January 7, 2006 If you did get this worked out, I'm trying to do the same exact thing, to the same firewire hard drive, and i have to admit that i don't even know where to begin with that. if there's any chance that i could have a copy of your scripts, or a sample, i would be extremely greatful. i should add that i haven't even begun to have it automatically backup the files yet; i just do it manually. It really only needs to do it one time, in the middle of the night, but no matter what, i will be overjoyed. thank you so much! Amber
Steve N Posted January 7, 2006 Posted January 7, 2006 I am a bit perplexed at what filemaker has done here. In FM6 you could back up to a different computer. I don't see the option to do that in FM 8. There is no specify button next to the filepath. I tried using the same filepath as with 6 and get a "non valid path" Is this to prevent backing up live databases as mentioned earlier or am I missing something. Me thinks writing an applescript or using retrospect seams like a extra step not needed in FM 6
Cardiofuse Posted January 8, 2006 Author Posted January 8, 2006 My external backups to firewire (La Cie) and to the resident hard-drive (Library/Data/Backups) seems to be working fine. I first created a folder (Name Backups) and used the "get info" command to assure the folder has the correct permissions (namely that the group-fmadmins has read and write priviliges). I next changed the default backup folder to "point" to this folder. I then created two schedules; the first to use this new backup folder to backup daily at 8pm. I then created a second schedule to backup to the internal hard drive daily at 6pm. If you would like more detailed instruction; I would be happy to provide you with the written steps. You may have to restart a time or two to make the new priviliges "stick" as mentioned above. Good luck!
crebma Posted March 4, 2006 Posted March 4, 2006 I know this iskind of late, but yes, I would love to see how to make the actual schedule for FileMaker, if you're still interested. Thank you! Amber
Recommended Posts
This topic is 6838 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