From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A666113877A for ; Tue, 24 Jun 2014 15:29:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D21EFE08F1; Tue, 24 Jun 2014 15:28:47 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B6E8FE082B for ; Tue, 24 Jun 2014 15:28:46 +0000 (UTC) Received: from gmx.net ([84.133.141.114]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MHH3P-1WvM342LWl-00E5k8 for ; Tue, 24 Jun 2014 17:28:30 +0200 Received: by gmx.net (nbSMTP-1.00) for uid 1001 (using TLSv1/SSLv3 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) meino.cramer@gmx.de; Tue, 24 Jun 2014 17:28:29 +0200 (CEST) Date: Tue, 24 Jun 2014 17:28:27 +0200 From: meino.cramer@gmx.de To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] backup hardware setup Message-ID: <20140624152827.GB3908@solfire> References: <20140624144307.GA3908@solfire> <53A99597.9060200@thegeezer.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53A99597.9060200@thegeezer.net> User-Agent: mutt-ng/devel-r804 (Linux) X-Provags-ID: V03:K0:0v4wwyrS4HY4glisqH/VJ7XTkJoG8G2e+p0juJzcc2w5ws3Vu4E SDPs5G9H6z6Pcxto1XmkNrjon0urJS+oFMdWV5m6AUkaWfzajvDEMy6cer48sLXOz0Awl6Z YMzdHRpXmwt0vzOTcFKTCSV07aSft8xcLjpXvRS4r9YanV16Ya7jMktEDVyRgDBKT6o4GfX w5CpE2uhTgrerpU3Yi6kw== X-Archives-Salt: c275a794-819f-4dd4-a523-dbf516a68c80 X-Archives-Hash: dd9dcaa27e73833e71e08dbd8e67c68d thegeezer [14-06-24 17:16]: > On 06/24/2014 03:43 PM, meino.cramer@gmx.de wrote: > > Hi, > > > > I bought two identical external harddrives, USB 3.0, with 1 TByte each > > (no SSD - the good ole mechanical ones...;). > > > > The intended use is for backup of longer files. The drives will > > contain the same contents. > > > > Currently there are still "clean metal" (no partitioning, no fs). > > > > Data integrity and recoverability (Uhhh...that words looks wrong...) in > > case of an desaster is more important than speed. > > > > What is the recommended way of partitioning ? > > What filesystem to choose? > > > > > > Thank you very much in advance for any help! > > Best regards, > > mcc > > > > > > PS: Running vanilla kernel 3.15.1.... > > > > > > > > > > I do this using hard links and rsync to only copy changed data. > this creates a dated folder structure that i can then rsync / cp using a > livecd to baremetal and basically allows best recoverability, imho. > so long as the filesystem supports hard links you are golden. > you might want btrfs for this for long term storage to help in case of > bitrot, but rsync should refresh the file if it is suddenly unreadable > (meaning any other hard lnked versoins are also up the swanny) > ymmv depending on what it is you are backing up > > #!/bin/bash > echo 'preparing..' > date=`date "+%Y-%m-%d_%H.%M.%S"` > workingfolder="/mnt/usb/backupsyncs/myhost1" > fromfolder="root@myhost1:/* --exclude=/var/tmp --exclude=/dev > --exclude=/mnt --exclude=/opt --exclude=/proc --exclude=/sys > --exclude=/usr/portage --exclude=/usr/src" > > echo "Date " $date > echo "From " $fromfolder > echo "To " $workingfolder > > echo "move current to be dated" > mv $workingfolder/current $workingfolder/backup-$date > > echo "now syncing into dated folder" > rsync -vz --partial --modify-window 5 -W --delete -a $fromfolder > $workingfolder/backup-$date > > echo "cleaning up..linkcopying dated folder to " > cp -al $workingfolder/backup-$date $workingfolder/current > > > Hi, thank you for your reply! :) ...I am sure, whether I want btrfs. On the net I found for example this: http://www.phoronix.com/scan.php?page=news_item&px=MTY1MDU with sentences like: "The Btrfs file-system changes for the Linux 3.15 kernel mostly deal with bug fixes and performance fixes while some corruption fixes are also expected to come." ...sounds a little different to "stable" I think... What do you think?