From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 31E92138DB0 for ; Sat, 15 Oct 2016 11:22:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC2D9E0B31; Sat, 15 Oct 2016 11:22:08 +0000 (UTC) Received: from mail-qt0-f196.google.com (mail-qt0-f196.google.com [209.85.216.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7BDC5E0AF0 for ; Sat, 15 Oct 2016 11:22:08 +0000 (UTC) Received: by mail-qt0-f196.google.com with SMTP id f6so4558253qtd.1 for ; Sat, 15 Oct 2016 04:22:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=heWD6IqC7CvYOFMZ7TEkU7Z8Nm7NJ4AsX/BRAopHHNo=; b=XAyxmh4lRWfq+G2tCP+IH25CxnnYBIjpRpC/bTj7kRXb8JuUfIg9nF3kd4W3gf+yQ3 ggiw21AQ5QZUzLulelNcDs6cQawDnhg1pesXGnsY53qwP3DS6vHvrF4+OQoWFYWTCQE2 I36S9eyaHyvYOFCeA4/6C+teqJLlUpcHqKCS9VY6KVM/zRnKMEBTG1GJmx7ZQbxKENxP o10FGDCt+WeT0Ern9xlA59K2WBa5DFGiwhvGh/zwVFaXgpjKwsPJM2MaENFRysKLQcTi p3A9Di4LNBy7Rr13os4v9x63quy605jCi9vajGoy9U2l6a0La6FHTlpvrpqj3I7pobPH QuwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=heWD6IqC7CvYOFMZ7TEkU7Z8Nm7NJ4AsX/BRAopHHNo=; b=W+hgL1Q5Mdtb5GN0xIiQomAcNofLlbxfYmw7xqbGQn0DhVhntwELldAGes7+e7TaxZ 6eTY1ceyYtWqBL7xDowHRF+RQqNe9sNS5HPYhE7739ZvVbWzs7G1UgJVOvx3Lh0SlD9O zT2aIkrdqVNZLn4Q9ZdXYKE7+0WPdvzwcMpw8xHZ9+s951dJxoGlnJ901GkiRC7P5bRu EMtGZCMg/9p9fTG3Y0JpOVhQszrTzkgK3buYCvMCjdt1pxSQ5quPp0KCgW8dYx25F/YL 71Hjh0IVxqlzonhI/da0G65zdiThW4TfgpmBBU6ReVfdkA0KvqyVY8A5zEC81f4UCFFk /o4Q== X-Gm-Message-State: AA6/9Rk5nB70sDjMJGUfy2yumhl4JSjjMNEayWJY5bUc4+rALjNeTmzPdJAaBquXuqJMqLS/HLmvYbvRlU7B4A== X-Received: by 10.237.35.123 with SMTP id i56mr16513592qtc.30.1476530527551; Sat, 15 Oct 2016 04:22:07 -0700 (PDT) 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 Sender: freemanrich@gmail.com Received: by 10.140.89.83 with HTTP; Sat, 15 Oct 2016 04:22:06 -0700 (PDT) In-Reply-To: <20161015041847.17290.21B9F931@matica.foolinux.mooo.com> References: <20161014175927.8360.2C6B93AA@matica.foolinux.mooo.com> <20161015010142.4496.2ED89AE8@matica.foolinux.mooo.com> <20161015052716.661fa5d1@jupiter.sol.kaishome.de> <20161015054253.60a76ff2@jupiter.sol.kaishome.de> <20161015041847.17290.21B9F931@matica.foolinux.mooo.com> From: Rich Freeman Date: Sat, 15 Oct 2016 07:22:06 -0400 X-Google-Sender-Auth: Cmo8NEGJTAAcTKgpPcDmlRIlgAo Message-ID: Subject: Re: [gentoo-user] Backup [Was: Old Firefox ebuild?] To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 04406986-26eb-49a4-af98-585eebd90876 X-Archives-Hash: 4e1fd1666b0510ec9d6b2935726b442f On Sat, Oct 15, 2016 at 1:35 AM, Ian Zimmerman wrote: > On 2016-10-15 05:42, Kai Krakow wrote: > >> The backup source is my btrfs subvol 0. I can put the systemd units >> for backup to github if you're interested. > > I'm not a systemd fan, so they wouldn't help me, but thanks for > offering. I'd be curious to see them; whether you use systemd or not units are pretty trivial to read and make use of in scripts, cron entries, etc. I just use snapper to manage snapshots if all I'm worried about is casual deletion of files. Since I don't fully trust btrfs I also keep a full rsnapshot (basically an rsync wrapper) of my btrfs volumes on a local ext4. > > My priorities are different, and there are constraints resulting from my > priorities as well as others. > > I am mostly worried about physical catastrophic damage (I live in > earthquake country) and losing my personal data, which could not be > recreated. So it has to be offsite, and because it's personal data it > has to be encrypted. And I cannot make the trip to where it's stored > every day. > > Given the time (including the trip) it takes to restore, I don't see the > point of backing up static files which can be reinstalled from the > distribution. Of course, I'm still learning gentoo and so it was easy > for me to make the mistake of forgetting that files under /usr/portage > aren't really in that catagory. > ++ What I really consider my "backups" are stored encrypted on amazon s3 using duplicity (which I highly recommend for this purpose). Basically it amounts to /etc, and /home, with a number of exclusions (media and cache). For media I care about like photos I include new stuff in m duplicity backups, but as I accumulate reasonable chunks of it I make a separate backup and store it offsite, and remove that chunk from my duplicity backup. This prevents the daily-updated backup pool from getting insanely large, while still maintaining an offsite copy (since these files don't change over time). I'd never spend the money to be doing cloud backup of /usr (other than /usr/local). I have all my static configuration backed up, so I could just restore that onto a stage 3 and run emerge -uDN world to get all of that back. If I did have an offsite server somewhere where storage costs weren't a big deal then I'd probably be setting up replicas using btrfs+zfs-send/receive. You can do that at minimal cost with incrementals, and I could probably do the first clone on the local LAN. -- Rich