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


Groups > alt.os.linux > #54449 > unrolled thread

Remote backups with rsync - discussion / tutorial, I guess.

Started byDan Purgert <dan@djph.net>
First post2019-03-15 18:19 +0000
Last post2019-03-20 12:53 +0100
Articles 20 on this page of 100 — 16 participants

Back to article view | Back to alt.os.linux


Contents

  Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-15 18:19 +0000
    Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-15 19:06 +0000
      Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-18 11:13 +0000
        Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-18 16:40 +0000
          Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-19 10:24 +0000
    Re: Remote backups with rsync - discussion / tutorial, I guess. Mike Easter <MikeE@ster.invalid> - 2019-03-15 16:17 -0700
    Re: Remote backups with rsync - discussion / tutorial, I guess. jjb <invalid@invalid.nl> - 2019-03-16 10:14 +0100
      Re: Remote backups with rsync - discussion / tutorial, I guess. Chris Elvidge <chris@mshome.net> - 2019-03-16 09:26 +0000
      Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-16 16:54 +0000
        Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-16 16:57 +0000
    Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-16 11:06 +0000
      Re: Remote backups with rsync - discussion / tutorial, I guess. gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-17 12:52 +0000
        Re: Remote backups with rsync - discussion / tutorial, I guess. Allodoxaphobia <trepidation@example.net> - 2019-03-17 17:32 +0000
        Re: Remote backups with rsync - discussion / tutorial, I guess. Java Jive <java@evij.com.invalid> - 2019-03-18 12:29 +0000
          DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-18 16:32 +0000
            Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) Java Jive <java@evij.com.invalid> - 2019-03-18 16:40 +0000
            Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) "R.Wieser" <address@not.available> - 2019-03-18 17:59 +0100
              Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) Adrian Caspersz <email@here.invalid> - 2019-03-18 17:51 +0000
                Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) "R.Wieser" <address@not.available> - 2019-03-18 19:00 +0100
            Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) "Carlos E.R." <robin_listas@es.invalid> - 2019-03-18 20:16 +0100
            Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) Dan Purgert <dan@djph.net> - 2019-03-19 10:19 +0000
              Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) "Carlos E.R." <robin_listas@es.invalid> - 2019-03-19 12:06 +0100
                Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) Dan Purgert <dan@djph.net> - 2019-03-19 12:42 +0000
                  Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) "Carlos E.R." <robin_listas@es.invalid> - 2019-03-19 19:36 +0100
                    Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) Dan Purgert <dan@djph.net> - 2019-03-20 10:17 +0000
              Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) Java Jive <java@evij.com.invalid> - 2019-03-19 13:24 +0000
                Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) "Carlos E.R." <robin_listas@es.invalid> - 2019-03-19 19:38 +0100
          Re: Remote backups with rsync - discussion / tutorial, I guess. Adrian Caspersz <email@here.invalid> - 2019-03-18 17:47 +0000
            Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-19 00:29 +0000
              Re: Remote backups with rsync - discussion / tutorial, I guess. Chris Elvidge <chris@mshome.net> - 2019-03-19 09:02 +0000
              Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-19 12:07 +0100
                Re: Remote backups with rsync - discussion / tutorial, I guess. gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-19 13:57 +0000
                  Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-19 19:45 +0100
                    Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-20 08:52 +0000
                      Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-20 11:24 +0100
                        Re: Remote backups with rsync - discussion / tutorial, I guess. gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-20 11:31 +0000
                          Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-20 15:03 +0000
                            Re: Remote backups with rsync - discussion / tutorial, I guess. gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-20 17:05 +0000
                      Why I don't like "rsync"... (Was: Remote backups with rsync - discussion / tutorial, I guess.) gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-20 12:08 +0000
                        Re: Why I don't like "rsync"... (Was: Remote backups with rsync - discussion / tutorial, I guess.) Chris Elvidge <chris@mshome.net> - 2019-03-20 13:04 +0000
                        Re: Why I don't like "rsync"... Richard Kettlewell <invalid@invalid.invalid> - 2019-03-20 13:47 +0000
                          Re: Why I don't like "rsync"... "Carlos E.R." <robin_listas@es.invalid> - 2019-03-22 19:41 +0100
                          Re: Why I don't like "rsync"... gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-24 09:36 +0000
                            Re: Why I don't like "rsync"... Richard Kettlewell <invalid@invalid.invalid> - 2019-03-24 09:59 +0000
                              Re: Why I don't like "rsync"... gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-24 10:36 +0000
                                Re: Why I don't like "rsync"... Richard Kettlewell <invalid@invalid.invalid> - 2019-03-24 11:12 +0000
                                  Re: Why I don't like "rsync"... gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-24 11:29 +0000
                                    Re: Why I don't like "rsync"... Richard Kettlewell <invalid@invalid.invalid> - 2019-03-24 13:04 +0000
                                      Re: Why I don't like "rsync"... gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-24 13:16 +0000
                                  Re: Why I don't like "rsync"... Dan Purgert <dan@djph.net> - 2019-03-25 10:37 +0000
                        Re: Why I don't like "rsync"... (Was: Remote backups with rsync - discussion / tutorial, I guess.) William Unruh <unruh@invalid.ca> - 2019-03-20 15:19 +0000
                      Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-20 12:44 +0000
                        Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-20 13:58 +0000
                          Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-20 15:00 +0000
                            Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-20 15:49 +0000
                              Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-20 17:57 +0000
                                Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-20 23:39 +0000
                              Re: Remote backups with rsync - discussion / tutorial, I guess. Jasen Betts <jasen@xnet.co.nz> - 2019-03-21 08:15 +0000
                                Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-21 09:00 +0000
                                  Re: Remote backups with rsync - discussion / tutorial, I guess. gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-21 13:11 +0000
                                  Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-21 14:03 +0000
                                  rsync --archive Ivan Shmakov <ivan@siamics.net> - 2019-03-21 18:10 +0000
                                    Re: rsync --archive Richard Kettlewell <invalid@invalid.invalid> - 2019-03-21 21:42 +0000
                                      Re: rsync --archive "Carlos E.R." <robin_listas@es.invalid> - 2019-03-22 19:54 +0100
                                      Re: rsync --archive Ivan Shmakov <ivan@miko.siamics.net> - 2019-03-23 04:32 +0000
                                  Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-21 18:54 +0000
                                  Re: Remote backups with rsync - discussion / tutorial, I guess. Jasen Betts <jasen@xnet.co.nz> - 2019-03-22 10:03 +0000
                                Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-21 18:50 +0000
                                  Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-21 21:31 +0000
                              Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-22 19:48 +0100
                          Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-20 15:07 +0000
                      Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-20 14:57 +0000
                        Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-20 15:54 +0000
                          Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-20 17:49 +0000
                            Re: Remote backups with rsync - discussion / tutorial, I guess. Jasen Betts <jasen@xnet.co.nz> - 2019-03-21 08:21 +0000
                  Re: Remote backups with rsync - discussion / tutorial, I guess. Jasen Betts <jasen@xnet.co.nz> - 2019-03-19 20:50 +0000
                  Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-20 02:40 +0000
                    Re: Remote backups with rsync - discussion / tutorial, I guess. gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-20 08:19 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-20 02:37 +0000
          Re: Remote backups with rsync - discussion / tutorial, I guess. Jasen Betts <jasen@xnet.co.nz> - 2019-03-19 19:53 +0000
            Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-19 21:25 +0100
            Re: Remote backups with rsync - discussion / tutorial, I guess. Java Jive <java@evij.com.invalid> - 2019-03-19 22:04 +0000
      Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-18 11:20 +0000
        Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-18 13:07 +0100
          Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-18 12:43 +0000
            Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-18 14:32 +0100
              Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-18 16:44 +0000
    Re: Remote backups with rsync - discussion / tutorial, I guess. Daniel60 <daniel47@eternal-september.org> - 2019-03-16 23:52 +1100
      Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-18 11:49 +0000
        Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-18 13:11 +0100
          Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-18 12:45 +0000
        Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-18 18:12 +0000
          Re: Remote backups with rsync - discussion / tutorial, I guess. Chris Elvidge <chris@mshome.net> - 2019-03-18 19:12 +0000
            Re: Remote backups with rsync - discussion / tutorial, I guess. Chris Elvidge <chris@mshome.net> - 2019-03-18 19:19 +0000
        Re: Remote backups with rsync - discussion / tutorial, I guess. Daniel60 <daniel47@eternal-september.org> - 2019-04-02 22:37 +1100
    Re: Remote backups with rsync - discussion / tutorial, I guess. jjb <invalid@invalid.nl> - 2019-03-19 12:49 +0100
      Re: Remote backups with rsync - discussion / tutorial, I guess. Jasen Betts <jasen@xnet.co.nz> - 2019-03-19 21:08 +0000
        Re: Remote backups with rsync - discussion / tutorial, I guess. jjb <invalid@invalid.nl> - 2019-03-20 12:51 +0100
    Re: Remote backups with rsync - discussion / tutorial, I guess. jjb <invalid@invalid.nl> - 2019-03-20 10:37 +0100
      Re: Remote backups with rsync - discussion / tutorial, I guess. jjb <invalid@invalid.nl> - 2019-03-20 12:53 +0100

Page 5 of 5 — ← Prev page 1 2 3 4 [5]


#54499

From"Carlos E.R." <robin_listas@es.invalid>
Date2019-03-19 21:25 +0100
Message-ID<nqv7mf-9j6.ln1@Telcontar.valinor>
In reply to#54498
On 19/03/2019 20.53, Jasen Betts wrote:
> On 2019-03-18, Java Jive <java@evij.com.invalid> wrote:
> 
> 
>>> For one just example, but probably the clearest: The fact that none of the
>>> Unix "copy" commands default to preserving file access time/date.  cp, scp,
>>> rsync, etc - that all require you to specify an option (usually something
>>> like "-p") to do this obvious and always-the-right-thing thing.  This is
>>> one thing that DOS/Windows got right - right from the start.
>>
>> Well, not really, as anyone who ever tried to copy a binary file without 
>> remembering to use the /B switch will tell you.  The default mode of 
>> COPY was ASCII or text mode, as if the /A switch had been specified, so 
>> if the binary file happened to contain a byte value 0x1A  -  <ctrl-Z>, 
>> commonly used as to mark the end of a text file  -  the copy would be 
>> truncated at that point.  I've been caught out by this comparatively 
>> recently, copying an audio file using a command prompt in W7.
> 
> Untrue. /B is only needed if you are concatenating binary files.
> 

Not only then. On occasion (a century ago) I had problems with copy not
copying everything.

-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#54502

FromJava Jive <java@evij.com.invalid>
Date2019-03-19 22:04 +0000
Message-ID<q6rp0l$1e69$1@gioia.aioe.org>
In reply to#54498
On 19/03/2019 19:53, Jasen Betts wrote:
>
> On 2019-03-18, Java Jive <java@evij.com.invalid> wrote:
>>
>> Well, not really, as anyone who ever tried to copy a binary file without
>> remembering to use the /B switch will tell you.  The default mode of
>> COPY was ASCII or text mode, as if the /A switch had been specified, so
>> if the binary file happened to contain a byte value 0x1A  -  <ctrl-Z>,
>> commonly used as to mark the end of a text file  -  the copy would be
>> truncated at that point.  I've been caught out by this comparatively
>> recently, copying an audio file using a command prompt in W7.
> 
> Untrue. /B is only needed if you are concatenating binary files.

True, otherwise I wouldn't be saying I'd been caught out copying binary 
files.

[toc] | [prev] | [next] | [standalone]


#54465

FromDan Purgert <dan@djph.net>
Date2019-03-18 11:20 +0000
Message-ID<slrnq8uvnd.n0k.dan@djph.net>
In reply to#54455
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Richard Kettlewell wrote:
> Dan Purgert <dan@djph.net> writes:
>> === Option switches: ===
>>
>> This is always the part that trips me up -- there are just so many of
>> them.  What I have found is that for my needs, the quick and somewhat
>> dirty command
>>
>>   rsync -avP
>>
>> is good for interactive mode, and I like seeing the progress indicators
>> (as some of the files are large, and just sitting at "/path/to/something
>> [...]" for 10 minutes is a bit tedious.  But that's me.
>>
>> In my backup scripts, I simply remove the "-P" switch, as I just like to
>> see the filenames being transferred (and even that's probably a bit
>> much)
>>
>>
>> So, what do these switches mean?
>>
>>   -v -> verbose.  Prints the filenames as it's going, as well as some
>>     transfer details when the process is completed.
>>   -P -> same as "--progress".  Prints progress of the transfer
>>   -a -> "archive" mode.  Same as -rlptgoD
>>
>>     -r -> recursively traverse directories
>>     -l -> copy symlinks as symlinks
>>     -p -> preserve permissions
>>     -t -> preserve mtime
>>     -g -> preserve group
>>     -o -> preserve owner (only works if remote rsync is running as 
>>           super-user)
>>     -D -> same as --devices --specials
>>     
>>         --devices -> recreates block-devices at the remote end (only
>>             works if remote rsync is running as super-user)
>>         --specials -> recreates special files, such as named pipes and
>>             fifos.
>
> You surely want at least the following as well:
>  -X, --xattrs                preserve extended attributes
>  -A, --acls                  preserve ACLs (implies --perms)

I personally don't use either, but it's probably something others need
to watch out for.

>
> ...but watch out for some issues with Apple’s custom rsync, if you are
> backing up macOS hosts.
>
> For performance reasons you may want:
>  -S, --sparse                handle sparse files efficiently
>  -z, --compress              compress file data during the transfer

I tried with the -z option, and it made my (admittedly ancient) machines
slow down.  It may help on the wifi-bound machines, will have to try it
out!

>
> A slightly trickier question is:
>      --delete                delete extraneous files from destination dirs
>
> If you omit it, your backup will be inaccurate in the sense that it will
> have extra files. But if you include it then your backup won’t keep
> accidentally deleted files for long enough to recover, unless you notice
> quickly.

My answer is "no" :).  I've saved my own skin more than once with
hanging onto something I deleted two months ago because "bah, this is
awful, I'm never gonna need it again...".

Maybe when I get better at the "and tar it up and kick it off to that
external harddrive", I'll feel more comfortable with letting the
computer delete things.

> [...]
>
> My solution to all this is https://www.greenend.org.uk/rjk/rsbackup/.
>

More stuff to read! :)

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAlyPfuwACgkQjhHd8xJ5
ooHPGAgAsrMlppNNQqJSDTfQrKJBFWN5MvR7BcXZKBZ5NNisVtzS4zONXpncyqDQ
CJD5ELzW9Q4fenbdnOXmoNIcB6wI4ei/cvYqURe6055aBUyKxRrhkwQ7I12Mv8S0
X/GiXn1qsydKkF9Q7mwxtW1Afswsm7/7oVzCoYK+OXhOQ/438nsOqsgoELy3tylO
f2fDZmpx9Sf1zK+ol8fthC0Gyjcnij8hmRaNcQJdJMTv6dZyHPFwa4EdFf+ZV+N3
DxsMkzYC4yxSJ78Myi0TW6+koZtDj7fqlrXvLtMVbJ26DNUf3TjBevbvY5xrAWDJ
pnSomea+lPtP60RHaIIRD9c2EAGalw==
=g5Ea
-----END PGP SIGNATURE-----

-- 
|_|O|_| 
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281

[toc] | [prev] | [next] | [standalone]


#54467

From"Carlos E.R." <robin_listas@es.invalid>
Date2019-03-18 13:07 +0100
Message-ID<t8e4mf-ks9.ln1@Telcontar.valinor>
In reply to#54465
On 18/03/2019 12.20, Dan Purgert wrote:
> Richard Kettlewell wrote:
>> Dan Purgert <dan@djph.net> writes:
>>> === Option switches: ===
>>>
>>> This is always the part that trips me up -- there are just so many of
>>> them.  What I have found is that for my needs, the quick and somewhat
>>> dirty command
>>>
>>>   rsync -avP
>>>
>>> is good for interactive mode, and I like seeing the progress indicators
>>> (as some of the files are large, and just sitting at "/path/to/something
>>> [...]" for 10 minutes is a bit tedious.  But that's me.
>>>
>>> In my backup scripts, I simply remove the "-P" switch, as I just like to
>>> see the filenames being transferred (and even that's probably a bit
>>> much)
>>>
>>>
>>> So, what do these switches mean?
>>>
>>>   -v -> verbose.  Prints the filenames as it's going, as well as some
>>>     transfer details when the process is completed.
>>>   -P -> same as "--progress".  Prints progress of the transfer
>>>   -a -> "archive" mode.  Same as -rlptgoD
>>>
>>>     -r -> recursively traverse directories
>>>     -l -> copy symlinks as symlinks
>>>     -p -> preserve permissions
>>>     -t -> preserve mtime
>>>     -g -> preserve group
>>>     -o -> preserve owner (only works if remote rsync is running as 
>>>           super-user)
>>>     -D -> same as --devices --specials
>>>     
>>>         --devices -> recreates block-devices at the remote end (only
>>>             works if remote rsync is running as super-user)
>>>         --specials -> recreates special files, such as named pipes and
>>>             fifos.
> 
>> You surely want at least the following as well:
>>  -X, --xattrs                preserve extended attributes
>>  -A, --acls                  preserve ACLs (implies --perms)
> 
> I personally don't use either, but it's probably something others need
> to watch out for.

Well, if you do backups you don't watch, but simply assume --options to
backup everything, without looking if they are used or not. Hard links,
sparse files, attributes, ACLs... everything.

Typically I use:

OPTIONS="--archive --acls --xattrs --hard-links --sparse --stats
--human-readable "

but this minute I can not say I did not forget something :-)

My latest variation I use is:

OPTIONS="--archive --acls --xattrs --hard-links --sparse
--one-file-system --stats --human-readable --checksum --delete"


As to the idea of the tool doing by default everything sane, no, because
what everybody thinks is sane, is different. So read the doc, make your
choices, or ask.

> 
> 
>> ...but watch out for some issues with Apple’s custom rsync, if you are
>> backing up macOS hosts.
> 
>> For performance reasons you may want:
>>  -S, --sparse                handle sparse files efficiently
>>  -z, --compress              compress file data during the transfer
> 
> I tried with the -z option, and it made my (admittedly ancient) machines
> slow down.  It may help on the wifi-bound machines, will have to try it
> out!

Well, compression is certainly CPU intensive. It only helps when the
network is slow.


> 
> 
>> A slightly trickier question is:
>>      --delete                delete extraneous files from destination dirs
> 
>> If you omit it, your backup will be inaccurate in the sense that it will
>> have extra files. But if you include it then your backup won’t keep
>> accidentally deleted files for long enough to recover, unless you notice
>> quickly.
> 
> My answer is "no" :).  I've saved my own skin more than once with
> hanging onto something I deleted two months ago because "bah, this is
> awful, I'm never gonna need it again...".

Well, that is why we use "--link-dest=...".  The previous backups have
the previously used files... Think. If the disk dies you do not want to
restore the files you decided to delete.


-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#54470

FromDan Purgert <dan@djph.net>
Date2019-03-18 12:43 +0000
Message-ID<slrnq8v4jn.n0k.dan@djph.net>
In reply to#54467
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Carlos E.R. wrote:
> On 18/03/2019 12.20, Dan Purgert wrote:
>> Richard Kettlewell wrote:
>>> Dan Purgert <dan@djph.net> writes:
>>>> === Option switches: ===
>>>>
>>>> This is always the part that trips me up -- there are just so many of
>>>> them.  What I have found is that for my needs, the quick and somewhat
>>>> dirty command
>>>>
>>>>   rsync -avP
>>>>
>>>> is good for interactive mode, and I like seeing the progress indicators
>>>> (as some of the files are large, and just sitting at "/path/to/something
>>>> [...]" for 10 minutes is a bit tedious.  But that's me.
>>>>
>>>> In my backup scripts, I simply remove the "-P" switch, as I just like to
>>>> see the filenames being transferred (and even that's probably a bit
>>>> much)
>>>>
>>>>
>>>> So, what do these switches mean?
>>>>
>>>>   -v -> verbose.  Prints the filenames as it's going, as well as some
>>>>     transfer details when the process is completed.
>>>>   -P -> same as "--progress".  Prints progress of the transfer
>>>>   -a -> "archive" mode.  Same as -rlptgoD
>>>>
>>>>     -r -> recursively traverse directories
>>>>     -l -> copy symlinks as symlinks
>>>>     -p -> preserve permissions
>>>>     -t -> preserve mtime
>>>>     -g -> preserve group
>>>>     -o -> preserve owner (only works if remote rsync is running as 
>>>>           super-user)
>>>>     -D -> same as --devices --specials
>>>>     
>>>>         --devices -> recreates block-devices at the remote end (only
>>>>             works if remote rsync is running as super-user)
>>>>         --specials -> recreates special files, such as named pipes and
>>>>             fifos.
>> 
>>> You surely want at least the following as well:
>>>  -X, --xattrs                preserve extended attributes
>>>  -A, --acls                  preserve ACLs (implies --perms)
>> 
>> I personally don't use either, but it's probably something others need
>> to watch out for.
>
> Well, if you do backups you don't watch, but simply assume --options to
> backup everything, without looking if they are used or not. Hard links,
> sparse files, attributes, ACLs... everything.

I might've been unclear -- I _KNOW_ I'm not using ACLs or xattrs on my
things (barring some upstream decision that turns them on by default
that I didn't know about because I've never consciously enabled them).


>> [...]
>> 
>> I tried with the -z option, and it made my (admittedly ancient) machines
>> slow down.  It may help on the wifi-bound machines, will have to try it
>> out!
>
> Well, compression is certainly CPU intensive. It only helps when the
> network is slow.

Yeah, which is why it might help on my wifi-bound devices.  At least
until I get those cables pulled.

>
>
>> 
>> 
>>> A slightly trickier question is:
>>>      --delete                delete extraneous files from destination dirs
>> 
>>> If you omit it, your backup will be inaccurate in the sense that it will
>>> have extra files. But if you include it then your backup won’t keep
>>> accidentally deleted files for long enough to recover, unless you notice
>>> quickly.
>> 
>> My answer is "no" :).  I've saved my own skin more than once with
>> hanging onto something I deleted two months ago because "bah, this is
>> awful, I'm never gonna need it again...".
>
> Well, that is why we use "--link-dest=...".  The previous backups have
> the previously used files... Think. If the disk dies you do not want to
> restore the files you decided to delete.

Sure, unless I deleted them as an oops.  I'll probably add a manual
"rsync-with-delete" run after tarball / offloading the monthlies. hmm...




-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAlyPkncACgkQjhHd8xJ5
ooEAPwgAqPRpHztjLjM8WfzDgJgBTX1Yu9lQvVg2xLaEebG5MyvP21kpQf5EYfFK
3ASXfdCZ0FmWuDi+mgEqCt0rxEUOXv8oxoKSaRlE48BZozqZqbuIh+/Ud57agDwn
8nwkcrO3ca0DRKC8UbSOBsCyIvRIZixmCv+q5v+Z1FS4GGwJVaEc0a3tsmweRKSO
VFAXgUFciJhZwqbi8ROgN+cGWj212ZutG8/Obo+mbZYobJJOhDGNIYkZ+b8py6Mu
iTIrHwIjp+Xaxev+J5KZ5q70avpT5rv3FsWHeAaCcBaYvOPjB1kEzL1CCc+9KBOD
2DC4ldC0Cyw0dT2vV7G91Vgz03u96A==
=1aT4
-----END PGP SIGNATURE-----

-- 
|_|O|_| 
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281

[toc] | [prev] | [next] | [standalone]


#54472

From"Carlos E.R." <robin_listas@es.invalid>
Date2019-03-18 14:32 +0100
Message-ID<c9j4mf-k6e.ln1@Telcontar.valinor>
In reply to#54470
On 18/03/2019 13.43, Dan Purgert wrote:
> Carlos E.R. wrote:
>> On 18/03/2019 12.20, Dan Purgert wrote:
>>> Richard Kettlewell wrote:
>>>> Dan Purgert <dan@djph.net> writes:
>>>>> === Option switches: ===
>>>>>
>>>>> This is always the part that trips me up -- there are just so many of
>>>>> them.  What I have found is that for my needs, the quick and somewhat
>>>>> dirty command
>>>>>
>>>>>   rsync -avP
>>>>>
>>>>> is good for interactive mode, and I like seeing the progress indicators
>>>>> (as some of the files are large, and just sitting at "/path/to/something
>>>>> [...]" for 10 minutes is a bit tedious.  But that's me.
>>>>>
>>>>> In my backup scripts, I simply remove the "-P" switch, as I just like to
>>>>> see the filenames being transferred (and even that's probably a bit
>>>>> much)
>>>>>
>>>>>
>>>>> So, what do these switches mean?
>>>>>
>>>>>   -v -> verbose.  Prints the filenames as it's going, as well as some
>>>>>     transfer details when the process is completed.
>>>>>   -P -> same as "--progress".  Prints progress of the transfer
>>>>>   -a -> "archive" mode.  Same as -rlptgoD
>>>>>
>>>>>     -r -> recursively traverse directories
>>>>>     -l -> copy symlinks as symlinks
>>>>>     -p -> preserve permissions
>>>>>     -t -> preserve mtime
>>>>>     -g -> preserve group
>>>>>     -o -> preserve owner (only works if remote rsync is running as 
>>>>>           super-user)
>>>>>     -D -> same as --devices --specials
>>>>>     
>>>>>         --devices -> recreates block-devices at the remote end (only
>>>>>             works if remote rsync is running as super-user)
>>>>>         --specials -> recreates special files, such as named pipes and
>>>>>             fifos.
>>>
>>>> You surely want at least the following as well:
>>>>  -X, --xattrs                preserve extended attributes
>>>>  -A, --acls                  preserve ACLs (implies --perms)
>>>
>>> I personally don't use either, but it's probably something others need
>>> to watch out for.
> 
>> Well, if you do backups you don't watch, but simply assume --options to
>> backup everything, without looking if they are used or not. Hard links,
>> sparse files, attributes, ACLs... everything.
> 
> I might've been unclear -- I _KNOW_ I'm not using ACLs or xattrs on my
> things (barring some upstream decision that turns them on by default
> that I didn't know about because I've never consciously enabled them).

Maybe you don't, but maybe some application you use does.

I think acl and attr are enabled by default on modern filesystem types.

-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#54476

FromWilliam Unruh <unruh@invalid.ca>
Date2019-03-18 16:44 +0000
Message-ID<q6ohu1$d92$2@dont-email.me>
In reply to#54472
On 2019-03-18, Carlos E.R. <robin_listas@es.invalid> wrote:
> On 18/03/2019 13.43, Dan Purgert wrote:
>> Carlos E.R. wrote:
>>> On 18/03/2019 12.20, Dan Purgert wrote:
>>>> Richard Kettlewell wrote:
>>>>> Dan Purgert <dan@djph.net> writes:
>>>>>> === Option switches: ===
>>>>>>
>>>>>> This is always the part that trips me up -- there are just so many of
>>>>>> them.  What I have found is that for my needs, the quick and somewhat
>>>>>> dirty command
>>>>>>
>>>>>>   rsync -avP
>>>>>>
>>>>>> is good for interactive mode, and I like seeing the progress indicators
>>>>>> (as some of the files are large, and just sitting at "/path/to/something
>>>>>> [...]" for 10 minutes is a bit tedious.  But that's me.
>>>>>>
>>>>>> In my backup scripts, I simply remove the "-P" switch, as I just like to
>>>>>> see the filenames being transferred (and even that's probably a bit
>>>>>> much)
>>>>>>
>>>>>>
>>>>>> So, what do these switches mean?
>>>>>>
>>>>>>   -v -> verbose.  Prints the filenames as it's going, as well as some
>>>>>>     transfer details when the process is completed.
>>>>>>   -P -> same as "--progress".  Prints progress of the transfer
>>>>>>   -a -> "archive" mode.  Same as -rlptgoD
>>>>>>
>>>>>>     -r -> recursively traverse directories
>>>>>>     -l -> copy symlinks as symlinks
>>>>>>     -p -> preserve permissions
>>>>>>     -t -> preserve mtime
>>>>>>     -g -> preserve group
>>>>>>     -o -> preserve owner (only works if remote rsync is running as 
>>>>>>           super-user)
>>>>>>     -D -> same as --devices --specials
>>>>>>     
>>>>>>         --devices -> recreates block-devices at the remote end (only
>>>>>>             works if remote rsync is running as super-user)
>>>>>>         --specials -> recreates special files, such as named pipes and
>>>>>>             fifos.
>>>>
>>>>> You surely want at least the following as well:
>>>>>  -X, --xattrs                preserve extended attributes
>>>>>  -A, --acls                  preserve ACLs (implies --perms)
>>>>
>>>> I personally don't use either, but it's probably something others need
>>>> to watch out for.
>> 
>>> Well, if you do backups you don't watch, but simply assume --options to
>>> backup everything, without looking if they are used or not. Hard links,
>>> sparse files, attributes, ACLs... everything.
>> 
>> I might've been unclear -- I _KNOW_ I'm not using ACLs or xattrs on my
>> things (barring some upstream decision that turns them on by default
>> that I didn't know about because I've never consciously enabled them).
>
> Maybe you don't, but maybe some application you use does.
>
> I think acl and attr are enabled by default on modern filesystem types.

The possibility of using them is (lsattr, chattr,...) but whether or not
you use them at all is up to you. And you may never use them, in which
case all files have the defaults, and the new files you make in your
backup have the defaults.
>

[toc] | [prev] | [next] | [standalone]


#54456

FromDaniel60 <daniel47@eternal-september.org>
Date2019-03-16 23:52 +1100
Message-ID<q6irj5$u2v$1@dont-email.me>
In reply to#54449
Dan Purgert wrote on 16/03/2019 5:19 AM:
> 
> I know this comes up from time to time, and there are a bazillion
> tutorials about it spread across the web, but it's been quiet in here
> lately, and I just went through revamping my setup a few weeks ago.
> Maybe someone will find it helpful.
> 
> In my case, I'm running rsync v 3.1.1, protocol version 31 (Devuan
> Jessie) on my backup server, and rsync v. 3.1.2 protocol version 31 on
> the clients (MX Linux & Mint 18 in a VM for testing).  As such, this'll
> have a definite "Debian" slant to it, apologies in advance for any
> RH-specific stuff wrong.
> 
> NOTE -- for the bulk of this, we're going to assume that "source" and
> "destination" are two directories on the same physical machine. The
> final section will cover connecting to remote hosts.
> 
> === Getting rsync: ===
> 
> In my experience, Debian-based distros don't tend to ship with rsync
> installed; so we're just going to assume that no one ships with it.
> 
> To install, Debian style (as root):
> 
>    apt-get install rsync
> 
> To install, RH style (as root):
> 
>    yum install rsync
> 
> Your package manager will do its thing, and install the program for you.
> 
> 
> === Basic rsync operation: ===
> 
> Now that rsync is installed, we can start using it to create backups of
> our stuff.  Here is where things _may_ get a little annoying, especially
> if you've used other methods to create backups in the past.  This is
> mainly caused by rsync mainly using mtime to determine whether files
> have changed.
> 
> The other thing that I've seen trip people up is the syntax necessary
> for getting things to work. These two commands operate slightly
> differently:
> 
>    rsync source destination
> 
>    AND
> 
>    rsync source/ destination
> 
> 
> In the first instance, "source" will become a subdirectory under
> "destination".  That is, "source/file.xyz" will be saved as
> "destination/source/myfile.xyz".
> 
> The second instance, only the contents of "source" will be transferred.
> That is "source/file.xyz" will be saved as "destination/file.xyz".
> 
> Whether you use "source" or "source/" is up to you and how you want your
> backup hierarchy to look.  I use both approaches - "source" for $HOME
> directories (so I get destination/myhome/[files]), and "source/" for
> system things (mainly /usr/local/{,s}bin; so the backup just has
> "dest/[files]".
> 
> In nearly every case, writing "source/*" is the wrong approach -- as
> this'll miss dotfiles (and directories); which means potentially not
> having backups of our important configs (.bashrc, .gnupg, and so on).
> 
> 
> === Option switches: ===
> 
> This is always the part that trips me up -- there are just so many of
> them.  What I have found is that for my needs, the quick and somewhat
> dirty command
> 
>    rsync -avP
> 
> is good for interactive mode, and I like seeing the progress indicators
> (as some of the files are large, and just sitting at "/path/to/something
> [...]" for 10 minutes is a bit tedious.  But that's me.
> 
> In my backup scripts, I simply remove the "-P" switch, as I just like to
> see the filenames being transferred (and even that's probably a bit
> much)
> 
> 
> So, what do these switches mean?
> 
>    -v -> verbose.  Prints the filenames as it's going, as well as some
>      transfer details when the process is completed.
>    -P -> same as "--progress".  Prints progress of the transfer
>    -a -> "archive" mode.  Same as -rlptgoD
> 
>      -r -> recursively traverse directories
>      -l -> copy symlinks as symlinks
>      -p -> preserve permissions
>      -t -> preserve mtime
>      -g -> preserve group
>      -o -> preserve owner (only works if remote rsync is running as
>            super-user)
>      -D -> same as --devices --specials
>      
>          --devices -> recreates block-devices at the remote end (only
>              works if remote rsync is running as super-user)
>          --specials -> recreates special files, such as named pipes and
>              fifos.
> 
> Now, in my case, my backup server isn't running rsync as root, so I lose
> out on the -o and -D options as part of the archival process; but "-a"
> is a lot less typing than "-rlptg".
> 
> Another option that can be extremely useful is "--exclude".  However, I
> tend to not use this option, as my local LAN is faster than the
> internet; so better to have ~150GB of stuff locally than waiting on
> steam.  But that's just me.

Dan, thank you for posting this little Tutorial on rsync. I'm using MGA6 
and I've been meaning to create a back-up of my Laptop's internal 500GB 
HD to my external 3TB HD for sometime .... especially since I recently 
found out the back-up that I thought I had made was useless (only about 
500MB of what I figured should have been about 500GB)!!

I have two questions, however, ....

1.	When specifying the destination location, can I make it Date 
dependant?? i.e. Can I use something like ..

rsync -avP  /sda1 /media/($Date)/sda1

so that today's date will be included as part of the destination location??

2.	You mention setting up a cron job to 'automate' the back-up. On my 
internal HD I have several partitions, so can I set up a cron job to 
back-up all of the 'useful' partitions but not the SWAP partition ... 
something like ...

For SDA=1 to 15 (i.e. I have 15 partitions to back-up)
If SDA=5 then Next (i.e. if sda5 is SWAP file, skip it)
rsync -avP  /sda(SDA) /media/($Date)/sda(SDA)
Next

Thanks for your consideration. I've tried reading up on 'rsync' in the 
MGA manual but, it seems to (uneducated) me, the manual is written for 
those who know what they're doing to check up on themselves!!

-- 
Daniel

[toc] | [prev] | [next] | [standalone]


#54466

FromDan Purgert <dan@djph.net>
Date2019-03-18 11:49 +0000
Message-ID<slrnq8v1ej.n0k.dan@djph.net>
In reply to#54456
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Daniel60 wrote:
> Dan Purgert wrote on 16/03/2019 5:19 AM:
>> 
>> I know this comes up from time to time, and there are a bazillion
>> tutorials about it spread across the web, but it's been quiet in here
>> lately, and I just went through revamping my setup a few weeks ago.
>> Maybe someone will find it helpful.
>> [...]
>> 
> Dan, thank you for posting this little Tutorial on rsync. I'm using MGA6 
> and I've been meaning to create a back-up of my Laptop's internal 500GB 
> HD to my external 3TB HD for sometime .... especially since I recently 
> found out the back-up that I thought I had made was useless (only about 
> 500MB of what I figured should have been about 500GB)!!
>
> I have two questions, however, ....
>
> 1.	When specifying the destination location, can I make it Date 
> dependant?? i.e. Can I use something like ..
>
> rsync -avP  /sda1 /media/($Date)/sda1
>
> so that today's date will be included as part of the destination
> location??

Did a quick test, and it works perfectly fine running this in my $HOME
dir:

  mkdir testbackup
  rsync -avP News/ testbackup/$(date +Y%M%d)

It resulted in:

  $HOME/testbackup/20190318/(everything from News)

If I ran "rsync -avP News testbackup/($date +Y%M%d)", I'd have gotten
"$HOME/testbackup/20190318/News/(stuff)".

NOTE -- if your date has spaces (e.g. the default -- "Mon Mar 18 [h:m:s]
TZ 2019"), it will break rsync.  If you want that date format, then
you'll need to use quotes to keep the shell from breaking up the spaces.
Something like this - rsync -avP News testbackup/"$(date)".

>
> 2.	You mention setting up a cron job to 'automate' the back-up. On my 
> internal HD I have several partitions, so can I set up a cron job to 
> back-up all of the 'useful' partitions but not the SWAP partition ... 
> something like ...
>
> For SDA=1 to 15 (i.e. I have 15 partitions to back-up)
> If SDA=5 then Next (i.e. if sda5 is SWAP file, skip it)
> rsync -avP  /sda(SDA) /media/($Date)/sda(SDA)
> Next

I've never tried it using /dev as a source.  I imagine it might work,
but I'd probably just do something like 

  rsync -avP /dev/sda1/mountpoint /path/to/backup/dir
  [...]
  rsync -avP /dev/sda15/mountpoint /path/to/backup/dir

Or, more likely I'd be running different cronjobs or scripts to handle
one-off updates -- for example, I only backup /etc when I make a change
(I have a script called something like "updetc" which is pretty much:

  #!/bin/bash
  # co/ci commands from 'rcs' package
  co -l $1
  vi $1
  ci -u $1
  rsync /etc /path/to/backup

And yes, everyone's gonna flip out that it's quick and dirty and assumes
no spaces in the filename, and so forth.  Don't use this as an example
of "good bash scripting"

>
> Thanks for your consideration. I've tried reading up on 'rsync' in the 
> MGA manual but, it seems to (uneducated) me, the manual is written for 
> those who know what they're doing to check up on themselves!!
>

That's every manpage ever :)


-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAlyPhdEACgkQjhHd8xJ5
ooHerwgAp5hGDNJE1I9Lu/K9t0qMlV1K7ElpnP3r6Ayv2sfcykG+fkKrIdJcDEyx
4+Rj7RuYXHWhkZLie8mBiptmLJNsnUzsM6p3tCj4/Q3Av99ikHUjCQa/YUqsvthi
PFl+7NFOmyGGAwYFaaX6cClLqQtKODWdZRWkTmyQgtLLIODh+qhzLLviEwqNiKuE
Vq4pOBKkVzJvncACnLiOwMYtBzzx2x3MmPUHiHqrrZ9/ATGVP208jyP59yHoPtW2
QuazMMN1+1X4yLqUc9XzP/j9NFm06WdwcS2qfd20LXQv98ZV1EILFWCmYc37IECj
Z4B32ULkpYvp7ACHDC7NZs3CClHYjA==
=c+dq
-----END PGP SIGNATURE-----

-- 
|_|O|_| 
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281

[toc] | [prev] | [next] | [standalone]


#54468

From"Carlos E.R." <robin_listas@es.invalid>
Date2019-03-18 13:11 +0100
Message-ID<6he4mf-h3a.ln1@Telcontar.valinor>
In reply to#54466
On 18/03/2019 12.49, Dan Purgert wrote:
> Daniel60 wrote:
>> Dan Purgert wrote on 16/03/2019 5:19 AM:

...

> Did a quick test, and it works perfectly fine running this in my $HOME
> dir:
> 
>   mkdir testbackup
>   rsync -avP News/ testbackup/$(date +Y%M%d)
> 
> It resulted in:
> 
>   $HOME/testbackup/20190318/(everything from News)
> 
> If I ran "rsync -avP News testbackup/($date +Y%M%d)", I'd have gotten
> "$HOME/testbackup/20190318/News/(stuff)".
> 
> NOTE -- if your date has spaces (e.g. the default -- "Mon Mar 18 [h:m:s]
> TZ 2019"), it will break rsync.  If you want that date format, then
> you'll need to use quotes to keep the shell from breaking up the spaces.
> Something like this - rsync -avP News testbackup/"$(date)".

Use "date --iso" instead.


-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#54471

FromDan Purgert <dan@djph.net>
Date2019-03-18 12:45 +0000
Message-ID<slrnq8v4ne.n0k.dan@djph.net>
In reply to#54468
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Carlos E.R. wrote:
> On 18/03/2019 12.49, Dan Purgert wrote:
>> Daniel60 wrote:
>>> Dan Purgert wrote on 16/03/2019 5:19 AM:
>
> ...
>
>> Did a quick test, and it works perfectly fine running this in my $HOME
>> dir:
>> 
>>   mkdir testbackup
>>   rsync -avP News/ testbackup/$(date +Y%M%d)
>> 
>> It resulted in:
>> 
>>   $HOME/testbackup/20190318/(everything from News)
>> [...]
>
> Use "date --iso" instead.

But I didn't want the dashes :)


-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAlyPku4ACgkQjhHd8xJ5
ooFThggAifMIA7Ut2mYatooTr0q+tUwmViTzvWyViaEZifoFvCl/f1lViOs2SvhE
6J1n2tvSl9vVj7KFLeojdnBtxt8YJv5M9uysbGHsaXv+w+K6wMOv4rwmjA655iQE
Ubav7lYy54bTioFgNKJZ/nly7bxPI2cwDW81hx/Vi+36QUbG1HoxdQNRT2Nyk7WJ
mrXw2r1rGX/kjgXwGKBJcX8wk8DViHTiepfGvP0S8DiprwD9UXKt/b/BSaUmubp+
xvEA45T9/j6afe+zGLrW7LVsYiwkVXUZpycOy0sCCGB6em3CY7mpjwTXhp9ADLN0
a0AGFP3VYeZu4Gaqa0OI/F3iXjFjPQ==
=DX98
-----END PGP SIGNATURE-----

-- 
|_|O|_| 
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281

[toc] | [prev] | [next] | [standalone]


#54481

FromWilliam Unruh <unruh@invalid.ca>
Date2019-03-18 18:12 +0000
Message-ID<q6on3a$dq0$1@dont-email.me>
In reply to#54466
On 2019-03-18, Dan Purgert <dan@djph.net> wrote:
>
> Daniel60 wrote:
>> Dan Purgert wrote on 16/03/2019 5:19 AM:
>> and I've been meaning to create a back-up of my Laptop's internal 500GB 
>> HD to my external 3TB HD for sometime .... especially since I recently 
>> found out the back-up that I thought I had made was useless (only about 
>> 500MB of what I figured should have been about 500GB)!!
>>
>> I have two questions, however, ....
>>
>> 1.	When specifying the destination location, can I make it Date 
>> dependant?? i.e. Can I use something like ..
>>
>> rsync -avP  /sda1 /media/($Date)/sda1
>>
>> so that today's date will be included as part of the destination
>> location??
>
> Did a quick test, and it works perfectly fine running this in my $HOME
> dir:
>
>   mkdir testbackup
>   rsync -avP News/ testbackup/$(date +Y%M%d)
>
> It resulted in:
>
>   $HOME/testbackup/20190318/(everything from News)
>
> If I ran "rsync -avP News testbackup/($date +Y%M%d)", I'd have gotten
> "$HOME/testbackup/20190318/News/(stuff)".
>
> NOTE -- if your date has spaces (e.g. the default -- "Mon Mar 18 [h:m:s]
> TZ 2019"), it will break rsync.  If you want that date format, then
> you'll need to use quotes to keep the shell from breaking up the spaces.
> Something like this - rsync -avP News testbackup/"$(date)".

If you do link-dest, you will have to figure out which of the backups
you should be using for that linking. Since the dates are not
sequential, you have to search through them to find the latest on (ie
decode the dates)

I use rsnapshot, which simply number them
daily0, daily1,.... When it does the backup, moves all of the numbers up
by one with a mv (relink) So mv 
for ((i=6,0,-1)) ; do
j=$((i+1))
mv daily${i} daily${j}
done
rsync -aq /source/directory daily0 --link-dest daily1/<backupdirectory>

etc.
rm -rf daily7

>
>>
>> 2.	You mention setting up a cron job to 'automate' the back-up. On my 
>> internal HD I have several partitions, so can I set up a cron job to 
>> back-up all of the 'useful' partitions but not the SWAP partition ... 
>> something like ...
>>
>> For SDA=1 to 15 (i.e. I have 15 partitions to back-up)
>> If SDA=5 then Next (i.e. if sda5 is SWAP file, skip it)
>> rsync -avP  /sda(SDA) /media/($Date)/sda(SDA)
>> Next
>
> I've never tried it using /dev as a source.  I imagine it might work,
> but I'd probably just do something like 
>
>   rsync -avP /dev/sda1/mountpoint /path/to/backup/dir
>   [...]
>   rsync -avP /dev/sda15/mountpoint /path/to/backup/dir
>
> Or, more likely I'd be running different cronjobs or scripts to handle
> one-off updates -- for example, I only backup /etc when I make a change
> (I have a script called something like "updetc" which is pretty much:
>
>   #!/bin/bash
>   # co/ci commands from 'rcs' package
>   co -l $1
>   vi $1
>   ci -u $1
>   rsync /etc /path/to/backup
>
> And yes, everyone's gonna flip out that it's quick and dirty and assumes
> no spaces in the filename, and so forth.  Don't use this as an example
> of "good bash scripting"
>
>>
>> Thanks for your consideration. I've tried reading up on 'rsync' in the 
>> MGA manual but, it seems to (uneducated) me, the manual is written for 
>> those who know what they're doing to check up on themselves!!
>>
>
> That's every manpage ever :)
>
>
>

[toc] | [prev] | [next] | [standalone]


#54482

FromChris Elvidge <chris@mshome.net>
Date2019-03-18 19:12 +0000
Message-ID<q6oqig$9ur$1@dont-email.me>
In reply to#54481
On 18/03/2019 18:12, William Unruh wrote:
> On 2019-03-18, Dan Purgert <dan@djph.net> wrote:
>>
>> Daniel60 wrote:
>>> Dan Purgert wrote on 16/03/2019 5:19 AM:
>>> and I've been meaning to create a back-up of my Laptop's internal 500GB
>>> HD to my external 3TB HD for sometime .... especially since I recently
>>> found out the back-up that I thought I had made was useless (only about
>>> 500MB of what I figured should have been about 500GB)!!
>>>
>>> I have two questions, however, ....
>>>
>>> 1.	When specifying the destination location, can I make it Date
>>> dependant?? i.e. Can I use something like ..
>>>
>>> rsync -avP  /sda1 /media/($Date)/sda1
>>>
>>> so that today's date will be included as part of the destination
>>> location??
>>
>> Did a quick test, and it works perfectly fine running this in my $HOME
>> dir:
>>
>>    mkdir testbackup
>>    rsync -avP News/ testbackup/$(date +Y%M%d)
>>
>> It resulted in:
>>
>>    $HOME/testbackup/20190318/(everything from News)
>>
>> If I ran "rsync -avP News testbackup/($date +Y%M%d)", I'd have gotten
>> "$HOME/testbackup/20190318/News/(stuff)".
>>
>> NOTE -- if your date has spaces (e.g. the default -- "Mon Mar 18 [h:m:s]
>> TZ 2019"), it will break rsync.  If you want that date format, then
>> you'll need to use quotes to keep the shell from breaking up the spaces.
>> Something like this - rsync -avP News testbackup/"$(date)".
> 
> If you do link-dest, you will have to figure out which of the backups
> you should be using for that linking. Since the dates are not
> sequential, you have to search through them to find the latest on (ie
> decode the dates)
> 
> I use rsnapshot, which simply number them
> daily0, daily1,.... When it does the backup, moves all of the numbers up
> by one with a mv (relink) So mv
> for ((i=6,0,-1)) ; do
 > j=$((i+1))

for i in {6..0}; do j=$((i++)) etc
or
j=7; for ((i=6;i>=0;i--,j--)); do etc

> mv daily${i} daily${j}
> done
> rsync -aq /source/directory daily0 --link-dest daily1/<backupdirectory>
> 
> etc.
> rm -rf daily7
> 
>>
>>>
>>> 2.	You mention setting up a cron job to 'automate' the back-up. On my
>>> internal HD I have several partitions, so can I set up a cron job to
>>> back-up all of the 'useful' partitions but not the SWAP partition ...
>>> something like ...
>>>
>>> For SDA=1 to 15 (i.e. I have 15 partitions to back-up)
>>> If SDA=5 then Next (i.e. if sda5 is SWAP file, skip it)
>>> rsync -avP  /sda(SDA) /media/($Date)/sda(SDA)
>>> Next
>>
>> I've never tried it using /dev as a source.  I imagine it might work,
>> but I'd probably just do something like
>>
>>    rsync -avP /dev/sda1/mountpoint /path/to/backup/dir
>>    [...]
>>    rsync -avP /dev/sda15/mountpoint /path/to/backup/dir
>>
>> Or, more likely I'd be running different cronjobs or scripts to handle
>> one-off updates -- for example, I only backup /etc when I make a change
>> (I have a script called something like "updetc" which is pretty much:
>>
>>    #!/bin/bash
>>    # co/ci commands from 'rcs' package
>>    co -l $1
>>    vi $1
>>    ci -u $1
>>    rsync /etc /path/to/backup
>>
>> And yes, everyone's gonna flip out that it's quick and dirty and assumes
>> no spaces in the filename, and so forth.  Don't use this as an example
>> of "good bash scripting"
>>
>>>
>>> Thanks for your consideration. I've tried reading up on 'rsync' in the
>>> MGA manual but, it seems to (uneducated) me, the manual is written for
>>> those who know what they're doing to check up on themselves!!
>>>
>>
>> That's every manpage ever :)
>>
>>
>>



-- 

Chris Elvidge, England

[toc] | [prev] | [next] | [standalone]


#54483

FromChris Elvidge <chris@mshome.net>
Date2019-03-18 19:19 +0000
Message-ID<q6oqva$b58$1@dont-email.me>
In reply to#54482
On 18/03/2019 19:12, Chris Elvidge wrote:
> On 18/03/2019 18:12, William Unruh wrote:
>> On 2019-03-18, Dan Purgert <dan@djph.net> wrote:
>>>
>>> Daniel60 wrote:
>>>> Dan Purgert wrote on 16/03/2019 5:19 AM:
>>>> and I've been meaning to create a back-up of my Laptop's internal 500GB
>>>> HD to my external 3TB HD for sometime .... especially since I recently
>>>> found out the back-up that I thought I had made was useless (only about
>>>> 500MB of what I figured should have been about 500GB)!!
>>>>
>>>> I have two questions, however, ....
>>>>
>>>> 1.    When specifying the destination location, can I make it Date
>>>> dependant?? i.e. Can I use something like ..
>>>>
>>>> rsync -avP  /sda1 /media/($Date)/sda1
>>>>
>>>> so that today's date will be included as part of the destination
>>>> location??
>>>
>>> Did a quick test, and it works perfectly fine running this in my $HOME
>>> dir:
>>>
>>>    mkdir testbackup
>>>    rsync -avP News/ testbackup/$(date +Y%M%d)
>>>
>>> It resulted in:
>>>
>>>    $HOME/testbackup/20190318/(everything from News)
>>>
>>> If I ran "rsync -avP News testbackup/($date +Y%M%d)", I'd have gotten
>>> "$HOME/testbackup/20190318/News/(stuff)".
>>>
>>> NOTE -- if your date has spaces (e.g. the default -- "Mon Mar 18 [h:m:s]
>>> TZ 2019"), it will break rsync.  If you want that date format, then
>>> you'll need to use quotes to keep the shell from breaking up the spaces.
>>> Something like this - rsync -avP News testbackup/"$(date)".
>>
>> If you do link-dest, you will have to figure out which of the backups
>> you should be using for that linking. Since the dates are not
>> sequential, you have to search through them to find the latest on (ie
>> decode the dates)
>>
>> I use rsnapshot, which simply number them
>> daily0, daily1,.... When it does the backup, moves all of the numbers up
>> by one with a mv (relink) So mv
>> for ((i=6,0,-1)) ; do
>  > j=$((i+1))
> 
> for i in {6..0}; do j=$((i++)) etc

sorry: j=$((i+1))

> or
> j=7; for ((i=6;i>=0;i--,j--)); do etc
> 
>> mv daily${i} daily${j}
>> done
>> rsync -aq /source/directory daily0 --link-dest daily1/<backupdirectory>
>>
>> etc.
>> rm -rf daily7
>>
>>>
>>>>
>>>> 2.    You mention setting up a cron job to 'automate' the back-up. 
>>>> On my
>>>> internal HD I have several partitions, so can I set up a cron job to
>>>> back-up all of the 'useful' partitions but not the SWAP partition ...
>>>> something like ...
>>>>
>>>> For SDA=1 to 15 (i.e. I have 15 partitions to back-up)
>>>> If SDA=5 then Next (i.e. if sda5 is SWAP file, skip it)
>>>> rsync -avP  /sda(SDA) /media/($Date)/sda(SDA)
>>>> Next
>>>
>>> I've never tried it using /dev as a source.  I imagine it might work,
>>> but I'd probably just do something like
>>>
>>>    rsync -avP /dev/sda1/mountpoint /path/to/backup/dir
>>>    [...]
>>>    rsync -avP /dev/sda15/mountpoint /path/to/backup/dir
>>>
>>> Or, more likely I'd be running different cronjobs or scripts to handle
>>> one-off updates -- for example, I only backup /etc when I make a change
>>> (I have a script called something like "updetc" which is pretty much:
>>>
>>>    #!/bin/bash
>>>    # co/ci commands from 'rcs' package
>>>    co -l $1
>>>    vi $1
>>>    ci -u $1
>>>    rsync /etc /path/to/backup
>>>
>>> And yes, everyone's gonna flip out that it's quick and dirty and assumes
>>> no spaces in the filename, and so forth.  Don't use this as an example
>>> of "good bash scripting"
>>>
>>>>
>>>> Thanks for your consideration. I've tried reading up on 'rsync' in the
>>>> MGA manual but, it seems to (uneducated) me, the manual is written for
>>>> those who know what they're doing to check up on themselves!!
>>>>
>>>
>>> That's every manpage ever :)
>>>
>>>
>>>
> 
> 
> 



-- 

Chris Elvidge, England

[toc] | [prev] | [next] | [standalone]


#54649

FromDaniel60 <daniel47@eternal-september.org>
Date2019-04-02 22:37 +1100
Message-ID<q7vhi5$uk8$1@dont-email.me>
In reply to#54466
Dan Purgert wrote on 18/03/2019 10:49 PM:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Daniel60 wrote:
>> Dan Purgert wrote on 16/03/2019 5:19 AM:
>>>
>>> I know this comes up from time to time, and there are a bazillion
>>> tutorials about it spread across the web, but it's been quiet in here
>>> lately, and I just went through revamping my setup a few weeks ago.
>>> Maybe someone will find it helpful.
>>> [...]
>>>
>> Dan, thank you for posting this little Tutorial on rsync. I'm using MGA6
>> and I've been meaning to create a back-up of my Laptop's internal 500GB
>> HD to my external 3TB HD for sometime .... especially since I recently
>> found out the back-up that I thought I had made was useless (only about
>> 500MB of what I figured should have been about 500GB)!!
>>
>> I have two questions, however, ....
>>
>> 1.	When specifying the destination location, can I make it Date
>> dependant?? i.e. Can I use something like ..
>>
>> rsync -avP  /sda1 /media/($Date)/sda1
>>
>> so that today's date will be included as part of the destination
>> location??
> 
> Did a quick test, and it works perfectly fine running this in my $HOME
> dir:
> 
>    mkdir testbackup
>    rsync -avP News/ testbackup/$(date +Y%M%d)
> 
> It resulted in:
> 
>    $HOME/testbackup/20190318/(everything from News)
> 
> If I ran "rsync -avP News testbackup/($date +Y%M%d)", I'd have gotten
> "$HOME/testbackup/20190318/News/(stuff)".
> 
> NOTE -- if your date has spaces (e.g. the default -- "Mon Mar 18 [h:m:s]
> TZ 2019"), it will break rsync.  If you want that date format, then
> you'll need to use quotes to keep the shell from breaking up the spaces.
> Something like this - rsync -avP News testbackup/"$(date)".
> 
>>
>> 2.	You mention setting up a cron job to 'automate' the back-up. On my
>> internal HD I have several partitions, so can I set up a cron job to
>> back-up all of the 'useful' partitions but not the SWAP partition ...
>> something like ...
>>
>> For SDA=1 to 15 (i.e. I have 15 partitions to back-up)
>> If SDA=5 then Next (i.e. if sda5 is SWAP file, skip it)
>> rsync -avP  /sda(SDA) /media/($Date)/sda(SDA)
>> Next
> 
> I've never tried it using /dev as a source.  I imagine it might work,
> but I'd probably just do something like
> 
>    rsync -avP /dev/sda1/mountpoint /path/to/backup/dir
>    [...]
>    rsync -avP /dev/sda15/mountpoint /path/to/backup/dir
> 
> Or, more likely I'd be running different cronjobs or scripts to handle
> one-off updates -- for example, I only backup /etc when I make a change
> (I have a script called something like "updetc" which is pretty much:
> 
>    #!/bin/bash
>    # co/ci commands from 'rcs' package
>    co -l $1
>    vi $1
>    ci -u $1
>    rsync /etc /path/to/backup
> 
> And yes, everyone's gonna flip out that it's quick and dirty and assumes
> no spaces in the filename, and so forth.  Don't use this as an example
> of "good bash scripting"
> 
>>
>> Thanks for your consideration. I've tried reading up on 'rsync' in the
>> MGA manual but, it seems to (uneducated) me, the manual is written for
>> those who know what they're doing to check up on themselves!!
>>
> 
> That's every manpage ever :)

Thank you for your response, Dan, gives me some hope!!


-- 
Daniel

[toc] | [prev] | [next] | [standalone]


#54491

Fromjjb <invalid@invalid.nl>
Date2019-03-19 12:49 +0100
Message-ID<AaydncsitYatSg3BnZ2dnUU78IXNnZ2d@supernews.com>
In reply to#54449
On 15.03.19 19:19, Dan Purgert wrote:
...
Lots of useful stuff about using rsync for automatic backups
...

I would like to tell you my procedure:

Setup:
A SSD of 500 GB for normal use;
A HDD of 4 TB for backups.

Each day systemd runs a (perl) procedure to backup my system.
Procedure:
- Mount the backup disk on /backup
- If necessary: throw away the oldest unnecessary backups to make room
- Stop mysqld
- Make the backup
- Start mysqld
- Do some other useful stuff
- Once a month: tell the system to boot into Clonezilla after the
procedure has run and make an image backup of the SSD.
- Dismount the backup  disk
- Send an email to my with the result of the backup  (OK/NOT OK, disk
free size, possibly error messages)

During the run a debug file is also written to help if something went wrong.

The setup of the backup disk:
The top directories are:
/regular	for the daily backup
/image		for the monthly image backup with Clonezilla
/script		for the (each month rewritten) Clonezilla backup script

My rsync command:

rsync -aAHXS --numeric-ids --exclude-from=/root/.backup/exclude.lst
	--link-dest=/backup/regular/<previous backup>/
	/ /backup/regular/YYYYMMDD/

where YYMMDD is the current date.

The exclude list contains among others:
/backup***
/cdrom/***
/dev/***
/proc/***
/sys/***
/tmp/***
/run/***
/mnt/***
/media/***
/lost+found/***
/timeshift/***


Result:
Only the very first backup takes a lot of time and disk space.  The
following backups are fast and do not take much disk space.  They still
look like full backups.  Any backup can be thrown away without problem
(except that files ONLY existent in THAT backup are irretrievably deleted).

Up to now I like it.  The backups have been used to retrieve horribly
mangled (by me) files and also to restore the complete system after an
update of the NVIDIA graphics driver which broke things  that should not
have been broken.

[toc] | [prev] | [next] | [standalone]


#54501

FromJasen Betts <jasen@xnet.co.nz>
Date2019-03-19 21:08 +0000
Message-ID<q6rlof$adi$2@gonzo.revmaps.no-ip.org>
In reply to#54491
On 2019-03-19, jjb <invalid@invalid.nl> wrote:
> On 15.03.19 19:19, Dan Purgert wrote:
> ...
> Lots of useful stuff about using rsync for automatic backups
> ...
>
> I would like to tell you my procedure:
>
> Setup:
> A SSD of 500 GB for normal use;
> A HDD of 4 TB for backups.
>
> Each day systemd runs a (perl) procedure to backup my system.
> Procedure:
> - Mount the backup disk on /backup
> - If necessary: throw away the oldest unnecessary backups to make room

That's the same mistake Apple made. If something goes wrong and the backup
script finds more files than it expects you could loose all your backups.
but perhaps you're using some fixed value for "enough room"

> - Stop mysqld
> - Make the backup
> - Start mysqld

there may be a way to put mysql into a backup-ready mode so that you
don't have to shut it down. or if the database is small you could just
take an SQL dump.

> - Do some other useful stuff
> - Once a month: tell the system to boot into Clonezilla after the
> procedure has run and make an image backup of the SSD.
> - Dismount the backup  disk

should probably dismount before rebooting, rather than after :)

> During the run a debug file is also written to help if something went wrong.
>
> The setup of the backup disk:
> The top directories are:
> /regular	for the daily backup
> /image		for the monthly image backup with Clonezilla
> /script		for the (each month rewritten) Clonezilla backup script
>
> My rsync command:
>
> rsync -aAHXS --numeric-ids --exclude-from=/root/.backup/exclude.lst
> 	--link-dest=/backup/regular/<previous backup>/
> 	/ /backup/regular/YYYYMMDD/
>
> where YYMMDD is the current date.
>
> The exclude list contains among others:
> /backup***
> /cdrom/***
> /dev/***
> /proc/***
> /sys/***
> /tmp/***
> /run/***
> /mnt/***
> /media/***
> /lost+found/***
> /timeshift/***

seem to be missing /var/run/ and /var/tmp/

-- 
  When I tried casting out nines I made a hash of it.

[toc] | [prev] | [next] | [standalone]


#54511

Fromjjb <invalid@invalid.nl>
Date2019-03-20 12:51 +0100
Message-ID<Rf2dnYPuUPLetA_BnZ2dnUU78VXNnZ2d@supernews.com>
In reply to#54501
On 19.03.19 22:08, Jasen Betts wrote:
> 
> That's the same mistake Apple made. If something goes wrong and the backup
> script finds more files than it expects you could loose all your backups.
> but perhaps you're using some fixed value for "enough room"
> 
The script checks for at least 500 GB free.  My system drive (/home
inclusive) is 500 GB.  The email report shows the free space after the
backup.  I think I would have enough warning when free space is too low.
 The script NEVER throws away backups newer than 90 days, or the first
backup of the month for 2 years, or the first backup of any year.
> there may be a way to put mysql into a backup-ready mode so that you
> don't have to shut it down. or if the database is small you could just
> take an SQL dump.
> 
Absolutely, I am sure.  However, it is a small database for my library
just containing the data of my 2500 books.  It is only used by me (and
my wife) to find where a particular book is and for books I have lent to
others.  Shutting it down was the  most easy way to do it and I am lazy.
> 
> should probably dismount before rebooting, rather than after :)
> 
Yep.  Dismounting is done in an END block in the script.  Even if it
does not get dismounted, it  is only writable by root (but readable by
any user).
> 
> seem to be missing /var/run/ and /var/tmp/
> 
Absolutely.  Thanks for that.

Have a nice day.

[toc] | [prev] | [next] | [standalone]


#54507

Fromjjb <invalid@invalid.nl>
Date2019-03-20 10:37 +0100
Message-ID<4IKdnT4kbsRXlA_BnZ2dnUU78dWdnZ2d@supernews.com>
In reply to#54449
On 15.03.19 19:19, Dan Purgert wrote:
...
Lots of useful stuff about using rsync for automatic backups
...

I would like to tell you my procedure:

Setup:
A SSD of 500 GB for normal use;
A HDD of 4 TB for backups.

Each day systemd runs a (perl) procedure to backup my system.
Procedure:
- Mount the backup disk on /backup
- If necessary: throw away the oldest unnecessary backups to make room
- Stop mysqld
- Make the backup
- Start mysqld
- Do some other useful stuff
- Once a month: tell the system to boot into Clonezilla after the
procedure has run and make an image backup of the SSD.
- Dismount the backup  disk
- Send an email to my with the result of the backup  (OK/NOT OK, disk
free size, possibly error messages)

During the run a debug file is also written to help if something went wrong.

The setup of the backup disk:
The top directories are:
/regular	for the daily backup
/image		for the monthly image backup with Clonezilla
/script		for the (each month rewritten) Clonezilla backup script

My rsync command:

rsync -aAHXS --numeric-ids --exclude-from=/root/.backup/exclude.lst
	--link-dest=/backup/regular/<previous backup>/
	/ /backup/regular/YYYYMMDD/

where YYMMDD is the current date.

The exclude list contains among others:
/backup***
/cdrom/***
/dev/***
/proc/***
/sys/***
/tmp/***
/run/***
/mnt/***
/media/***
/lost+found/***
/timeshift/***


Result:
Only the very first backup takes a lot of time and disk space.  The
following backups are fast and do not take much disk space.  They still
look like full backups.  Any backup can be thrown away without problem
(except that files ONLY existent in THAT backup are irretrievably deleted).

Up to now I like it.  The backups have been used to retrieve horribly
mangled (by me) files and also to restore the complete system after an
update of the NVIDIA graphics driver which broke things  that should not
have been broken.

[toc] | [prev] | [next] | [standalone]


#54512

Fromjjb <invalid@invalid.nl>
Date2019-03-20 12:53 +0100
Message-ID<Rf2dnYLuUPI3tA_BnZ2dnUU78VWdnZ2d@supernews.com>
In reply to#54507
On 20.03.19 10:37, jjb wrote:

Disregard the double posting, please.  I seem to have a discussion with
my news reader about which posts I get to see.  Probably solved now.

[toc] | [prev] | [standalone]


Page 5 of 5 — ← Prev page 1 2 3 4 [5]

Back to top | Article view | alt.os.linux


csiph-web