>You need to switch to filters where you have the additional options
>hide, show, risk, and protect. See the filter rules section of man rsync.
Thanks for the hint. Though I've been using rsync for years this part has
somehow escaped me. I've read up on the filters and they do what I
need. The d
You need to switch to filters where you have the additional options
hide, show, risk, and protect. See the filter rules section of man rsync.
On 12/4/18 8:36 AM, Fabian Cenedese via rsync wrote:
> Hello
>
> I'm looking for a way to exclude and delete some items but not delete
>
>> I'm looking for a way to exclude and delete some items but not delete
>> other items. Use case:
>>
>> I'm on Windows where there are folders like recycle.bin and system
>> volume information on every drive. I can exclude them while backing
>> up
Hi,
On 5/12/18 12:36 am, Fabian Cenedese via rsync wrote:
> I'm looking for a way to exclude and delete some items but not delete
> other items. Use case:
>
> I'm on Windows where there are folders like recycle.bin and system
> volume information on every drive. I can e
Hello
I'm looking for a way to exclude and delete some items but not delete
other items. Use case:
I'm on Windows where there are folders like recycle.bin and system
volume information on every drive. I can exclude them while backing
up my data drive. But I now also have other da
John Van Essen wrote:
rsync -av --exclude "/user/profile/" --delete /home/user [EMAIL PROTECTED]:/home
Since there is no trailing slash on '/home/user', the sender root is
at '/home/', so the exclude pattern is correct in that case.
But the receiver path is '/home', so the root for building the
tion. Now the profile directories on the sender
and receiver are the same.
Subsequent calls to rsync, with the --exclude and --delete options, now
behave as expected. profile/ is excluded from both the copy and the delete.
Is this the expected behaviour? Does rsync need to 'know' about
On Thu, 26 Feb 2004, andrew <[EMAIL PROTECTED]> wrote:
>
> Paul Slootman wrote:
>> On Wed 25 Feb 2004, andrew wrote:
>>
>>>rsync -av --exclude "/user/profile/" --delete /home/user [EMAIL PROTECTED]:/home
>>>
>>>This works as I expect, sender:/home/user/profile/ is not copied, except
>>>that recei
Paul Slootman wrote:
On Wed 25 Feb 2004, andrew wrote:
rsync -av --exclude "/user/profile/" --delete /home/user [EMAIL PROTECTED]:/home
This works as I expect, sender:/home/user/profile/ is not copied, except
that receiver:/home/user/profile/ is deleted.
Hmm, wouldn't the exclude need to be
On Wed 25 Feb 2004, andrew wrote:
>
> rsync -av --exclude "/user/profile/" --delete /home/user [EMAIL PROTECTED]:/home
>
> This works as I expect, sender:/home/user/profile/ is not copied, except
> that receiver:/home/user/profile/ is deleted.
Hmm, wouldn't the exclude need to be "/profile", as
On Wed, Feb 25, 2004 at 02:32:47PM +1100, andrew wrote:
> rsync -av --exclude "/user/profile/" --delete /home/user [EMAIL PROTECTED]:/home
>
> This works as I expect, sender:/home/user/profile/ is not copied, except
> that receiver:/home/user/profile/ is deleted.
I can't duplicate this. If I ma
Hi,
I am experiencing a problem when using rsync (2.6.0) and I was after
some clarification.
I wish to sync two directories except for a specified sub-directory that
exists in both the sending and receiving directories.
So,
rsync -av --exclude "/user/profile/" --delete /home/user [EMAIL PROTE
On Thu, Jan 09, 2003 at 01:20:08AM -0400, Carlos Molina wrote:
> Hi.
>
> I'm trying to accomplish the following ;
>
> 1) First, I did a rsync for a file, like this
> /usr/bin/rsync -lptgoD --delete --rsh=/usr/bin/ssh -R --delete-excluded
> -vv [EMAIL PROTECTED]:/usr/local/src/* /tmp/localhost/da
Hi.
I'm trying to accomplish the following ;
1) First, I did a rsync for a file, like this
/usr/bin/rsync -lptgoD --delete --rsh=/usr/bin/ssh -R --delete-excluded
-vv [EMAIL PROTECTED]:/usr/local/src/* /tmp/localhost/daily.0
If I did a ls -la to the destination dir
(/tmp/localhost/daily.0/usr/
On Wed, Nov 20, 2002 at 02:19:20PM -0500, [EMAIL PROTECTED] wrote:
> Hello All,
>
> I was wondering if anyone has a viable syntax solution for using rsync with
> the --exclude and --delete option.
>
> I have been using the rsync process to backup certain files and filesys
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I was wondering if anyone has a viable syntax solution for using
> rsync with the --exclude and --delete option.
...
> Current Syntax:
> rsync -vaox --exclude ".snapshot" * [destination]
> NOTE: Current directory is s
Hello All,
I was wondering if anyone has a viable syntax solution for using rsync with
the --exclude and --delete option.
I have been using the rsync process to backup certain files and filesystems
for ease of recovery in the event of unexpected downtime on the primary. I
recently noticed that
17 matches
Mail list logo