Re: rsync --delete not working (no wildcards)

2013-01-28 Thread Fabian Cenedese
At 22:02 28.01.2013 +, Stewart Jeacocke wrote: >Hi, > >I'm trying to copy some directories with rsync and would like to >delete files from the destination if they no longer exist in the >source. > >I'm using the following command: > >rsync -v --archive --hard-links --delete --force >--filter=':

Re: list free space via rsyncd ?

2013-01-28 Thread ksb+rsync
>if you have a backup server with rsync running in daemon mode - is there a way >for a client to obtain information about free diskspace via rsync? Create a cron job on the server that builds a file with the available disk space, output to a file under one of the read-only modules. Then your clie

detect-renamed questions

2013-01-28 Thread StalkR
Hello, I was looking for "detect renamed" feature in rsync (https://bugzilla.samba.org/show_bug.cgi?id=2294) so used rsync-3.0.9 with patches detect-renamed.diff and detect-renamed-lax.diff. I have 2 questions, not sure if I'm missing something (options) or if it is working as intended and could b

Re: rsync --delete not working (no wildcards)

2013-01-28 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there any output? How about with an additional -v ? Is there a .rsync-filter file anywhere? On 01/28/13 17:02, Stewart Jeacocke wrote: > Hi, > > I'm trying to copy some directories with rsync and would like to > delete files from the destinatio

rsync --delete not working (no wildcards)

2013-01-28 Thread Stewart Jeacocke
Hi, I'm trying to copy some directories with rsync and would like to delete files from the destination if they no longer exist in the source. I'm using the following command: rsync -v --archive --hard-links --delete --force --filter=':/.rsync-filter' /opt/ /mnt/backup/opt/ /opt does not contain

Re: rsyncssl

2013-01-28 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In sshd_config: Match User username X11Forwarding no AllowTcpForwarding no ForceCommand /path/to/rrsync [-ro] /path/to/target Also, ssh public key authentication is not a pre-shared key that is what a password is. Public key authentication does

Re: Re: rsyncssl

2013-01-28 Thread Volker Kuhlmann
On Tue 29 Jan 2013 03:46:53 NZDT +1300, Karl O. Pinc wrote: > Put this at the beginning of the ~/.ssh/authorized_keys line, before > the key: > > no-pty,no-agent-forwarding,no-port-forwarding,no-user-rc,no-X11- > forwarding,command="rsync --server --daemon ." Good, thanks for posting that, yes

list free space via rsyncd ?

2013-01-28 Thread devzero
Hello, if you have a backup server with rsync running in daemon mode - is there a way for a client to obtain information about free diskspace via rsync ? I searched through all the docs, but could not find anything about it. if there is no way, i guess implementing it would need the rsync proto

Re: Re: rsyncssl

2013-01-28 Thread Karl O. Pinc
On 01/28/2013 04:24:13 AM, devz...@web.de wrote: > >The only place that an SSL would make some sense, is if you are > going > to do it to/from an rsync daemon, > > yes, exactly. > > > >but then how would that be "better" than a ssh-only account with > keys/etc. only allowing the rsync to

Aw: Re: rsyncssl

2013-01-28 Thread devzero
>The only place that an SSL would make some sense, is if you are going to do it to/from an rsync daemon, yes, exactly.  >but then how would that be "better" than a ssh-only account with keys/etc. only allowing the rsync to execute? I think that`s far more secure by design, because you won`t all

Re: rsyncssl

2013-01-28 Thread Hendrik Visage
On Sun, Jan 27, 2013 at 12:07 AM, wrote: > Hi, > > Isn`t RsyncSSL (wrap rsync with stunnel via stdin/out) the better solution > ? (as it is using a mature external program for the SSL stuff) > Why SSL when you already have a proper working SSH with certificates etc. that should be as good if n