#918 Issue closed: docs: rsync does not work 'only with ssh'

Labels: documentation, support / question, fixed / solved / done

todoleza opened issue at 2016-07-14 13:08:

from manpage:
OUTPUT_URL=rsync://
Write the image using rsync and the RSYNC protocol (SSH only).

The information provided above does not make sense since rsyncd is used on remote side, no ssh is involed altogether with this option. This also changes the path needed to be used from remote path to rsync module and path in it.

Relax-and-Recover 1.17.2 / Git
Red Hat Enterprise Linux Server release 7.2 (Maipo)
/etc/rear/local.conf:
OUTPUT=PXE
OUTPUT_URL="rsync://192.168.122.153/rear/"
BACKUP=RSYNC
BACKUP_URL="rsync://192.168.122.153/rear/"

gdha commented at 2016-07-15 08:36:

@todoleza the rear man page is missing a section around rsync, we will enhance this a bit to be more precise. OTH - what is wrong in your opinion?

jsmeix commented at 2016-07-15 09:02:

@todoleza
regarding "BACKUP_URL="rsync://..."

See https://github.com/rear/rear/issues/899 and https://github.com/rear/rear/issues/919

In current rear master I have implemeted a test for
known valid BACKUP_URL schemes, see #842
so that one can no longer specify invaild
BACKUP_URL schemes.

todoleza commented at 2016-07-15 14:14:

@gdha
I think that '(SSH only)' should be omited altogether because it does not make sense. You need to either use rsyncd module for path specification or normal path for ssh transport. Examples here:
"rsync://root@host::rear", "rsync://root@host/srv/rear" would be good to have there.

gdha commented at 2016-08-05 20:41:

Man page and default.conf were already updated. Still need to check the user docs.

jsmeix commented at 2016-10-04 08:11:

I close it because it is fixed.


[Export of Github issue for rear/rear.]