From owner-freebsd-questions@FreeBSD.ORG Tue Dec 16 22:00:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E31B11065678 for ; Tue, 16 Dec 2008 22:00:20 +0000 (UTC) (envelope-from bernard@dugas-family.org) Received: from smtp11.ispronet.com (smtp11.ispronet.com [81.28.196.233]) by mx1.freebsd.org (Postfix) with ESMTP id A13F48FC25 for ; Tue, 16 Dec 2008 22:00:20 +0000 (UTC) (envelope-from bernard@dugas-family.org) Received: from localhost (unknown [127.0.0.1]) by smtp11.ispronet.com (Postfix) with ESMTP id 77EA0B857; Tue, 16 Dec 2008 23:00:19 +0100 (CET) Received: from smtp11.ispronet.com ([127.0.0.1]) by localhost (smtp11.ispronet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 39193-02; Tue, 16 Dec 2008 23:00:09 +0100 (CET) Received: from [192.168.1.34] (unknown [212.109.69.174]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp11.ispronet.com (Postfix) with ESMTP; Tue, 16 Dec 2008 23:00:09 +0100 (CET) Message-ID: <49482565.1070107@dugas-family.org> Date: Tue, 16 Dec 2008 23:02:13 +0100 From: Bernard Dugas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7) Gecko/20040616 X-Accept-Language: fr,en MIME-Version: 1.0 To: Lowell Gilbert References: <4947B8AB.7000304@dugas-family.org> <44k59zg8mz.fsf@be-well.ilk.org> In-Reply-To: <44k59zg8mz.fsf@be-well.ilk.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at ispronet.com Cc: freebsd-questions@freebsd.org Subject: Re: Extracting changed files list from snapshot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2008 22:00:21 -0000 Lowell Gilbert wrote: > Bernard Dugas writes: > >>I want to extract the list of files changed between 2 snapshots, to be >>able to do efficient backups. >> >>Any idea where to find a document about snapshots internal structure ? >> >>Or if you know any port that already do this :-? > > An easier way would be to generate an mtree(1) description for each > snapshot, and using that to compare against other snapshots. You have > to mount the snapshot for that, though... Thanks for your answer, sorry not to be clear on the goal : find the changed files without having to read the whole LARGE disk. By definition, snapshot files have internally the list of block changed. So i would like to have a description of the internal structure of a snapshot file and a way to find the file by which any changed block is owned. Best regards, -- Bernard DUGAS Mobile +33 615 333 770