Re: newbie dsync problems

2025-01-25 Thread Kent Borg via dovecot
So trying to debug replication via getting manual "doveadmin sync" hasn't gotten me there, Any suggests on how to debug the replication approach? Would it be helpful to post the "/etc/dovecot/conf.d/backup.conf.ext" I created? Thanks, -kb On 1/23/25 10:50 AM, Kent Borg wrote: I have a ver

Re: newbie dsync problems

2025-01-23 Thread Kent Borg via dovecot
On 1/23/25 2:44 PM, Doug via dovecot wrote: I don't have a working example because I do my dsync backups on the local machine with output to shared NFS storage that is accessible to both my primary and backup systems. No ssh required or remote connection required. That is provided by NFS. A

RE: newbie dsync problems

2025-01-23 Thread Doug via dovecot
thing similar. for user in ${USERS}; do dsync -u ${user} backup maildir:/home/${user}/backup/mailboxes done > -Original Message- > From: Kent Borg > Sent: Thursday, January 23, 2025 5:22 PM > To: cdm...@yahoo.com; dovecot@dovecot.org > Subject: Re: newbie dsync pr

Re: newbie dsync problems

2025-01-23 Thread Kent Borg via dovecot
On 1/23/25 1:41 PM, cdm...@yahoo.com wrote: In your working example you are connecting as root but in your dsync example your user is remoteprefix:root. Try removing the "remoteprefix:" which is being treated as part of the user name. If I take off the "remoteprefix" it logs in, but it does

RE: newbie dsync problems

2025-01-23 Thread Doug via dovecot
nuary 23, 2025 3:34 PM > To: cdm...@yahoo.com; 'Kent Borg' ; > dovecot@dovecot.org > Subject: Re: newbie dsync problems > > On 1/23/25 12:26 PM, cdm...@yahoo.com wrote: > > Kent, > > > > You are being prompted for a password, so it isn't using private

Re: newbie dsync problems

2025-01-23 Thread Kent Borg via dovecot
On 1/23/25 12:26 PM, cdm...@yahoo.com wrote: Kent, You are being prompted for a password, so it isn't using private key authentication. I recommend you get ssh working first, prove you are indeed connecting to your secondary server, and only then introduce doveadm. Yes, I checked that: I t

RE: newbie dsync problems

2025-01-23 Thread Doug via dovecot
- > From: Kent Borg via dovecot > Sent: Thursday, January 23, 2025 2:12 PM > To: dovecot@dovecot.org > Subject: Re: newbie dsync problems > > I had a typo (I said I'm a newbie). > > On 1/23/25 10:50 AM, Kent Borg via dovecot wrote: > > But when I try to mak

Re: newbie dsync problems

2025-01-23 Thread Kent Borg via dovecot
I had a typo (I said I'm a newbie). On 1/23/25 10:50 AM, Kent Borg via dovecot wrote: But when I try to make the command more complete and send a username to the remote end, and now I am no longer talking to the remote end: root@la:/etc/dovecot# doveadm sync  -u kentborg -1 ssh -i /root/.ssh/

newbie dsync problems

2025-01-23 Thread Kent Borg via dovecot
I have a very basic postfix/dovecot server, with just a few users, and it works. But in the past I have had hardware failures…so I would like use dsync to a nearly matching server for some extra safety, and I have not yet been successful. I am trying to do this as root over ssh, with a private