November 15, 200718 yr I know the server will make an automated backup of the db...and that goes to the same folder each time (or have I missed something about making daily backups). So, if you have a bad db then you are backing up the bad db. I have wondered if there was a way to make a "Daily" backup to different folders. [color:green]I was searchin the Internet and found this: I am trying to script a backup for a file. If(Day of Week = 2, backup to folder Monday, If(Day of Week = 4, backup to folder Wednesday, After writing these steps, when I look at the Monday step, it is set to save to Wednesday; it apparently doesn't save the folder name to save to. I something like this even possible before I start attempting it? Thanks, Jame
November 15, 200718 yr Yes, I use this approach to make a daily back up and place them into a daily folder. I set up the Monday through Friday folders in advance. HTH
November 15, 200718 yr Author Thank you for the info and your time. I will give it a shot and see if I can make it go. James
November 28, 200718 yr Author Hi, Hate to reopen this one but I can’t figure out why… I finally got it to work just as it is laid out above (100% copy from the example (of course with my fields) and it works great on my pc I develop on locally). Then I placed the db on our server and when the client executes the manual backup nothing happens, or I should say, the script runs and ask if they want to do a backup and then prompts that the backup was successful. However there is no backup created manually (not anywhere on the server or client)…but, if I go to the server and open the db there , and execute the manual backup script the manual backup is created showing the current day of the week as the filename on the server? Is this something that cannot be executed with a client from a server? Thanks, James Edited November 28, 200718 yr by Guest
November 29, 200718 yr Author We are running it on a LAN...Server 8 and clients 8.5 If I open the db from the server with a client the bu does not work. If I open the db dierctly on the server the bu works. If I take a copy of the db and place it on a pc and open the db on that pc the bu works. Basically it does not work when opened from the server with a client. So, I am at a loss at this point. Any suggestions? Thanks, James Edited November 29, 200718 yr by Guest
November 29, 200718 yr Save a Copy does not work on a hosted file. It never has worked. it's not supposed to work. If you need a backup, use the FM Server backup utility, accessible via the SAT Tool (7/8) or the Admin Console (9). Steven
November 29, 200718 yr Author Thanks, That is the answer I was looking for, I just did not know what I should ask, I just assumed it was a script problem. James Edited November 30, 200718 yr by Guest
November 30, 200718 yr Glad that I could assist you. Sometimes the hardest part is knwing the question, not finding the answer. I'd recommend that you take a look at the Server Tech Brief on the FMI web site. it contains a wealth of useful information about FileMaker Server. Steven
Create an account or sign in to comment