Sponsored in part by... Readers Like You! READERS LIKE YOU! Support TidBITS with a contribution today!
<http://www.tidbits.com/about/support/contributors.html>
Special thanks this week to John O'Shaughnessy, Bob Dolan,
Robin S. Armstrong, and David M. Douds for their generous support!

 [F] TidBITS  / TidBITS  / TidBITS Talk  /

Backup Databases and Time Machine

[Ross, Diane]Diane Ross (apparently) - 08:10am Jan 9, 2008 PST
via email

I wanted to add to the conversation about databases with a workaround to use
with your Time Machine backup. My previous tutorial posted steps to use a
folder action to replicate the Time Machine process for the Entourage
database. This workaround can be used with any database that you have
excluded from Time Machine. Leopard only obviously.

1. Exclude the database file (like the Microsoft User Data folder) in the
Time Machine options, which will stop it backing up every hour.

2. Create an "Backup" folder - which is not excluded. It's OK to use your
Documents folder for this.

3. Create a timed action. See tutorial but start with Step 3, which will
copy the database to the backup folder, at the interval required - every
day, every week, or whatever. This should overwrite the previous backup each
time, as Time Machine has taken care of duplicating the last copy.

See tutorial for step 3:

Entourage and Time Machine (The Entourage Help Blog)
<http://blog.entourage.mvps.org/2008/01/entourage_and_time_machine.html>

Now back to discussing the merits of databases. :-)

--
Diane Ross, Microsoft Mac MVP
Entourage Help Page <http://www.entourage.mvps.org/>
Entourage Help Blog <http://blog.entourage.mvps.org/>
 




Mark as Read
  OutlineAll MessagesOlder MessagesOldest MessagesNewest MessagesNewer Messages

Matt Neuburg (apparently) - Jan 10, 2008 12:46 pm (#1 Total: 9)  

Reply to this message
via email  

Photo of Author
Posts: 2639
Re: Backup Databases and Time Machine

On or about 1/9/08 7:10 AM, thus spake "Diane Ross" <dianeoforgmail.com>:

> 1. Exclude the database file (like the Microsoft User Data folder) in the
> Time Machine options, which will stop it backing up every hour.
>
> 2. Create an "Backup" folder - which is not excluded. It's OK to use your
> Documents folder for this.
>
> 3. Create a timed action. See tutorial but start with Step 3, which will
> copy the database to the backup folder, at the interval required - every
> day, every week, or whatever. This should overwrite the previous backup each
> time, as Time Machine has taken care of duplicating the last copy.

What problem does this solve? Either you're going to back up the database or
you aren't. If you are, it doesn't matter whether you back it up every hour
or every week (since Time Machine prunes its backed-up files as necessary).
m.

--
matt neuburg, phd = matttidbits.com, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
AppleScript: the Definitive Guide, http://tinyurl.com/2ouo3b
Take Control of Customizing Leopard, http://tinyurl.com/2t9629
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com




barry.wainwright (apparently) - Jan 12, 2008 6:13 am (#2 Total: 9)  

Reply to this message
via email  

Photo of Author
Posts: 58
Re: Backup Databases and Time Machine

On 10/01/2008 19:46, "Matt Neuburg" <matttidbits.com> wrote:

> What problem does this solve? Either you're going to back up the database or
> you aren't. If you are, it doesn't matter whether you back it up every hour
> or every week (since Time Machine prunes its backed-up files as necessary).
> m.

If you have, like some people, a 6gb database, then your performance takes a
real hammering for the 5 - 10 minutes that Time Machine is copying it over,
once per hour.

--
Barry



johnbaxterlists (apparently) - Jan 12, 2008 6:13 am (#3 Total: 9)  

Reply to this message
via email  

Photo of Author
Posts: 655
Re: Backup Databases and Time Machine



On Jan 10, 2008, at 11:46 AM, Matt Neuburg wrote:

> On or about 1/9/08 7:10 AM, thus spake "Diane Ross" <dianeoforgmail.com
> >:
>
>> 1. Exclude the database file (like the Microsoft User Data folder)
>> in the
>> Time Machine options, which will stop it backing up every hour.
>>
>> 2. Create an "Backup" folder - which is not excluded. It's OK to
>> use your
>> Documents folder for this.
>>
>> 3. Create a timed action. See tutorial but start with Step 3, which
>> will
>> copy the database to the backup folder, at the interval required -
>> every
>> day, every week, or whatever. This should overwrite the previous
>> backup each
>> time, as Time Machine has taken care of duplicating the last copy.
>
> What problem does this solve? Either you're going to back up the
> database or
> you aren't. If you are, it doesn't matter whether you back it up
> every hour
> or every week (since Time Machine prunes its backed-up files as
> necessary).
> m.

And if a file changes during a TM backup run, TM backs it up again at
the end of the run (how does it avoid endless loop of backups?). That
should mostly avoid getting the file backed up in an inconsistent
state, which was a concern mentioned very early in the thread.

   --John


Dan Frakes (apparently) - Jan 12, 2008 6:13 am (#4 Total: 9)  

Reply to this message
via email  

Photo of Author
Posts: 879
Re: Backup Databases and Time Machine

On 1/10/2008 11:46 AM, "Matt Neuburg" wrote:
>> 1. Exclude the database file (like the Microsoft User Data folder) in the
>> Time Machine options, which will stop it backing up every hour.
>>
>> 2. Create an "Backup" folder - which is not excluded. It's OK to use your
>> Documents folder for this.
>>
>> 3. Create a timed action. See tutorial but start with Step 3, which will
>> copy the database to the backup folder, at the interval required - every
>> day, every week, or whatever. This should overwrite the previous backup each
>> time, as Time Machine has taken care of duplicating the last copy.
>
> What problem does this solve? Either you're going to back up the database or
> you aren't. If you are, it doesn't matter whether you back it up every hour
> or every week (since Time Machine prunes its backed-up files as necessary).

The problem is that Time Machine prunes backup copies based on how old they
are relative to *all* files, not relative to newer backups of the same
files. So the more frequently you back up copies of a huge database, the
more backup copies of *other* files get removed.

(In this particular example, assuming you leave a desktop Mac on and
connected to its Time Machine volume 24/7, over the course of a month Time
Machine will keep the 24 most-recent hourly copies of your database, plus
six end-of-day copies from the previous week, plus 3 end-of-week copies from
the previous three weeks. If your database is ~1GB in size, that's 33GB of
space on your backup drive unavailable for backing up other files.)



Diane Ross (apparently) - Jan 12, 2008 6:17 am (#5 Total: 9)  

Reply to this message
via email  

Photo of Author
Posts: 35
Re: Backup Databases and Time Machine

On 1/10/08 11:46 AM, "Matt Neuburg" <matttidbits.com> wrote:

> What problem does this solve? Either you're going to back up the database or
> you aren't. If you are, it doesn't matter whether you back it up every hour
> or every week (since Time Machine prunes its backed-up files as necessary).

If you backup the Entourage database which can be several GB hourly, then
daily until Time Machine deletes the extras you can really fill up a drive.
This way you only do it once a day.

--
Diane



John C. Welch (apparently) - Jan 13, 2008 5:59 am (#6 Total: 9)  

Reply to this message
via email  

Photo of Author
Posts: 834
Re: Backup Databases and Time Machine

On 01/12/2008 07:13 AM, "Barry Wainwright" <barrywmac.com> wrote:

>
>> What problem does this solve? Either you're going to back up the database or
>> you aren't. If you are, it doesn't matter whether you back it up every hour
>> or every week (since Time Machine prunes its backed-up files as necessary).
>> m.
>
> If you have, like some people, a 6gb database, then your performance takes a
> real hammering for the 5 - 10 minutes that Time Machine is copying it over,
> once per hour.

That's only if you feel the only way to back up Entourage is to back up the
entire database file.

--
John C. Welch

barry.wainwright (apparently) - Jan 15, 2008 7:01 am (#7 Total: 9)  

Reply to this message
via email  

Photo of Author
Posts: 58
Re: Backup Databases and Time Machine

On 13/01/2008 12:59, "John C. Welch" <jwelchbynkii.com> wrote:

>>> What problem does this solve? Either you're going to back up the database or
>>> you aren't. If you are, it doesn't matter whether you back it up every hour
>>> or every week (since Time Machine prunes its backed-up files as necessary).
>>> m.
>>
>> If you have, like some people, a 6gb database, then your performance takes a
>> real hammering for the 5 - 10 minutes that Time Machine is copying it over,
>> once per hour.
>
> That's only if you feel the only way to back up Entourage is to back up the
> entire database file.

I don't. I was pointing out, in response to Matt's question, why allowing
time machine to back up the database may not always be a suitable solution.

--
Barry



Nigel Stanger (apparently) - Jan 15, 2008 7:01 am (#8 Total: 9)  

Reply to this message
via email - Dunedin, New Zealand  

Photo of Author
Posts: 436
Re: Backup Databases and Time Machine

On 14/01/2008 1:59 AM, "John C. Welch" <jwelchbynkii.com> spake thus:

> That's only if you feel the only way to back up Entourage is to back up the
> entire database file.

Short of AppleScript or manually dragging messages into a folder, I'm not
sure what you think the alternative is? Neither of these is particularly
easy or convenient. Not easy + not convenient = not backed up, usually.

--
Nigel Stanger, Dunedin, NEW ZEALAND.
http://xri.net/=nigel.stanger


Nigel Stanger (apparently) - Jan 15, 2008 7:01 am (#9 Total: 9)  

Reply to this message
via email - Dunedin, New Zealand  

Photo of Author
Posts: 436
Re: Backup Databases and Time Machine

On 14/01/2008 2:10 PM, "Nigel Stanger" <nstangerinfoscience.otago.ac.nz>
spake thus:

> Short of AppleScript or manually dragging messages into a folder, I'm not sure
> what you think the alternative is? Neither of these is particularly easy or
> convenient. Not easy + not convenient = not backed up, usually.

Hm, okay, I should have read the other thread first. Please ignore my
uninformed rambling :)

--
Nigel Stanger, Dunedin, NEW ZEALAND.
http://xri.net/=nigel.stanger




  OutlineAll MessagesOlder MessagesOldest MessagesNewest MessagesNewer Messages


 [F] TidBITS  / TidBITS  / TidBITS Talk  / Backup Databases and Time Machine




Add a message

To add a message to this discussion, you must be a registered user. Enter your email address below. If you have an account associated with the email address you enter, you will be prompted for your password. If not, you'll be able to create a new account with no fuss.

Enter your email address:

Submit