Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #177845

Re: User-oriented backup tools

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: User-oriented backup tools
Date 2017-02-16 09:20 +0100
Message-ID <tbpse-3wB-1@gated-at.bofh.it> (permalink)
References <tbgoW-5QG-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Feb 15, 2017 at 11:37:40PM +0100, Francesco Porro wrote:
> Hi guys, It's the first time I'm posting here. I'm both a Fedora and
> Debian user.
> 
> Which backup tool do you use?
> At this time I feel comfortable with rsync [...]

rsync.

To a LUKS-encrypted USB drive (my laptop's drive is LUKS, so it seemed
to be a majot weak point to have all on an unencrpted thumb I could lose
anytime ;-)

The command is wrapped up in some 8 lines of bash making sure home exists
and does basically:

  rsync -av --delete --filter="merge $home/.backup/filter" $home/ $backup/

deferring the filter to file ~/.backup/filter, which says:

  - /.cache/
  - /.config/
  [...other stuff to exclude...]
  dir-merge .backup-filter

The nice tidbit is the "dir-merge": this way, I can drop a filter in each
directory I don't want to back up completely, excluding all or part of
its files/subdirs (e.g. the build subdir of some biggish thing or a
typical junk download dir).

I'm so happy with that set up that I don't even think of changing that.

*Should* I some time be very bored, my next step would be to have a
live/install Debian partition on the stick (which I would somehow keep
up to date) to be able to do "bare metal" recovery, should my main
machine go down in flames.

KISS (although: rsync is smart, but simple? ;-)

regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlilX7UACgkQBcgs9XrR2kZ87QCeN02KSr18o/U8W5CB8BeagWJT
bFsAn3hydJq9QH7rQlsVB+5PvEKjPn1m
=Hlvh
-----END PGP SIGNATURE-----

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

User-oriented backup tools Francesco Porro <frapox@gmail.com> - 2017-02-15 23:40 +0100
  Re: User-oriented backup tools Greg Wooledge <wooledg@eeg.ccf.org> - 2017-02-15 23:50 +0100
    Re: User-oriented backup tools Francesco Porro <frapox@gmail.com> - 2017-02-16 11:50 +0100
      Re: User-oriented backup tools Glenn English <ghe2001@gmail.com> - 2017-02-16 18:30 +0100
        Re: User-oriented backup tools Francesco Porro <frapox@gmail.com> - 2017-02-16 19:10 +0100
          Re: User-oriented backup tools Glenn English <ghe2001@gmail.com> - 2017-02-16 21:30 +0100
            Re: User-oriented backup tools Francesco Porro <frapox@gmail.com> - 2017-02-17 00:50 +0100
  Re: User-oriented backup tools Gene Heskett <gheskett@shentel.net> - 2017-02-16 01:10 +0100
    Re: User-oriented backup tools "Martin McCormick" <martin.m@suddenlink.net> - 2017-02-16 03:50 +0100
      Re: User-oriented backup tools Francesco Porro <frapox@gmail.com> - 2017-02-16 11:50 +0100
        Re: User-oriented backup tools Jonathan Dowland <jmtd@debian.org> - 2017-02-16 22:50 +0100
  Re: User-oriented backup tools solitone <solitone@mail.com> - 2017-02-16 06:50 +0100
    Re: User-oriented backup tools Francesco Porro <frapox@gmail.com> - 2017-02-16 11:50 +0100
  Re: User-oriented backup tools <tomas@tuxteam.de> - 2017-02-16 09:20 +0100
    Re: User-oriented backup tools Francesco Porro <frapox@gmail.com> - 2017-02-16 11:50 +0100
      Re: User-oriented backup tools <tomas@tuxteam.de> - 2017-02-16 12:10 +0100
        Re: User-oriented backup tools Francesco Porro <frapox@gmail.com> - 2017-02-16 14:30 +0100
          Re: User-oriented backup tools <tomas@tuxteam.de> - 2017-02-16 15:00 +0100
  Re: User-oriented backup tools Francesco Porro <frapox@gmail.com> - 2017-02-16 12:00 +0100
  Re: User-oriented backup tools Daniel Bareiro <daniel-listas@gmx.net> - 2017-02-16 12:20 +0100
    Re: User-oriented backup tools Hans <hans.ullrich@loop.de> - 2017-02-16 12:30 +0100
      Re: User-oriented backup tools Francesco Porro <frapox@gmail.com> - 2017-02-16 14:30 +0100
        Re: User-oriented backup tools Hans <hans.ullrich@loop.de> - 2017-02-16 15:00 +0100
          Re: User-oriented backup tools Francesco Porro <frapox@gmail.com> - 2017-02-16 17:40 +0100
            Re: User-oriented backup tools Glenn Holmer <cenbe@kolabnow.com> - 2017-02-16 17:40 +0100
              Re: User-oriented backup tools Chen Wei <weichen302@icloud.com> - 2017-02-17 09:40 +0100
    Re: User-oriented backup tools Francesco Porro <frapox@gmail.com> - 2017-02-16 14:50 +0100
  Re: User-oriented backup tools Boyan Penkov <boyan.penkov@gmail.com> - 2017-02-16 13:20 +0100
    Re: User-oriented backup tools Francesco Porro <frapox@gmail.com> - 2017-02-16 14:40 +0100
      Re: User-oriented backup tools Boyan Penkov <boyan.penkov@gmail.com> - 2017-02-16 14:50 +0100
        Re: User-oriented backup tools Francesco Porro <frapox@gmail.com> - 2017-02-16 15:10 +0100
          Re: User-oriented backup tools Francesco Porro <frapox@gmail.com> - 2017-02-16 17:30 +0100
            Re: User-oriented backup tools Francesco Porro <frapox@gmail.com> - 2017-02-16 19:00 +0100
          Re: User-oriented backup tools Erwan David <erwan@rail.eu.org> - 2017-02-16 17:40 +0100
            Re: User-oriented backup tools Francesco Porro <frapox@gmail.com> - 2017-02-16 19:10 +0100

csiph-web