public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: felix@crowfix.com
To: Gentoo User <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] backing up system files
Date: Mon, 3 Dec 2012 11:17:08 -0800	[thread overview]
Message-ID: <20121203191708.GB5414@crowfix.com> (raw)
In-Reply-To: <20121202202958.GB1118@ca.inter.net>

On Sun, Dec 02, 2012 at 03:29:58PM -0500, Philip Webb wrote:
> My recently-built machine has an SSD for everyday storage
> + an HDD for less often used stuff + back-ups (in dir  /y ).
> To avoid having to re-install the system if the SSD collapses one day,
> I wanted to make a simple back-up copy of vital files on the HDD.

I recently installed an SSD to replace three SCSI drives and changed
my backup at the same time to work llike this.  But I just do
everything except /home, /encfs, the mail spool dir, etc.  I also use
a spare IDE drive for a system backup which I manually rsync before a
big emerge, so I can boot the backup if the main system no longer
boots due to emerge screwup.  I have some other changes to make before
testing this.

What I haven't figured out yet is how to reverse rsync the backup to
the main system.  Rsync has no --source-is-always-right option that I
could find.  "cp -a" might work, with a little care for /dev etc, but
it won't delete destination files which aren't in the backup, and the
idea of reformatting the system partition as part of this seems a bit
extreme when rsync is the natural choice for restoring the backup.

-- 
            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
     Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o


      parent reply	other threads:[~2012-12-03 19:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-02 20:29 [gentoo-user] backing up system files Philip Webb
2012-12-03  8:39 ` Michael Hampicke
2012-12-03 19:17 ` felix [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121203191708.GB5414@crowfix.com \
    --to=felix@crowfix.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox