Naha a écrit, mardi 13 février 2007, à 21:14 : > Jacques L'helgoualc'h a écrit : [...] > > Ceux-là, je ne sais pas. Il me semble qu'un certain Linus T. le > > déconseille ? > > Ah ? C'est du genre de « les gnomistes sont des nazis de l'interface »,
:/ > ou il y a une vraie raison ? Google « "Linus Torvalds" dump restore » => 68 900 réponses J'ai de la chance --> http://linuxfr.org/tips/38.html 2ème lien, plus complet, http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/fr/admin-guide/s1-disaster-rhlspec.html [explications en v.f.] Suivent Les Saintes Écritures, en v.o. From: Linus Torvalds To: Neil Conway Subject: Re: [PATCH] SMP race in ext2 - metadata corruption. Date: Fri, 27 Apr 2001 09:59:46 -0700 (PDT) Cc: Kernel Mailing List <linux-kernel At vger Dot kernel Dot org> [ linux-kernel added back as a cc ] On Fri, 27 Apr 2001, Neil Conway wrote: > > I'm surprised that dump is deprecated (by you at least ;-)). What to > use instead for backups on machines that can't umount disks regularly? Note that dump simply won't work reliably at all even in 2.4.x: the buffer cache and the page cache (where all the actual data is) are not coherent. This is only going to get even worse in 2.5.x, when the directories are moved into the page cache as well. So anybody who depends on "dump" getting backups right is already playing Russian roulette with their backups. It's not at all guaranteed to get the right results - you may end up having stale data in the buffer cache that ends up being "backed up". Dump was a stupid program in the first place. Leave it behind. > I've always thought "tar" was a bit undesirable (updates atimes or > ctimes for example). Right now, the cpio/tar/xxx solutions are definitely the best ones, and will work on multiple filesystems (another limitation of "dump"). Whatever problems they have, they are still better than the _guaranteed_(*) data corruptions of "dump". However, it may be that in the long run it would be advantageous to have a "filesystem maintenance interface" for doing things like backups and defragmentation.. Linus (*) Dump may work fine for you a thousand times. But it _will_ fail under the right circumstances. And there is nothing you can do about it. Bon, tout le monde n'est pas du même avis, cf. http://dump.sourceforge.net/isdumpdeprecated.html mais, maudit soit Murphy jusqu'à la 42ième génération, je suis sûr d'oublier de me méfier la 1001 ème fois... Ah oui, j'ai aussi oublié de parler de cpio. -- Jacques L'helgoualc'h -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:" To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]