From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9515e2b6af8a1920 X-Google-Attributes: gidfee84,public From: Peter Mayne Subject: Re: Understanding backup and advfs clonefset Date: 1997/02/20 Message-ID: <330BC708.6405@cao.mts.dec.com>#1/1 X-Deja-AN: 220018469 Cache-Post-Path: stevo.stl.dec.com!unknown@nessus.cao.dec.com References: Content-Type: text/plain; charset=us-ascii Organization: Digital Equipment Corporation Mime-Version: 1.0 Reply-To: Peter.Mayne@cao.mts.dec.com Newsgroups: comp.unix.osf.osf1 X-Mailer: Mozilla 3.01 (WinNT; I) [AXP] 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.