From owner-freebsd-questions@FreeBSD.ORG Mon May 25 06:40:01 2009 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 2ED21106564A for ; Mon, 25 May 2009 06:40:01 +0000 (UTC) (envelope-from kelly.terry.jones@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id E03098FC28 for ; Mon, 25 May 2009 06:39:58 +0000 (UTC) (envelope-from kelly.terry.jones@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so1621412qwe.7 for ; Sun, 24 May 2009 23:39:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=B2/BYGc33sd7BnUbdREisoYXBstgAKLTd1Wf6/94g5I=; b=fio2syHHjESZ6a+70QkcysGBh29e9mNg4pLdCoP1+Efs9aDyqnT6hhmKRo1NJXroF/ DT7Gi53OMLE4BO3NP2dIwExDP/Cduj73KmorZfptrErfjIzXzYdpcH6chwPSHAj4+KR3 xWNW2IgUb7AKGaXmQwu0mQ37ripGZQSwBafP0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=WjMTaI6aQRiQvLQ9KDDanZO5uA9ViPbFKzSma0rXdjX/oKyuQF1cQPjnpaG+YdWiVB WdJGGeD2EdF2sqvtEzLO0cU9u/27gaJxPYBSuBkq+qb2P/m2mODg9SsnoOqTs+qV7Cdp m+ZwLGgBRuPaaRE9DICqBNfPniDI6xarNDUBs= MIME-Version: 1.0 Received: by 10.229.97.202 with SMTP id m10mr1784271qcn.77.1243233597555; Sun, 24 May 2009 23:39:57 -0700 (PDT) Date: Sun, 24 May 2009 23:39:57 -0700 Message-ID: <26face530905242339g448b7047s72fcff768a2346f1@mail.gmail.com> From: Kelly Jones To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Using rsync for versioned backups without --backup 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: Mon, 25 May 2009 06:40:01 -0000 I want to use rsync to backup a large file (say 1G) that changes a little each day (say 1M), but I also want the ability to re-create older versions of this file. I could use --backup, but that would create a 1G file each day, even though I only "really" need the 1M that's changed. How do I tell rsync: "while updating, also store the changes you'd need to convert today's backup into yesterday's backup"? I realize I could use diff or something, but since rsync has to calculate minimal changes anyway, it'd be nice to store them. I thought the --itemize-changes option might do this, but no. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile.