Re: Doveadm Backup

2025-02-18 Thread Doug Hardie via dovecot
> On Feb 18, 2025, at 05:59, Doug via dovecot wrote: > > My experience was very similar when I originally set up doveadm backup from > my production machine to my backup machine. My mailbox was the only one on > the system that failed. I discovered the root cause was a cron job r

RE: Doveadm Backup

2025-02-18 Thread Doug via dovecot
My experience was very similar when I originally set up doveadm backup from my production machine to my backup machine. My mailbox was the only one on the system that failed. I discovered the root cause was a cron job running on the backup machine delivering its output to my email. The result was

Re: Doveadm Backup

2025-02-18 Thread Doug Hardie via dovecot
> On Feb 17, 2025, at 23:11, Doug Hardie wrote: > > I tried the backup again tonight. I am now getting a new error: > > mail# doveadm backup -f -u doug remote:checkout > dsync-remote(doug)<1c8BDo4xtGe74wAA+dxtXQ>: Warning: Deleting mailbox > 'I

Doveadm Backup

2025-02-17 Thread Doug Hardie via dovecot
I tried the backup again tonight. I am now getting a new error: mail# doveadm backup -f -u doug remote:checkout dsync-remote(doug)<1c8BDo4xtGe74wAA+dxtXQ>: Warning: Deleting mailbox 'INBOX': UID=92440 GUID=1465118975.V4eI7cfa32M232845.mail is missing locally dsync-remote(doug)&

Doveadm Backup

2025-02-17 Thread Doug Hardie via dovecot
I am using doveadm backup to backup the mail server's files for a specific user. This is a test environment for the backup machine. All it does is sit there until I run backup on the mail server. However, I am encountering an issue occasionally where backup throws the following me

Re: Doveadm Backup Error

2025-02-17 Thread Asai via dovecot
Thank you, Timo, that fixed the problem. Asai On 2/17/2025 9:03 AM, Timo Sirainen wrote: On 17. Feb 2025, at 16.26, Asai via dovecot wrote: sieve_script personal {   active_path = /vmail/%{user | domain }/%{user | username }/ home/.dovecot.sieve   driver = file   path = /vmail/%{user | domain }

Re: Doveadm Backup Error

2025-02-17 Thread Asai via dovecot
Thanks Timo, OK, I'll give that a try, I should point out that the Sieve filters are working as they should be for general delivery, outside of doveadm backup. Asai On 2/17/2025 9:03 AM, Timo Sirainen wrote: On 17. Feb 2025, at 16.26, Asai via dovecot wrote: sieve_script per

Re: Doveadm Backup Error

2025-02-17 Thread Asai via dovecot
re } sieve_script after {   path = /vmail/sieve/junk-spam.sieve   type = after } On 2/17/2025 3:19 AM, Timo Sirainen wrote: On 15. Feb 2025, at 4.06, Asai via dovecot wrote: Greetings, On 2.3 I was able to run the following command, but now on 2.4 I'm getting the following error: doveadm ba

Re: Doveadm Backup Error

2025-02-17 Thread Timo Sirainen via dovecot
On 15. Feb 2025, at 4.06, Asai via dovecot wrote: > > Greetings, > > On 2.3 I was able to run the following command, but now on 2.4 I'm getting > the following error: > > doveadm backup -u u...@domain.tld maildir:/mnt/backups/daily/domain.tld/user > > dsync(

Re: Doveadm Backup Error

2025-02-16 Thread Aki Tuomi via dovecot
You don't necessarely enable imap_metadata for this, just having attribute dict is enough. can you rm -rf the backup and try again with doveadm -D? Aki > On 16/02/2025 23:47 EET Asai via dovecot wrote: > > > After spending several hours troubleshooting this, it seems like

Re: Doveadm Backup Error

2025-02-16 Thread Asai via dovecot
After spending several hours troubleshooting this, it seems like doveadm backup is broken somehow.  At least on my system. I can't even run doveadm backup -u user maildir:/dest on an empty target director without it throwing an error. Is anyone else having this problem? Thanks, Asai

Re: Doveadm Backup Error

2025-02-15 Thread Asai via dovecot
, On 2.3 I was able to run the following command, but now on 2.4 I'm getting the following error: doveadm backup -u u...@domain.tld maildir:/mnt/backups/daily/domain.tld/user dsync(u...@domain.tld): Error: brain M: Exporting mailbox INBOX failed: Mailbox attribute iteration failed: Ma

Doveadm backup and sieves

2025-02-15 Thread Doug Hardie via dovecot
I am using doveadm backup to backup mailfiles to a second drive. That works just fine. However, the sieve files are not backed up. I couldn't find anything in the backup documentation that addresses sieves. Is there a way to back those up also? --

Doveadm Backup Error

2025-02-14 Thread Asai via dovecot
Greetings, On 2.3 I was able to run the following command, but now on 2.4 I'm getting the following error: doveadm backup -u u...@domain.tld maildir:/mnt/backups/daily/domain.tld/user dsync(u...@domain.tld): Error: brain M: Exporting mailbox INBOX failed: Mailbox attribute iteration f

doveadm backup and sieve scripts

2025-01-27 Thread Maksim Rodin via dovecot
Hello, What is the best way to backup (migrate) sieve rules? I tried: "doveadm backup -u somebox@somedomain maildir:/backup_dir" "doveadm backup -u somebox@somedomain remote:newmailserver.somedomain" Messages are copied but sieve rules are not. dovecot --version: 2.3.21.1 dov

Re: doveadm backup empties the remote host? SERIOUSLY???

2024-04-29 Thread Public via dovecot
On 4/27/24 16:30, Nils via dovecot wrote: I have a file backup and since that backup, new emails have been received. Also, not all of the emails were deleted - many folders weren't affected. Additionally I was able to restore a few of the deleted emails with ext4magic. So now I have three sou

Re: doveadm backup empties the remote host? SERIOUSLY???

2024-04-29 Thread Aki Tuomi via dovecot
> On 29/04/2024 12:02 EEST Nils via dovecot wrote: > > > On 4/27/24 16:30, Nils via dovecot wrote: > > I have a file backup and since that backup, new emails have been > > received. Also, not all of the emails were deleted - many folders > > weren't affected. Additionally I was able to resto

Re: doveadm backup empties the remote host? SERIOUSLY???

2024-04-29 Thread Nils via dovecot
On 4/27/24 16:30, Nils via dovecot wrote: I have a file backup and since that backup, new emails have been received. Also, not all of the emails were deleted - many folders weren't affected. Additionally I was able to restore a few of the deleted emails with ext4magic. So now I have three sou

Re: doveadm backup has problems with some accounts

2024-04-29 Thread roger.meier--- via dovecot
Because, that perhaps the version missmatch of the servers coul'd be the issue , and centos 7 eol comes in two months, i setup a complete new main mailserver, based on ubuntu 22.04 (24.04 was not out on starting to setup the stuff) so now both servers had dovecot 2.3.16. But it doesn't help, st

Re: doveadm backup empties the remote host? SERIOUSLY???

2024-04-27 Thread Nils via dovecot
On 4/27/24 12:31, Aki Tuomi via dovecot wrote: Yeah. Backup command, without -R backs to location, not from location. Mailman archive is athttps://www.dovecot.org/mailman3/mailman3/lists/ Aki ___ dovecot mailing list --dovecot@dovecot.org To unsu

Re: doveadm backup empties the remote host? SERIOUSLY???

2024-04-27 Thread Aki Tuomi via dovecot
doveadm service on the old server and then call "doveadm backup -Ru username tcp:host:port" on the new server? So the reason that doveadm deleted everything yesterday was that I forgot the -R option?   "The doveadm backup command forces the destination

Re: doveadm backup empties the remote host? SERIOUSLY???

2024-04-27 Thread Nils via dovecot
On 4/26/24 14:04, Aki Tuomi wrote: We have migration guide, see https://doc.dovecot.org/admin_manual/migrating_mailboxes/ Aki regarding this guide: I am supposed to set up doveadm service on the old server and then call "doveadm backup -Ru username tcp:host:port" on the new serv

doveadm backup empties the remote host? SERIOUSLY???

2024-04-26 Thread Christopher X. Candreva via dovecot
This is the magic incantation I use: #> doveadm -o mail_fsync=never -R -u u...@foo.bar imapc: ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

RE: doveadm backup empties the remote host? SERIOUSLY???

2024-04-26 Thread Marc via dovecot
> > Sure it's my own fault - no discussion about that, but seriously? How > dangerously unintuitive it that? > I don't really get what is going on with remote host. How is a host name even relevant other than setting up the initial connection. I don't even see it in my storage mail files. _

Re: doveadm backup empties the remote host? SERIOUSLY???

2024-04-26 Thread Aki Tuomi via dovecot
  On 26/04/2024 14:46 EEST Nils via dovecot wrote:     Sure it's my own fault - no discussion about that, but seriously? How dangerously unintuitive it that?   I found it when I was searching for a good practice to migrate a mail server with rsync and I

doveadm backup empties the remote host? SERIOUSLY???

2024-04-26 Thread Nils via dovecot
Sure it's my own fault - no discussion about that, but seriously? How dangerously unintuitive it that? I found it when I was searching for a good practice to migrate a mail server with rsync and I mistakably assumed it works in the same direction as rsync. Luckily i have a backup from all ma

doveadm-backup and quota question

2024-02-09 Thread Thomas Plant
because of 'over quota'. Here is an example: # doveadm quota get -u i...@domain.abc Quota name   Type    Value Limit % User quota   STORAGE 16798 16777216 0 User quota   MESSAGE   628 - 0 Domain quota STORAGE 32282 67108864 0 Domain quota MESSAGE   645 - 0 [root@vmi792826 ~]# doveadm b

Re: doveadm backup has problems with some accounts

2023-12-13 Thread roger.meier--- via dovecot
;68274>: Error: Mailbox INBOX sync: >> mailbox_delete failed: INBOX can't be deleted. > The other 450 accounts on the server have no issue and doveadm backup works > as expected. > I don't have any special namespaces configured on the server or acls. The > server

Re: doveadm backup has problems with some accounts

2023-12-01 Thread Aki Tuomi via dovecot
> On 01/12/2023 11:34 EET roger.meier--- via dovecot > wrote: > > > I try to setup for our mailserver (in a dc) a job backup to a secondary > server (in our office) with "doveadm backup" via the -R option. (rsync , > rsnapshot and so on tooks too long at the

doveadm backup has problems with some accounts

2023-12-01 Thread roger.meier--- via dovecot
I try to setup for our mailserver (in a dc) a job backup to a secondary server (in our office) with "doveadm backup" via the -R option. (rsync , rsnapshot and so on tooks too long at the moment) For the most user accounts all work as expected, but for three users it always fails

Re: Bug - doveadm backup out-of-memory kill/crash when no separators set

2023-08-25 Thread phelps
James Harrison wrote: > I hit a fun issue with doveadm when migrating from dovecot 2.2.36 > (1f10bfa63) to 2.3.19.1 (9b53102964) (CentOS 7 to Debian 12). > When running doveadm -v -D backup -R -u "user@name" tcp:localhost:1234, > I found that the first sync would always work, but subsequent runs

Bug - doveadm backup out-of-memory kill/crash when no separators set

2023-07-29 Thread James Harrison
ox namespace. Having identified the convert_name_to_remote_sep function as the likely trigger point I set the separator to / on both ends, and doveadm backup now runs without issue. Can provide config if helpful but I think probably irrelevant to this one - the namespace config is the default ot

Doveadm backup stateful synchronization trouble

2022-11-16 Thread dovecot
each time. The command I used for the first time is : doveadm backup -A -s "" -d > state.txt After that there is a daily calls (as vmail user, my config only handle virtual users) to : doveadm backup -A -s "$( state.txt.tmp && mv state.txt.tmp state.txt doveconf -n out

Re: doveadm backup|sync works for every folder but INBOX

2022-11-08 Thread Ralf Becker
Hi Aki, Am 08.11.22 um 12:02 schrieb Ralf Becker: Hi Aki, Am 08.11.22 um 10:07 schrieb Aki Tuomi: I send the full log again to your private address. Ralf Seems I can reproduce this issue, we'll look into this. Aki Hi! Can you try if https://github.com/dovecot/core/compare/a485443e00a7e1b

Re: doveadm backup|sync works for every folder but INBOX

2022-11-08 Thread Ralf Becker
Hi Aki, Am 08.11.22 um 10:07 schrieb Aki Tuomi: I send the full log again to your private address. Ralf Seems I can reproduce this issue, we'll look into this. Aki Hi! Can you try if https://github.com/dovecot/core/compare/a485443e00a7e1b93ed9b7d065c89fcd2eb90865%5E..0f67c79e48fa783b658606

Re: doveadm backup|sync works for every folder but INBOX

2022-11-08 Thread Aki Tuomi
> > I send the full log again to your private address. > > > > Ralf > > > > Seems I can reproduce this issue, we'll look into this. > > Aki Hi! Can you try if https://github.com/dovecot/core/compare/a485443e00a7e1b93ed9b7d065c89fcd2eb90865%5E..0f67c79e48fa783b658606a99cf18db8daf7884e.patch

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Ralf Becker
/2022 09:46 EET Ralf Becker wrote: I'm trying to migrate an old Cyrus 2.5 server to Dovecot 2.3.19 using doveadm backup -R, which works for all folders but the INBOX itself, which always stays empty. The Cyrus side uses altnamespace:no and unixhierarchysep:no, it's used as ima

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Aki Tuomi
;> Am 03.11.22 um 09:12 schrieb Aki Tuomi: > >>>>>>>>> On 03/11/2022 10:09 EET Ralf Becker wrote: > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> Hi Aki, > >>>

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Ralf Becker
er to Dovecot 2.3.19 using doveadm backup -R, which works for all folders but the INBOX itself, which always stays empty. The Cyrus side uses altnamespace:no and unixhierarchysep:no, it's used as imapc: remote in doveadm backup -R with imapc_list_prefix=INBOX Dovecot uses the following na

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Aki Tuomi
gt; >>>> > > >>>> Am 03.11.22 um 09:12 schrieb Aki Tuomi: > > >>>>>> On 03/11/2022 10:09 EET Ralf Becker wrote: > > >>>>>> > > >>>>>> > > >>>>>> Hi Aki,

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Aki Tuomi
2 10:09 EET Ralf Becker wrote: > >>>>>> > >>>>>> > >>>>>> Hi Aki, > >>>>>> > >>>>>> Am 03.11.22 um 08:50 schrieb Aki Tuomi: > >>>>>>>> On 03/11/2022 09:46 EET Ralf Becker wrote

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Ralf Becker
: Hi Aki, Am 03.11.22 um 08:50 schrieb Aki Tuomi: On 03/11/2022 09:46 EET Ralf Becker wrote: I'm trying to migrate an old Cyrus 2.5 server to Dovecot 2.3.19 using doveadm backup -R, which works for all folders but the INBOX itself, which always stays empty. The Cyrus side

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Paul Kudla
b Aki Tuomi: On 03/11/2022 10:09 EET Ralf Becker wrote: Hi Aki, Am 03.11.22 um 08:50 schrieb Aki Tuomi: On 03/11/2022 09:46 EET Ralf Becker wrote: I'm trying to migrate an old Cyrus 2.5 server to Dovecot 2.3.19 using doveadm backup -R, which works for all folders but the

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Aki Tuomi
:12 schrieb Aki Tuomi: > >>>> On 03/11/2022 10:09 EET Ralf Becker wrote: > >>>> > >>>> > >>>> Hi Aki, > >>>> > >>>> Am 03.11.22 um 08:50 schrieb Aki Tuomi: > >>>>>> On 03/11/2022 09:46 EET Ralf Bec

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Ralf Becker
: I'm trying to migrate an old Cyrus 2.5 server to Dovecot 2.3.19 using doveadm backup -R, which works for all folders but the INBOX itself, which always stays empty. The Cyrus side uses altnamespace:no and unixhierarchysep:no, it's used as imapc: remote in doveadm backup -R with imapc_l

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Aki Tuomi
:50 schrieb Aki Tuomi: > >>>> On 03/11/2022 09:46 EET Ralf Becker wrote: > >>>> > >>>> > >>>> I'm trying to migrate an old Cyrus 2.5 server to Dovecot 2.3.19 using > >>>> doveadm backup -R, which works for all folders but the INB

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Ralf Becker
Hi Aki, Am 03.11.22 um 09:12 schrieb Aki Tuomi: On 03/11/2022 10:09 EET Ralf Becker wrote: Hi Aki, Am 03.11.22 um 08:50 schrieb Aki Tuomi: On 03/11/2022 09:46 EET Ralf Becker wrote: I'm trying to migrate an old Cyrus 2.5 server to Dovecot 2.3.19 using doveadm backup -R,

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Aki Tuomi
> On 03/11/2022 10:09 EET Ralf Becker wrote: > > > Hi Aki, > > Am 03.11.22 um 08:50 schrieb Aki Tuomi: > >> On 03/11/2022 09:46 EET Ralf Becker wrote: > >> > >> > >> I'm trying to migrate an old Cyrus 2.5 server to Dovecot 2.3.1

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Ralf Becker
Hi Aki, Am 03.11.22 um 08:50 schrieb Aki Tuomi: On 03/11/2022 09:46 EET Ralf Becker wrote: I'm trying to migrate an old Cyrus 2.5 server to Dovecot 2.3.19 using doveadm backup -R, which works for all folders but the INBOX itself, which always stays empty. The Cyrus side

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Aki Tuomi
> On 03/11/2022 09:46 EET Ralf Becker wrote: > > > I'm trying to migrate an old Cyrus 2.5 server to Dovecot 2.3.19 using > doveadm backup -R, which works for all folders but the INBOX itself, > which always stays empty. > > The Cyrus side uses altnamespace:no

doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Ralf Becker
I'm trying to migrate an old Cyrus 2.5 server to Dovecot 2.3.19 using doveadm backup -R, which works for all folders but the INBOX itself, which always stays empty. The Cyrus side uses altnamespace:no and unixhierarchysep:no, it's used as imapc: remote in doveadm back

Re: Having an issue migrating mailboxes with the doveadm backup tool...

2022-07-14 Thread Aki Tuomi
heir emails, > and we're trying to do so with the doveadm backup tool - figuring that it > will probably "do" Dovecot better than a generic IMAP to IMAP tool. So far, > no dice - we get the following error message: > > Jul 13 16:00:00 doveadm(u...@example.com):

Having an issue migrating mailboxes with the doveadm backup tool...

2022-07-13 Thread Tom Spettigue
econd server is running dovecot. We need to get these users cleanly migrated over, with all of their emails, and we're trying to do so with the doveadm backup tool - figuring that it will probably "do" Dovecot better than a generic IMAP to IMAP tool. So far, no dice - we get the fol

Re: Doveadm backup...

2022-03-28 Thread John Stoffel
> "Sami" == Sami Ketola writes: >> On 27. Mar 2022, at 23.09, John Stoffel wrote: >> >>> "Stephane" == Stephane Magnier writes: >> >> Sorry, I deleted your most recent email post before I could reply. >> But why don't you just do 'imapsync' instead from your production >> dovecot box

Re: Doveadm backup...

2022-03-28 Thread Sami Ketola
> On 27. Mar 2022, at 23.09, John Stoffel wrote: > >> "Stephane" == Stephane Magnier writes: > > Sorry, I deleted your most recent email post before I could reply. > But why don't you just do 'imapsync' instead from your production > dovecot box to some other backup system? Otherwise I'

Re: Doveadm backup...

2022-03-27 Thread Stephane Magnier
discover it while running into trouble.. Stephane> On 2/28/22 19:03, Ben Burk wrote: Stephane> I'm not sure what you are attempting to do here. It looks like you just ran a doveadm backup Stephane> and the process completed for userx with a warning that the remote system (

Re: Doveadm backup...

2022-03-27 Thread John Stoffel
rush... I realized that my backup maybe not correct.. and I prefer not to discover it while running into trouble.. Stephane> On 2/28/22 19:03, Ben Burk wrote: Stephane> I'm not sure what you are attempting to do here. It looks like you just ran a doveadm backup Stephane>

Re: Doveadm backup...

2022-02-28 Thread Reuben Farrelly
Hi Stephen, Does it work if you delete the Maildir/ on the destination first and then initiate the backup? I ran into this problem recently - see my post on 21 Feb.  Looks very similar if not the same root cause. On 1/03/2022 6:46 am, Stephane Magnier wrote: I've seen in a previous post,

Re: Doveadm backup...

2022-02-28 Thread Stephane Magnier
e what you are attempting to do here. It looks like you just ran a doveadm backup and the process completed for userx with a warning that the remote system (your nfs mount) lost a particular mailbox (possibly your indexes changed or a mailbox was deleted). From the logs you pasted it appears the pr

Re: Doveadm backup...

2022-02-28 Thread Ben Burk
I'm not sure what you are attempting to do here. It looks like you just ran a doveadm backup and the process completed for userx with a warning that the remote system (your nfs mount) lost a particular mailbox (possibly your indexes changed or a mailbox was deleted). From the logs you p

Re: Doveadm backup...

2022-02-27 Thread Stephane Magnier
y NOT to do a backup ( Doveadm backup ) but a replication process ? ( https://wiki.dovecot.org/Replication  ) ? On 2/28/22 06:24, Ben Burk wrote: Did you try running dsync? On 2/27/22 23:15, Stephane Magnier wrote: HI, Any idea ? Any clue ? On 2/25/22 21:50, Stephane Magnier wrote: Hi

Re: Doveadm backup...

2022-02-27 Thread Ben Burk
Did you try running dsync? On 2/27/22 23:15, Stephane Magnier wrote: HI, Any idea ? Any clue ? On 2/25/22 21:50, Stephane Magnier wrote: Hi I've recently tried to use the Dovecadm backup to backup the emails..  with the following syntax doveadm -Dv backup -u userx maildir:/mnt/nfs-backu

Re: Doveadm backup...

2022-02-27 Thread Stephane Magnier
HI, Any idea ? Any clue ? On 2/25/22 21:50, Stephane Magnier wrote: Hi I've recently tried to use the Dovecadm backup to backup the emails..  with the following syntax doveadm -Dv backup -u userx maildir:/mnt/nfs-backup/userx Sounds to be OK with few emails... Some of them got a lot of em

Doveadm backup...

2022-02-25 Thread Stephane Magnier
Hi I've recently tried to use the Dovecadm backup to backup the emails..  with the following syntax doveadm -Dv backup -u userx maildir:/mnt/nfs-backup/userx Sounds to be OK with few emails... Some of them got a lot of emails and one f them got an error and stop ! dsync(userx): Debug: b

Re: doveadm backup : Warning: Deleting mailbox GUID= is missing locally

2022-01-27 Thread Sami Ketola
> On 27. Jan 2022, at 19.32, Laura Smith > wrote: > > So I should not be using "-R" with "doveadm backup" then ? > > For "-R" the docs say "will instead pull messages from the remote to the > local storage." > > for &qu

Re: doveadm backup : Warning: Deleting mailbox GUID= is missing locally

2022-01-27 Thread Laura Smith
docs (https://wiki.dovecot.org/Tools/Doveadm/Sync) I'm presently > > running doveadm backup multiple times with a view to eventual server > > migration. > > > > I am seeing messages such as this: > > > > Warning: Deleting mailbox 'Junk': UID=1826 GUID

Re: doveadm backup : Warning: Deleting mailbox GUID= is missing locally

2022-01-27 Thread Sami Ketola
> On 27. Jan 2022, at 16.27, Laura Smith > wrote: > > Hi, > > As per the docs (https://wiki.dovecot.org/Tools/Doveadm/Sync) I'm presently > running doveadm backup multiple times with a view to eventual server > migration. > > I am seeing messages such a

doveadm backup : Warning: Deleting mailbox GUID= is missing locally

2022-01-27 Thread Laura Smith
Hi, As per the docs (https://wiki.dovecot.org/Tools/Doveadm/Sync) I'm presently running doveadm backup multiple times with a view to eventual server migration. I am seeing messages such as this: Warning: Deleting mailbox 'Junk': UID=1826 GUID= is missing locally Is it anything

doveadm backup Error: Mailbox INBOX sync

2021-07-13 Thread Pierre Sablé
Hi, the command  "doveadm  backup -u {user@mail} maildir:/home/backup/{user@mail}/mails/" returns the following error : dsync(user@mail): Error: Mailbox INBOX sync: mailbox_delete failed: INBOX can't be deleted. ...and nothing in dovecot logs  dovecot actual version 2.3

Re: migration with doveadm backup to new cluster running dovecot 2.2.36 and replicator

2021-01-12 Thread Thomas Winterstein
When doing migration, it is very useful to construct a temporary dovecot-migration.conf which lacks *any* automatic mailbox creation and has only the bare minimum you need (sieve needs to be configured, and mailbox attributes). This means no autocreate/autosubscribe loaded, and no auto=creat

Re: migration with doveadm backup to new cluster running dovecot 2.2.36 and replicator

2021-01-11 Thread Aki Tuomi
. > >>> > >>> Please try to migrate with the same format. > >>> > >>> Andrea > >>> > >>> Il 05/01/21 15:02, Thomas Winterstein ha scritto: > >>>> No one? > >>>> > >>>> If there are lim

Re: migration with doveadm backup to new cluster running dovecot 2.2.36 and replicator

2021-01-10 Thread Thomas Winterstein
m dovecot 2.0.9 (maildir) to 2.2.36 (mdbox). The new cluster has two backend mail servers which replicate through doveadm replicator. To move the data initially we use doveadm backup (imapc). arb Our migration command    doveadm -o mail_fsync=never backup -R -u $user imapc: To test the replication of n

Re: migration with doveadm backup to new cluster running dovecot 2.2.36 and replicator

2021-01-07 Thread Thomas Winterstein
ew cluster has two backend mail servers which replicate through doveadm replicator. To move the data initially we use doveadm backup (imapc). arb Our migration command   doveadm -o mail_fsync=never backup -R -u $user imapc: To test the replication of new and purge of old mails with live data chan

Re: migration with doveadm backup to new cluster running dovecot 2.2.36 and replicator

2021-01-07 Thread Aki Tuomi
> > documentation. > > > > On 23.12.2020 20:33, Thomas Winterstein wrote: > >> Hello everyone, > >> > >> > >> we are working on migrating from dovecot 2.0.9 (maildir) to 2.2.36 > >> (mdbox). The new cluster has two backend mail servers which

Re: migration with doveadm backup to new cluster running dovecot 2.2.36 and replicator

2021-01-07 Thread Andrea Gabellini
luster has two backend mail servers which replicate >> through doveadm replicator. To move the data initially we use doveadm >> backup (imapc). >> >> arb >> Our migration command >>   doveadm -o mail_fsync=never backup -R -u $user imapc: >> >> >> To test

Re: doveadm backup only working once?

2021-01-06 Thread Aki Tuomi
ail.to  Mon Jan 04 17:56   29/1016  Testmail 1 > >>>  U  2 torrem...@mail.to  Mon Jan 04 17:56   28/982   Testmail 2 > >>> > >>> After the 2nd backup command (same command) it contains: > >>> > >>> root@server2:/var/mail# mail -f synctes

Re: doveadm backup only working once?

2021-01-06 Thread Odhiambo Washington
29/1016 Testmail 1 > >>> U 2 torrem...@mail.to Mon Jan 04 17:56 28/982 Testmail 2 > >>> > >>> After the 2nd backup command (same command) it contains: > >>> > >>> root@server2:/var/mail# mail -f synctest > >>>

Re: doveadm backup only working once?

2021-01-06 Thread Engelbert Torremans
FOLDER INTERNAL DATA Looks like for some reason the inbox file is reset/recreated? Anybody any idea what could cause this behaviour? Running the doveadm backup command a 3rd of 4th time does not change the /var/mail/synctest file anymore. Also the date/time of the file is not updated anymore I can&

Re: doveadm backup only working once?

2021-01-06 Thread Aki Tuomi
t; >Mail version 8.1.2 01/15/2001.  Type ? for help. > >"synctest": 1 message > >>   1 MAILER-DAEMON@ser  Wed Jan 06 14:05   13/534   DON'T DELETE THIS > >MESSAGE -- FOLDER INTERNAL DATA > > > >Looks like for some reason the inbox file is reset/re

Re: doveadm backup only working once?

2021-01-06 Thread Christian Kivalo
il -f synctest >Mail version 8.1.2 01/15/2001.  Type ? for help. >"synctest": 1 message >>   1 MAILER-DAEMON@ser  Wed Jan 06 14:05   13/534   DON'T DELETE THIS >MESSAGE -- FOLDER INTERNAL DATA > >Looks like for some reason the inbox file is reset/recreated?

Re: doveadm backup only working once?

2021-01-06 Thread Engelbert Torremans
DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA Looks like for some reason the inbox file is reset/recreated? Anybody any idea what could cause this behaviour? Running the doveadm backup command a 3rd of 4th time does not change the /var/mail/synctest file anymore. Also the date/time of

Re: migration with doveadm backup to new cluster running dovecot 2.2.36 and replicator

2021-01-05 Thread Thomas Winterstein
(mdbox). The new cluster has two backend mail servers which replicate through doveadm replicator. To move the data initially we use doveadm backup (imapc). arb Our migration command  doveadm -o mail_fsync=never backup -R -u $user imapc: To test the replication of new and purge of old mails

doveadm backup only working once?

2021-01-04 Thread Engelbert Torremans
All, For the past 2 weeks I have been trying to get dovecot mail backup working between 2 debian 10 machines. Both machines are running the same OS (Debian 10) and configuration wise they are similar (except of course ip addresses, hostnames etc). My "main" machine is called "server" and th

migration with doveadm backup to new cluster running dovecot 2.2.36 and replicator

2020-12-23 Thread Thomas Winterstein
Hello everyone, we are working on migrating from dovecot 2.0.9 (maildir) to 2.2.36 (mdbox). The new cluster has two backend mail servers which replicate through doveadm replicator. To move the data initially we use doveadm backup (imapc). Our migration command doveadm -o mail_fsync=never

RE: doveadm backup -f -n inbox doing writes?

2020-12-22 Thread Marc Roos
Hmmm, but I have made a few files with accounts to sync, if I use the list with the oldest least changing mailaccounts I get this spike during the doveadm backup. And if I issue the same command 30s later, the spike is back for the duration of the check. And since it was finished quite

Re: doveadm backup -f -n inbox doing writes?

2020-12-22 Thread Aki Tuomi
> On 22/12/2020 00:12 Marc Roos wrote: > > > If I start a 'doveadm backup -f -n inbox' on the source server, why do > also disk writes increase on the source server (indexes mostly?) Probably because your indexes are not up to date? Aki

doveadm backup -f -n inbox doing writes?

2020-12-21 Thread Marc Roos
If I start a 'doveadm backup -f -n inbox' on the source server, why do also disk writes increase on the source server (indexes mostly?)

Re: Doveadm Backup (other) issues

2020-06-11 Thread Gingko
  is the name of the imap remote server that I use for getting mails) … and then  I issued the following command: doveadm backup -R -u <mailto:n...@example.com>> imapc: ... but doing this, I get the following answer: dsync(): Info: imapc(:143): Connected to IP address>:143 (local 19

Re: Doveadm Backup (other) issues

2020-06-11 Thread Gingko
imapc_features = rfc822.size ( has format: n...@example.com <mailto:n...@example.com>, and is the name of the imap remote server that I use for getting mails) … and then I issued the following command: doveadm backup -R -u <mailto:n...@example.com>> imapc: ... but doing this, I get

Re: Doveadm Backup (other) issues

2020-06-09 Thread Sami Ketola
> On 8. Jun 2020, at 17.39, John Stoffel wrote: > >> "Sami" == Sami Ketola > > writes: > >>> On 7. Jun 2020, at 18.20, John Stoffel wrote: >>> "Gingko" == Gingko writes: >>> > Gingko> I also have issues using Dovecot Backup. >>> > Gin

Re: Doveadm Backup (other) issues

2020-06-08 Thread John Stoffel
> "Sami" == Sami Ketola writes: >> On 7. Jun 2020, at 18.20, John Stoffel wrote: >> >>> "Gingko" == Gingko writes: >> Gingko> I also have issues using Dovecot Backup. >> Gingko> I am trying to Backup (or possibly Sync - one way) a single Gingko> user IMAP account from a remote serve

Re: Doveadm Backup (other) issues

2020-06-08 Thread Sami Ketola
> On 7. Jun 2020, at 18.20, John Stoffel wrote: > >> "Gingko" == Gingko writes: > > Gingko> I also have issues using Dovecot Backup. > > Gingko> I am trying to Backup (or possibly Sync - one way) a single > Gingko> user IMAP account from a remote server, unknown type, to my > Gingko> o

Re: Doveadm Backup (other) issues

2020-06-08 Thread Sami Ketola
rpose, I defined the following parameters : > > imapc_host = > imapc_user = > imapc_password = > imapc_features = rfc822.size > > ( has format: n...@example.com <mailto:n...@example.com>, and > is the name of the imap remote server that I use for getting > mails

Re: Doveadm Backup (other) issues

2020-06-07 Thread John Stoffel
> "Gingko" == Gingko writes: Gingko> I also have issues using Dovecot Backup. Gingko> I am trying to Backup (or possibly Sync - one way) a single Gingko> user IMAP account from a remote server, unknown type, to my Gingko> own server. I think this is the key problem here, doveadm only talk

Doveadm Backup (other) issues

2020-06-07 Thread Gingko
= imapc_features = rfc822.size ( has format: n...@example.com, and is the name of the imap remote server that I use for getting mails) … and then  I issued the following command: doveadm backup -R -u imapc: ... but doing this, I get the following answer: dsync(): Info: imapc(:143): Connected to address

Re: Doveadm Backup issues

2020-06-07 Thread Bernardo Reino
On Sat, 6 Jun 2020, @lbutlr wrote: On 05 Jun 2020, at 17:09, Bernardo Reino wrote: USERS=$(cat /etc/dovecot/virtual_passwd | cut -d: -f1) Is that a standard file? It's not one I have. No, of course not! :) That's just my userdb/passdb (passwd-file). I would use (not that I have, but it s

Re: Doveadm Backup issues

2020-06-06 Thread @lbutlr
On 05 Jun 2020, at 17:09, Bernardo Reino wrote: > USERS=$(cat /etc/dovecot/virtual_passwd | cut -d: -f1) Is that a standard file? It's not one I have. I would use (not that I have, but it seem like the way to get a list of users) USERS=$( doveadm user '*' ) -- You start a conversation you

Re: Doveadm Backup issues

2020-06-05 Thread Francis Augusto Medeiros-Logeay
On 6 Jun 2020, at 01:10, Bernardo Reino wrote: > > On Fri, 5 Jun 2020, Francis Augusto Medeiros-Logeay wrote: > >> Another related question: if backing up on another location on the same >> computer, using -A doesn't seem to recreate the structure of the original >> Maildir (for example, /v

Re: Doveadm Backup issues

2020-06-05 Thread Bernardo Reino
On Fri, 5 Jun 2020, Francis Augusto Medeiros-Logeay wrote: Another related question: if backing up on another location on the same computer, using -A doesn't seem to recreate the structure of the original Maildir (for example, /var/mail/%d%n). Is there a way to do that? If I understand your

Re: Doveadm Backup issues

2020-06-05 Thread Francis Augusto Medeiros-Logeay
Hi, As said below, I am trying to use doveadm backup. I made some progress, but I think I misunderstand some of the basic principles behind the command. My main issue is: when using the -A flag, is there a way to create the backup user on the remote server if it doesn't exist

  1   2   3   >