Re: rsync failing to back up to synology server

2021-11-17 Thread mick crane

On 2021-11-13 10:42, Dan Ritter wrote:

Sharon Kimble wrote:


After enduring a home move, I'm now trying to restart my rsync backups
to my synology server, but none are working!

I have this command for backing up my emacs -

- --8<---cut here---start->8---
/usr/bin/rsync -avhz --update --delete --partial 
--password-file="$PASS" ~/.emacs.d/ 
boudiccas@192.168.1.106::home/back-emacs/

- --8<---cut here---end--->8---

but every time it shows this error message -

- --8<---cut here---start->8---
@ERROR: auth failed on module home
rsync error: error starting client-server protocol (code 5) at 
main.c(1817) [sender=3.2.3]

- --8<---cut here---end--->8---

It seems that its not getting the correct password to enable the 
backup
to happen, but what password? Is it my password on my source machine, 
or
the log-in password for my synology server, or what? I've tried 
various

passwords, but I still can't get it to backup, so help please?


rsync either uses ssh or its own protocol to connect across
networks. Almost everyone uses ssh.

Using double colons
boudiccas@192.168.1.106::home/back-emacs
indicates that you want the rsync protocol, which required rsync
to be running in daemon mode on the other side.

Use one colon there, which indicates SSH, and use boudicca's
login password on the 192.168.1.106 box.

If
ssh boudiccas@192.168.1.106
doesn't work, debug that first.


-dsr-


when sorting mine out I found it handy to enable telnet while setting up 
ssh so I could go back and fix it when I invariably broke it.


mick
--
Key ID4BFEBB31



Re: rsync failing to back up to synology server

2021-11-13 Thread Dan Ritter
Sharon Kimble wrote: 
> 
> After enduring a home move, I'm now trying to restart my rsync backups
> to my synology server, but none are working!
> 
> I have this command for backing up my emacs -
> 
> - --8<---cut here---start->8---
> /usr/bin/rsync -avhz --update --delete --partial --password-file="$PASS" 
> ~/.emacs.d/ boudiccas@192.168.1.106::home/back-emacs/
> - --8<---cut here---end--->8---
> 
> but every time it shows this error message -
> 
> - --8<---cut here---start->8---
> @ERROR: auth failed on module home
> rsync error: error starting client-server protocol (code 5) at 
> main.c(1817) [sender=3.2.3]
> - --8<---cut here---end--->8---
> 
> It seems that its not getting the correct password to enable the backup
> to happen, but what password? Is it my password on my source machine, or
> the log-in password for my synology server, or what? I've tried various
> passwords, but I still can't get it to backup, so help please?

rsync either uses ssh or its own protocol to connect across
networks. Almost everyone uses ssh.

Using double colons 
boudiccas@192.168.1.106::home/back-emacs
indicates that you want the rsync protocol, which required rsync
to be running in daemon mode on the other side.

Use one colon there, which indicates SSH, and use boudicca's
login password on the 192.168.1.106 box. 

If 
ssh boudiccas@192.168.1.106
doesn't work, debug that first.


-dsr-



rsync failing to back up to synology server

2021-11-13 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


After enduring a home move, I'm now trying to restart my rsync backups
to my synology server, but none are working!

I have this command for backing up my emacs -

- --8<---cut here---start->8---
/usr/bin/rsync -avhz --update --delete --partial --password-file="$PASS" 
~/.emacs.d/ boudiccas@192.168.1.106::home/back-emacs/
- --8<---cut here---end--->8---

but every time it shows this error message -

- --8<---cut here---start->8---
@ERROR: auth failed on module home
rsync error: error starting client-server protocol (code 5) at main.c(1817) 
[sender=3.2.3]
- --8<---cut here---end--->8---

It seems that its not getting the correct password to enable the backup
to happen, but what password? Is it my password on my source machine, or
the log-in password for my synology server, or what? I've tried various
passwords, but I still can't get it to backup, so help please?

Thanks
Sharon.
- -- 
Debian 11, fluxbox 1.3.7, emacs 28.0.50, org 9.5
-BEGIN PGP SIGNATURE-

iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmGPfeYbHGJvdWRpY2Nh
c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INbg1MP/jVg/9GmwS2i4Ev6R4ss
hbwPDFkQM8g16se4Qih82OzhBN6NhAZzSegx7M0+NIo31QoF0FMYt0zleMJHlT5+
wMKQFcVBSa9u6HBl48I7aMTNv7QJ0YgOT/pis2nu5EBduU8OppWwZsZGSRn7//mP
plVjV34X1xNjDCA2minuQE+/EsC6qpiVDss5q0+6ZjZvhE4PvIpC6aCZWos3GyB8
thXD2Qn8BgpcfrjXE2sh9fw8NQeJUcV3kHJo17Re4EKlWgd7N/Y/ybPPoTMMxZ9y
Mrs4VLP0Q3uSi8VWT23VvBpxVNkS0zuDNNi2Vi1tToHLW2S5Idx8iBSLgO7aoMJC
ii+1tmDhXj2khqXHvjGeNtbA/z1gTja3jRIc/inNxJr4OZBtemZz5/lW3tmiSfkI
ivpaOnSUijuDpVfj/qy6siav1EceSCs+waqpSH4dwqG4xtzjy8h+tJPEAOdz/+Nx
nAuME+OeV2ut7Zc2RGviYsf2x7ioPPrq3ra5Z1bFHk7++psfIOCOw5Z9Cn1Ep7U3
a33PKGFe9R7vC7JkVfrOL9j6OEW1mmE+Mmi+X8y3uUzwbeMZJF7TRMZFExuKEZrb
LaYTaV+HMLYAuoTRMxnlQH1xe/XQx8hEv/e7YGrt/wPUKzBh86FVUYEBLhceYNeQ
JSCifcWlieVJh3TEPDmIlGKP
=aG/R
-END PGP SIGNATURE-