Re: Back up script
Re: Back up script
- Subject: Re: Back up script
- From: Emmanuel <email@hidden>
- Date: Fri, 15 Jun 2001 18:28:42 +0200
At 17:34 +0200 14/06/01, George de Bruin wrote:
>
>
I use retrospect to automate my backups for the network and looking for a
>
script that would close certain applications / databases on different
>
computers before the backup starts and then when Retrospect is done it
>
would open those applications and databases for me.
>
>
Does anyone have a script like this or can point me in the right direction.
Maybe you won't get a turnkey solution through the list, but here are a few
pointers which may help (my advice would be to have a look to the Finder's
dictionary):
-----------------------------
tell application "Finder" of machine "RemoteOne" to get name of every process
-----------------------------
returns all running apps (and more) of machine "RemoteOne"
-----------------------------
tell application "Finder" to get application file of process theName as alias
-----------------------------
returns the reference to the file of the application "theName"
-----------------------------
tell application "Finder" to open theAppAlias
-----------------------------
launches the app whose file reference was stored in theAppAlias.
HTH
Emmanuel