H
H Beinert
Hello,
I'd be grateful for some advice. I've done a fair amount of research, and
have found
quite a large volume of material on this general subject, yet none of it
really solves
the problem I'm trying to solve.
My typical s/w context: Mac OSX 10.4.8, Entourage 2004
I would like to set up an automated cron job which regularly backs up the
Entourage
identity files. The workstations in question could be in use at any time,
and Entourage
is almost always running. I would like to ensure ensure uncorrupted backups
and
preserve the transactional integrity of the mail database. This is made
more difficult by
the fact that some of the database files will potentially take longer to
copy than the mail
server polling interval, thereby ensuring that the database file will always
be modified
during a backup.
A rough outline of the steps might be as follows:
1. (Applescript) Tell Entourage to quit,
2. Pause briefly to allow Entourage to quiesce,
3. (Applescript) Tell the Database Daemon to quit,
4. Copy the relevant files,
5. (Applescript) Restart Entourage if it was originally active,
6. Compress the copied files and archive them appropriately
So far, this method would work, except for two possible snags:
1. What happens if a user is either in the midst of working, or a dialog
box is thown
when Entourage receives the "quit" (such as when a "compose" window is
open),
2. Since the Database Daemon is used by other MS Office applications, do
these
applications also need to be quit? If so, what about open documents,
etc, etc?
Is there perhaps an alternative way of accomplishing the same goal? For
example,
could one use Applescript to set Entourage into "offline" mode, then quit
the daemon
while leaving Entourage running, and only then take the snapshot? Or
perhaps some
other approach?
Surely there must be some provision for unattended backups which can result
in a
reliable copy of the mail database.
I would very much appreciate any advice or insight. TIA,
HB.
I'd be grateful for some advice. I've done a fair amount of research, and
have found
quite a large volume of material on this general subject, yet none of it
really solves
the problem I'm trying to solve.
My typical s/w context: Mac OSX 10.4.8, Entourage 2004
I would like to set up an automated cron job which regularly backs up the
Entourage
identity files. The workstations in question could be in use at any time,
and Entourage
is almost always running. I would like to ensure ensure uncorrupted backups
and
preserve the transactional integrity of the mail database. This is made
more difficult by
the fact that some of the database files will potentially take longer to
copy than the mail
server polling interval, thereby ensuring that the database file will always
be modified
during a backup.
A rough outline of the steps might be as follows:
1. (Applescript) Tell Entourage to quit,
2. Pause briefly to allow Entourage to quiesce,
3. (Applescript) Tell the Database Daemon to quit,
4. Copy the relevant files,
5. (Applescript) Restart Entourage if it was originally active,
6. Compress the copied files and archive them appropriately
So far, this method would work, except for two possible snags:
1. What happens if a user is either in the midst of working, or a dialog
box is thown
when Entourage receives the "quit" (such as when a "compose" window is
open),
2. Since the Database Daemon is used by other MS Office applications, do
these
applications also need to be quit? If so, what about open documents,
etc, etc?
Is there perhaps an alternative way of accomplishing the same goal? For
example,
could one use Applescript to set Entourage into "offline" mode, then quit
the daemon
while leaving Entourage running, and only then take the snapshot? Or
perhaps some
other approach?
Surely there must be some provision for unattended backups which can result
in a
reliable copy of the mail database.
I would very much appreciate any advice or insight. TIA,
HB.