Submitted by helpmin on Sat, 01/21/2012 - 10:57
It looks like that webmin doesn't backup dovecot configuration settings in CentOS 6.
I noticed this because I tried to restore dovecot settings (reason: vm 389 "broke" some settings :-) , but the dovecot settings are not in the backup file (even though all modules were selected during the creation process).
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Sat, 01/21/2012 - 14:12 Comment #1
Thanks for pointing this out .. it is a bug in Webmin's selection of the dovecot config files to backup. It will be fixed in the next release though.
The work-around for this is to go to Webmin -> Servers -> Dovecot -> Module Config, and set "Full path to Dovecot configuration file" to the single correct path on your system.
Submitted by helpmin on Sat, 01/21/2012 - 16:19 Comment #2
So i should set it to /etc/dovecot/?
Submitted by JamieCameron on Sat, 01/21/2012 - 16:31 Comment #3
It should be
/etc/dovecot/dovecot.conf
Submitted by helpmin on Sat, 01/21/2012 - 22:14 Comment #4
What about /etc/dovecot/conf.d/? Should't that be included in the backup as well?
Submitted by JamieCameron on Sat, 01/21/2012 - 23:37 Comment #5
Good point, I forgot about that file .. you'll have to wait for the next Webmin release to get a proper fix for this.
Submitted by helpmin on Sat, 01/21/2012 - 23:53 Comment #6
What would be the workaround for this? I guess other listed files
I tried to add /etc/dovecot/*. but webmin ignored this, probably because I have to list all files individually, right?
It would be great if other listed files. would be also able to backup folders :-)
Submitted by JamieCameron on Sat, 01/21/2012 - 23:56 Comment #7
That work-around would also work .. you can enter a directory like
/etc/dovecot
, and it will be expanded to include all the files within it.Submitted by helpmin on Sun, 01/22/2012 - 00:12 Comment #8
This doesn't work unfortunately. I tested this with webmin 1.5.80. Maybe a bug?
I tried the following six value, but nothting worked
Submitted by JamieCameron on Sun, 01/22/2012 - 00:16 Comment #9
Entering
/etc/dovecot
should work .. as long as you check the Other listed files box.Submitted by helpmin on Sun, 01/22/2012 - 00:27 Comment #10
I did, but it doesn't work.
Submitted by JamieCameron on Sun, 01/22/2012 - 12:48 Comment #11
I just tested this, by selecting "Dovecot IMAP / POP3 Server" from the "Modules to backup" list, entering "/etc/dovecot" in the "Include in backup" box and checking the "Server configuration files" and "Other listed files" boxes .. and it worked fine. The output was :
Starting backup of module configuration files to /tmp/dovecot.tar.gz ..
.. complete. Final backup size was 17.17 kB, containing 23 files.
Submitted by helpmin on Sun, 01/22/2012 - 17:25 Comment #12
it doesn'work for me. what os did you try this? i tried centos 6.
Just to make sure, i don't see any Include in backup box option, only other files
Submitted by JamieCameron on Sun, 01/22/2012 - 17:35 Comment #13
Yes, I tried it on CentOS 6 with the latest Webmin (1.570).
Submitted by helpmin on Mon, 01/23/2012 - 03:55 Comment #14
Ok, looks like we found a bug. If you select open in browser it doesn't work, but local file works.
Submitted by helpmin on Mon, 01/23/2012 - 04:01 Comment #15
and it doesn't work if you backup via ssh.
Submitted by JamieCameron on Mon, 01/23/2012 - 16:03 Comment #16
Does any module's backup work if you select "open in browser" ?
Submitted by helpmin on Tue, 01/24/2012 - 02:14 Comment #17
just changed from fixed to active (because not sure whether my last response would be noticed otherwise). hope this is the correct way?
Submitted by helpmin on Tue, 01/24/2012 - 10:44 Comment #18
Sorry, for some reason I didn't see your question ...
Yes, all modules backups seem to work (but of course I haven't checked every file in detail, but it looks about right). Only files missing are those listed in the additional files box.
Same is true for ssh (which is more important that open in browser)
Submitted by JamieCameron on Tue, 01/24/2012 - 13:21 Comment #19
Could you try upgrading to Webmin 1.580 and see if it fixes this issue? We haven't released it for all Virtualmin customers yet, but it is safe to install. The commands to use are :
cd /tmp
wget http://prdownloads.sourceforge.net/webadmin/webmin-1.580-1.noarch.rpm
rpm -U webmin-1.580-1.noarch.rpm
Submitted by helpmin on Tue, 01/24/2012 - 14:18 Comment #20
i tried it, but no change unfortunately
Submitted by JamieCameron on Tue, 01/24/2012 - 23:37 Comment #21
I'm sorry to say that I found another Webmin bug that can cause backups to the browser to not include additional files :-( This will be fixed in the 1.590 release though ..
Submitted by helpmin on Wed, 01/25/2012 - 07:22 Comment #22
Can happen :-) Thanks for fixing it.
Submitted by Issues on Wed, 02/08/2012 - 07:45 Comment #23
Automatically closed -- issue fixed for 2 weeks with no activity.