Re: zaloha systemu


To Debian CZ/SK project discussion list <czdebian-l zavinac debian bod cz>
From Jan Korbel <debian zavinac teptin bod net>
Date Fri, 23 Feb 2007 14:39:49 +0100
User-agent Icedove 1.5.0.9 (X11/20061220)

Jeste jsem k tomu nasel neco v dokumentaci dumpu (viz nize). Nicmene nikdy jsem s tim problem nemel. Nebo jsem na to nikdy neprisel :)
Btw tar taky nema rad, kdyz mu pred nosem treba umazete soubor.

H.

-cut-
Historically, dump was *always* used on unmounted filesystems.  Tools like
AMANDA break that expectation. Backing up a live filesystem sometimes causesproblems for tools like dump, depending on what is changing while the backup runs. If you see errors during a dump of a mounted filesystem, try again with
the filesystem unmounted, and see if that fixes the problem.

In theory, the page cache changes in the 2.4 Linux kernel can cause problems
to happen more frequently than in prior versions.  Caveat emptor.

-cut-

a jeste:

-cut-
 9) Experiencing bread, lseek, and lseek2 errors.

  These errors are caused by inodes being changed
during the backup.  This is normal because dump and
the Linux kernel are both acessing the filesystem
and there is no consistence checking. By "calming"
the system (killing unnecessary processes), you
decrease the likelihood of having these
errors.  Read up on the bug on Sourcefourge:

http://sourceforge.net/tracker/index.php?func=detail&aid=204909&group_id=1306&atid=101306

Note that the only "real" solution to this problem
is to dump a unmounted filesystem or use a filesystem
snapshot feature (like in LVM).
-cut-

Ani jednu z techto chyb jsem nikdy nevidel.

Joachim Gottschalk wrote:
Na wikipedii pisou, ze:
A dump of the ext3 filesystem taken while it is mounted read-write may
result in corrupt data within the dump file.

On 2/23/07, Ivan Hoe <markiza zavinac gmail bod com> wrote:
A ako sa sprava dump v zivom systeme, ktory nemoze ist do
jednouzivatelskeho modu, da sa takyto system nejako seriozne online
zalohovat? Ja to robim rsyncom, ale z kopie nenabootujem(grub (ok) ael
kernel zblbne), je to viac menej zaloha inych veci okrem systemu.

Da sa teda i taketo nieco ruesit ?


JJ

Dňa Fri, 23 Feb 2007 13:23:18 +0100
Jan Korbel <debian zavinac teptin bod net> napísal:

Ano. Pri restoru se da "rozbalit" kompletni dump (-rf) do aktualniho
adresare nebo interaktivne prochazet obsahem (-i), vybirat soubory a
adresare a pak je obnovit. Dump/restore byva celkem standardni soucasti
systemu.

H.

Joachim Gottschalk wrote:
takze tedy kdyz budu mit zalohu vytvorenou pomoci dump 0 a kdybych pak
prisel o systemovy disk, jak potom probiha obnova?

Vymenim poskozeny disk za novy, nabootuju nejake zachrane CD, spustim
restore a obnovim system na novy disk? Pujde to takhle?

diky
________________________________________________
CZdebian-l maillist  -  CZdebian-l zavinac debian bod cz
http://www.debian.cz/mailman/listinfo/czdebian-l
E-mail (un)subscriptions: czdebian-l-request zavinac debian bod cz
________________________________________________
CZdebian-l maillist  -  CZdebian-l zavinac debian bod cz
http://www.debian.cz/mailman/listinfo/czdebian-l
E-mail (un)subscriptions: czdebian-l-request zavinac debian bod cz

________________________________________________
CZdebian-l maillist  -  CZdebian-l zavinac debian bod cz
http://www.debian.cz/mailman/listinfo/czdebian-l
E-mail (un)subscriptions: czdebian-l-request zavinac debian bod cz


Partial thread listing: