Re: Rsync and client-side encryption of files

2018-01-10 Thread Ben RUBSON via rsync

On 11 Jan 2018 03:29, H via rsync wrote:

Is anyone using client-side encryption of files before transferring them  
to a cloud server using Rsync? I am running CentOS.--


A solution could be EncFS in reverse mode.

Ben

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: Rsync and client-side encryption of files

2018-01-10 Thread Ben Oliver via rsync

On 18-01-10 21:29:18, H via rsync wrote:

Is anyone using client-side encryption of files before transferring them to a 
cloud server using Rsync? I am running CentOS.


Yeah, in some cases I use borgbackup then rsync the borg repository 
over.


--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Rsync and client-side encryption of files

2018-01-10 Thread H via rsync
Is anyone using client-side encryption of files before transferring them to a 
cloud server using Rsync? I am running CentOS.-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: downloading only specific directories from directory tree

2018-01-10 Thread Kevin Korb via rsync
1.  You don't appear to be including anything that is within the colon
dirs so they are being left out by --prune-empty-dirs.

2.  Includes only override excludes that follow them.  Since your debug
excludes are exceptions to the openSUSE_Leap_42.2/*** include they must
be before it not after it.

On 01/10/2018 05:46 PM, Istvan Gabor via rsync wrote:
> Dear Kevin:
> 
> ~ 1 year ago your answer helped me to solve my problem.
> This time I would like to do a similar thing but little bit modified.
> I read again carefully INCLUDE/EXCLUDE PATTERN RULES section of rsync
> manual but still cannot comprehend every part of it.
> 
> I understand I have to add include patterns first and exclude patterns
> second. But it is not clear if I have to add all the include patterns
> first and all the exclude patterns after them. Or do I have add
> include/exclude groups?
> 
> Now I would like to mirror openSUSE_Leap_42.2 dirs from
> ftp://ftp.halifax.rwth-aachen.de/opensuse/repositories/
> but only from specified directories and without files with debuginfo
> or debugsource patterns in their names.
> 
> I tried this command:
> 
> rsync -av --include-from=filters.txt --prune-empty-dirs \
> rsync://ftp.halifax.rwth-aachen.de/opensuse/repositories/ \
> opensuse/repositories
> 
> where filters.txt contains:
> 
> + /filesystems
> + /filesystems:
> + /games
> + /games:
> + /graphics
> + /graphics:
> + /hamradio
> + /hamradio:
> + /hardware
> + /hardware:
> ...
> + openSUSE_Leap_42.2/***
> - *debuginfo*.rpm
> - *debugsource*.rpm
> - *
> 
> but it doesn't work the way I'd like.
> 
> 1. The directories ending with : in their names are not mirrored.
> I tried eg /games:  , /games\:  and "/games:", none of these worked.
> 
> 2. The other directories are mirrored but debuginfo and debugsource
> files are not excluded.
> 
> I'd appreciate if you explained what the problem is and how to solve it.
> 
> Thanks in advance,
> 
> Istvan
> 
> 
> 
> 
> 
> On Fri, 20 Jan 2017 18:15:00 -0500, Kevin Korb wrote:
>> An include only overrides an exclude that follows it.  So, you would
>> need something like this:
>>
>> + */
>> + openSUSE_13.2/***
>> - *
>>
>> Then add --prune-empty-dirs to your rsync command line.  I left off the
>> initial ** because it doesn't really mean anything unless openSUSE_13.2
>> isn't always the entire directory name in which case 1 * would do.
>>
>> Another way to explain it is that by default everything is included.  An
>> exclude rule makes exceptions.  An include rule makes exceptions to the
>> exclude rule.
>>
>> On 01/20/2017 06:08 PM, Istvan Gabor wrote:
>>> Hello:
>>>
>>> I have read rsync manual and several howtos on how to use rsync, still
>>> I don't know if it's doable what I want to do, and if yes, how.
>>>
>>> The scenario:
>>>
>>> I would like to make a local copy of openSUSE 13.2 repositories.
>>> I use openSUSE linux.
>>>
>>> The repos are located in a multi-level directory structure, eg:
>>>
>>> ftp://ftp.halifax.rwth-aachen.de/opensuse/repositories/
>>>
>>> Let's call this directory the root dir.
>>>
>>> Each directory in the root has subdirectories, and one of the
>>> subdirectories
>>> is named "openSUSE_13.2". The openSUSE_13.2 dir can be one, two, or more
>>> level
>>> downstairs in the root dir, eg:
>>>
>>> http://download.opensuse.org/repositories/Apache/openSUSE_13.2/
>>>
>>> http://download.opensuse.org/repositories/Apache:/MirrorBrain/openSUSE_13.2/
>>>
>>>
>>>
>>> There are plenty of directories in the root dir, and each
>>> subdirectory can
>>> have several subdirectories.
>>>
>>> Is it possible, using rsync, to download only all "openSUSE_13.2"
>>> directories with
>>> their contents, without specifying directly one by one every
>>> subdirectory
>>> to be included or excluded?
>>>
>>> I tried to use filters.txt file with content:
>>>
>>> + **openSUSE_13.2/***
>>>
>>> with this command:
>>>
>>> rsync -av --include-from=filters.txt
>>> rsync://ftp.halifax.rwth-aachen.de/opensuse/repositories/ ./
>>>
>>> This downloads every directory. How can I exclude those are not
>>> openSUSE_13.2?
>>>
>>> Thanks,
>>>
>>> Istvan
>>>
> 
> 

-- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
Kevin Korb  Phone:(407) 252-6853
Systems Administrator   Internet:
FutureQuest, Inc.   ke...@futurequest.net  (work)
Orlando, Floridak...@sanitarium.net (personal)
Web page:   http://www.sanitarium.net/
PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,



signature.asc
Description: OpenPGP digital signature
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: downloading only specific directories from directory tree

2018-01-10 Thread Istvan Gabor via rsync

Dear Kevin:

~ 1 year ago your answer helped me to solve my problem.
This time I would like to do a similar thing but little bit modified.
I read again carefully INCLUDE/EXCLUDE PATTERN RULES section of rsync
manual but still cannot comprehend every part of it.

I understand I have to add include patterns first and exclude patterns
second. But it is not clear if I have to add all the include patterns
first and all the exclude patterns after them. Or do I have add
include/exclude groups?

Now I would like to mirror openSUSE_Leap_42.2 dirs from
ftp://ftp.halifax.rwth-aachen.de/opensuse/repositories/
but only from specified directories and without files with debuginfo
or debugsource patterns in their names.

I tried this command:

rsync -av --include-from=filters.txt --prune-empty-dirs \
rsync://ftp.halifax.rwth-aachen.de/opensuse/repositories/ \
opensuse/repositories

where filters.txt contains:

+ /filesystems
+ /filesystems:
+ /games
+ /games:
+ /graphics
+ /graphics:
+ /hamradio
+ /hamradio:
+ /hardware
+ /hardware:
...
+ openSUSE_Leap_42.2/***
- *debuginfo*.rpm
- *debugsource*.rpm
- *

but it doesn't work the way I'd like.

1. The directories ending with : in their names are not mirrored.
I tried eg /games:  , /games\:  and "/games:", none of these worked.

2. The other directories are mirrored but debuginfo and debugsource
files are not excluded.

I'd appreciate if you explained what the problem is and how to solve 
it.


Thanks in advance,

Istvan





On Fri, 20 Jan 2017 18:15:00 -0500, Kevin Korb wrote:

An include only overrides an exclude that follows it.  So, you would
need something like this:

+ */
+ openSUSE_13.2/***
- *

Then add --prune-empty-dirs to your rsync command line.  I left off 
the
initial ** because it doesn't really mean anything unless 
openSUSE_13.2

isn't always the entire directory name in which case 1 * would do.

Another way to explain it is that by default everything is included.  
An
exclude rule makes exceptions.  An include rule makes exceptions to 
the

exclude rule.

On 01/20/2017 06:08 PM, Istvan Gabor wrote:

Hello:

I have read rsync manual and several howtos on how to use rsync, 
still

I don't know if it's doable what I want to do, and if yes, how.

The scenario:

I would like to make a local copy of openSUSE 13.2 repositories.
I use openSUSE linux.

The repos are located in a multi-level directory structure, eg:

ftp://ftp.halifax.rwth-aachen.de/opensuse/repositories/

Let's call this directory the root dir.

Each directory in the root has subdirectories, and one of the
subdirectories
is named "openSUSE_13.2". The openSUSE_13.2 dir can be one, two, or 
more

level
downstairs in the root dir, eg:

http://download.opensuse.org/repositories/Apache/openSUSE_13.2/

http://download.opensuse.org/repositories/Apache:/MirrorBrain/openSUSE_13.2/


There are plenty of directories in the root dir, and each 
subdirectory can

have several subdirectories.

Is it possible, using rsync, to download only all "openSUSE_13.2"
directories with
their contents, without specifying directly one by one every 
subdirectory

to be included or excluded?

I tried to use filters.txt file with content:

+ **openSUSE_13.2/***

with this command:

rsync -av --include-from=filters.txt
rsync://ftp.halifax.rwth-aachen.de/opensuse/repositories/ ./

This downloads every directory. How can I exclude those are not
openSUSE_13.2?

Thanks,

Istvan




--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Intro: Randall

2018-01-10 Thread Randall S. Becker via rsync
Greetings Rsync,

 

Quick intro: I'm a port/platform maintainer for a variety of HPE NonStop
Open Source ports including rsync, git, and a few others, and have been in
the industry for far too long.

 

Our port is currently at commit 1f83b51, which I'm planning to upgrade to
7706303 in the next few days. We had been able to stay on vanilla code until
1f83b51 when we had to introduce a SUPERUSER #define because root on our
platform is not 0. We would like to contribute this back at some point.

 

Quick question: there has not been an officially tagged version for rsync in
a while, which makes putting out fixes a bit aweward in our community
(responses like "You're *still* at 3.1.3-DEV, shouldn't the numbers bump?).
So I'm wondering when the next fix number will be official, like 3.1.4,
which will make those who monitor CVEs on our platform much happier because
we can release it.

 

Cheers,

Randall

 

-- Brief whoami:

NonStop developer since approximately NonStop(2112884442) 

 UNIX developer since approximately UNIX(421664400)

-- In my real life, I talk too much.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html