From owner-freebsd-questions@FreeBSD.ORG Tue Aug 30 07:37:26 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A91B816A41F for ; Tue, 30 Aug 2005 07:37:26 +0000 (GMT) (envelope-from svein-freebsd-questions@theloosingend.net) Received: from merke.itea.ntnu.no (merke.itea.ntnu.no [129.241.7.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34EF343D45 for ; Tue, 30 Aug 2005 07:37:26 +0000 (GMT) (envelope-from svein-freebsd-questions@theloosingend.net) Received: from localhost (localhost [127.0.0.1]) by merke.itea.ntnu.no (Postfix) with ESMTP id DFD4B13C4DD for ; Tue, 30 Aug 2005 09:37:24 +0200 (CEST) Received: from maren.thelosingend.net (maren.math.ntnu.no [129.241.211.48]) by merke.itea.ntnu.no (Postfix) with SMTP for ; Tue, 30 Aug 2005 09:37:24 +0200 (CEST) Received: (qmail 14089 invoked by uid 1001); 30 Aug 2005 09:37:23 +0200 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 30 Aug 2005 09:37:23 +0200 Date: Tue, 30 Aug 2005 09:37:23 +0200 (CEST) From: Svein Halvor Halvorsen X-X-Sender: sveinhal@maren.thelosingend.net To: Norberto Meijome In-Reply-To: <43133459.9030000@meijome.net> Message-ID: <20050830093218.B13913@maren.thelosingend.net> References: <20050828234043.H22315@maren.thelosingend.net> <20050829161506.E2522@maren.thelosingend.net> <43131C85.1070100@meijome.net> <20050829170053.M3014@maren.thelosingend.net> <43133459.9030000@meijome.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. Cc: questions@freebsd.org Subject: Re: rsync and moving files [Re: backup w/ snapshots] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2005 07:37:26 -0000 * Norberto Meijome [2005-08-30 02:14 +1000] > I take your word wrt to how it works. Assuming of course that you move > within the same filesystem. Yes, I'm talking about the same filsystem. > (touche). yup, that's what would happen....but tha's the nature of the beast > :) don't keep too many snapshots ? ;) > > it'd be great if you could keep a log of all local-mv operations,and then > replay them remotely via ssh. Yes, I thought about that myself. Only I thought I'd keep a list of filename/inode pairs from each sync, so before I do a sync I could compare the lists to find out which files appears to be the same, only with a new name. Then rename those files remotely. In cases where a inode-match does not represent a relink, but just plain inode recycling, so what? Rsync will make the new file up to date.