Ah, then it still applies.

Given that you have your stick mounted at /mnt/usbstick...

Use the same files (except /etc/rsyncd.conf, /etc/rsync.pass,
/etc/rsyncd.pass), but your command line should look like:
Here, I'm backing up root to /mnt/usbstick
rsync -aHz --delete --delete-excluded --force
--exclude-from=/etc/rsync.exclude
/ /mnt/usbstick

Now, let's say you have your other drive mounted on /mnt/other:
rsync -aH --delete --delete-excluded --force  --exclude-from=/etc/rsync.exclude
/mnt/other /mnt/usbstick

And then, your exclude file should reflect that change in mount point...
and well... you dig, right? I mean... in your exclude file... you know
where things are right?

And I removed -z because you likely won't benefit from compression on a
local connection. Better off just streaming uncompressed and doing your
best to flood the bus.

--James

On Sun, Mar 8, 2015 at 1:40 AM, ToddAndMargo <[email protected]> wrote:

> On 03/07/2015 09:05 PM, James Rogers wrote:
>
>> Dig?  You should use SSH as your shell for rsync so that your
>> connections are encrypted. This is only for a local, trusted network, as
>> all transfers will be in compressed cleartext. Right?
>>
>>
> This is a backup between a local hard drive and a local
> USB stick.  Nothing copied to the stick is private.
> It is driver files and the like.  (I have other LUKS
> sticks for private stuff.)
>
>
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Computers are like air conditioners.
> They malfunction when you open windows
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>

Reply via email to