dbTalk Databases Forums  

Backup routine without FMS

comp.databases.filemaker comp.databases.filemaker


Discuss Backup routine without FMS in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Christoph Kaufmann
 
Posts: n/a

Default Backup routine without FMS - 03-25-2010 , 01:17 PM






FMP 10 or 11: Suppose I can't get the client to buy FMS (only two
users), I need to copy the files from the client computer that has them
(opens them first, becomes the host) to the file server where the backup
routine catches them.

I notice I can use "Save copy as..." when I'm the host, even while
guests are there.

However, if I script that, the script needs to find out if the FMP it
runs on is the one on the host or the guest computer.

Should I try

isempty ( get ( hostipaddress ) ) ?

Or just trigger the script whenever the file is closed, relying on the
fact that no harm will be done when the guest tries to use "save copy
as..." because he can't and nothing will happen?
--
http://clk.ch

Reply With Quote
  #2  
Old   
KevinSmith
 
Posts: n/a

Default Re: Backup routine without FMS - 03-27-2010 , 01:26 AM






Hello Chris

Try this: If Get(MultiUserState) =1
It will tell you if current user is the host. In older versions of
FileMaker I've run a backup script on startup.

With script triggers you might like to experiment with Install OnTimer
Script [“<script name>”; Interval: <number>]. This will allow you to
set a 6 hourly interval. You need to take into account that the a
timer is linked to a window. Once the window is closed, the timer is
lost.

Regards
Kevin Smith



On Mar 25, 7:17*pm, c... (AT) tele2 (DOT) ch (Christoph Kaufmann) wrote:
Quote:
FMP 10 or 11: Suppose I can't get the client to buy FMS (only two
users), I need to copy the files from the client computer that has them
(opens them first, becomes the host) to the file server where the backup
routine catches them.

I notice I can use "Save copy as..." when I'm the host, even while
guests are there.

However, if I script that, the script needs to find out if the FMP it
runs on is the one on the host or the guest computer.

Should I try

isempty ( get ( hostipaddress ) ) ?

Or just trigger the script whenever the file is closed, relying on the
fact that no harm will be done when the guest tries to use "save copy
as..." because he can't and nothing will happen?
--http://clk.ch

Reply With Quote
  #3  
Old   
Christoph Kaufmann
 
Posts: n/a

Default Re: Backup routine without FMS - 03-28-2010 , 06:45 AM



KevinSmith <pleasedonotusethisaddress (AT) gmail (DOT) com> wrote:

Quote:
Try this: If Get(MultiUserState) =1
Haven't noticed this function before, it's perfect. I think I'll use < 2
rather than = 1 so I'll have a backup even sharing is turned off by the
main user.
--
http://clk.ch

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.