Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Peter Mayne <Peter.Mayne@cao.mts.dec.com>
Subject: Re: Understanding backup and advfs clonefset
Date: 1997/02/20	[thread overview]
Message-ID: <330BC708.6405@cao.mts.dec.com> (raw)
In-Reply-To: brown.47.000F6C3C@lincoln.ac.nz


Brown, Martyn wrote:
> 
> Hi,
> 
> Currently we back up in the middle of the night without cloning.  My
> understanding is that if a file is active during the backup time then it will
> get backed up but may be internally inconsistent, and/or inconsistent with
> related files.  Is this true ?

Yes. This can also screw up between files. For instance, suppose you do
a newaliases while your backup is happening. The sequence of events
could go:

1) backup aliases.dir
2) newaliases writes newaliases.dir, aliases.pag
3) backup aliases.pag

So your .dir and .pag files may be "internally consistent" (whatever
that means in this case), but your backup will be completely useless.

Extend this example however you like to any kind of files/databases you
can think of.

> OK, how do things change if I decide to make a clone and back that up ?  If a
> file is active during the cloning period, won't that mean that the clone
> "snapshot" will have the same types of internal inconsistencies ?

Yes.

> How does
> the cloning process remove the inconsistencies that are inherent in active
> files ?

It doesn't.

> I can see how cloning shields you from =future= activity; but what
> about activity at the time of cloning ?

If you want a consistent backup (and you don't want to use the
appropriate database tools to do on-line backups), you have to stop all
activity. This means shutting down databases, not editing files, etc.
The difference is that normally, you would have to shut down your
databases for as long as the backup takes. With a cloneset, you only
have to shut things down for as long as it takes to do the clone (a few
seconds).
-- 
PJDM
Digital Equipment Corporation (Australia), Canberra, ACT
-------------------------------------------------------------------------------
These are my opinions, and have nothing to do with Digital.
This was typed by an infinite number of monkeys.



      parent reply	other threads:[~1997-02-20  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-17  5:00 Understanding backup and advfs clonefset Brown, Martyn
1997-02-17  5:00 ` Alex Nord
1997-02-20  5:00 ` Peter Mayne [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox