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

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

Recommended Posts

Posted

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

  • 2 weeks later...
Posted (edited)

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 by Guest
Posted (edited)

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 by Guest
Posted

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

Posted (edited)

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 by Guest
Posted

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

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