From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1L1gAY-0005jE-5T for garchives@archives.gentoo.org; Sun, 16 Nov 2008 11:51:58 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BBF5E0259; Sun, 16 Nov 2008 11:51:58 +0000 (UTC) Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.146]) by pigeon.gentoo.org (Postfix) with ESMTP id D8A06E0259 for ; Sun, 16 Nov 2008 11:51:57 +0000 (UTC) Received: by ey-out-1920.google.com with SMTP id 4so749554eyk.10 for ; Sun, 16 Nov 2008 03:51:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:reply-to:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=19h/wV2BvVemp5FhulafvzqtcKgFA9DGwbb1swsUW6o=; b=dehJ2BcFNqT0WJI8Iod9NX9VBEv3HvyHgU9D7VL9tXp31dlOoxyOfRDntKxslRf1+r U2GAyNFClfeYpQKZ8G+2DLj0s/+C4UjjXvmIFhGirf7IvhQq4704+5WlEcwXoNM4cEya +jQUP0bBqOfX+mO00rgerURb5xOht9oVZn5CM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=x0iH2nhQkiDG5MrJ6kkR5RVe1AABUMixyx7C3j85Ko4Dd8HNSNr6jAM0B/9M9sR+6F vLgRoTKzl/TixixK87mdrocSqds5Fjiw7DCobgXVsYQcixrmsQ9TLOimQr7/a5pOqxt0 E9sJJaVMbB5zrhuJblOQYeV7Q3FQqpIHbYf50= Received: by 10.210.80.2 with SMTP id d2mr419358ebb.67.1226836315723; Sun, 16 Nov 2008 03:51:55 -0800 (PST) Received: from lappy.study (the3mountains.plus.com [212.159.46.48]) by mx.google.com with ESMTPS id u14sm4517397gvf.6.2008.11.16.03.51.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 16 Nov 2008 03:51:54 -0800 (PST) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Back up a server in real-time Date: Sun, 16 Nov 2008 11:51:23 +0000 User-Agent: KMail/1.9.9 References: <200811151945.23398.michaelkintzios@gmail.com> <200811160008.58417.michaelkintzios@gmail.com> <200811161154.04361.alan.mckinnon@gmail.com> In-Reply-To: <200811161154.04361.alan.mckinnon@gmail.com> 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: multipart/signed; boundary="nextPart7182784.L8mR3kWiVR"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200811161151.51284.michaelkintzios@gmail.com> X-Archives-Salt: db450502-b742-46ef-a310-5b1ae87ef10a X-Archives-Hash: 02b70c599b8165af2f7c08d4444e36cf --nextPart7182784.L8mR3kWiVR Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 16 November 2008, Alan McKinnon wrote: > On Sunday 16 November 2008 02:08:42 Mick wrote: > > On Saturday 15 November 2008, Dale wrote: > > > Mick wrote: > > > > Without gentoo-wiki my knowledge level is rather poor (just like my > > > > memory!) > > > > > > > > What would you use to back up a running server without taking it off > > > > line? > > > > > > I keep mine simple, cp -auv paths/you/want/to/backup back/up/to It h= as > > > works so far. Thought about doing a cron job but that complicates > > > things. :/ > > > > Thank you all for the suggestions and for the link to the wiki! I've g= ot > > some reading to do. ;-) > > > > Whenever I have used tar to back up a whole OS I used it with a LiveCD. > > This was to make sure that files and their metadata were not being > > changed while I was tar'ing them. > > > > Are you saying that I can actually fire up tar/rsync and back up in real > > time? > > Yes. Unix does some RealSmartThings(tm) when using files. The name is just > a pointer to the actual file, represented by an inode. Once you have an > inode open, it stays open until everything using it closes it. So you can > add/delete/copy/move files by name with impunity as you then just move > names around. Contrast this with other inferior systems, like say Windows > for example, which has a built-in self-destruct button when you try this.= =2E. Sure, but isn't there a problem with atime mtime metadata when you carry ou= t a=20 backup in real time and then restore from it? > > I was gravitating towards using LVM snapshot and then tar'ing that to an > > external USB drive. > > This is the preferred way, as you get a consistent snapshot frozen at a > point in time. This deals nicely with inconsistencies caused by files > changing while you are backing up other ones. Right, that's what I was thinking too. What does restoring from a backed u= p=20 snapshot involve? =2D-=20 Regards, Mick --nextPart7182784.L8mR3kWiVR Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkkgCVcACgkQ5Fp0QerLYPfUUQCeLEn1/pqQbM7+QUpZePEEz4M9 pl8An1YSx2IN9tC+GfhM/zkUYavctGNu =E8hB -----END PGP SIGNATURE----- --nextPart7182784.L8mR3kWiVR--