disaster recovery process
marko
kolab at mechtron.com.au
Mon Jun 12 07:43:46 CEST 2023
root won't work, you need to be the kolab restricted user.
from my 2016 notes, probably on centos 6 when I was migrating a lot of kolab:
/su - kolab-r -c "/kolab/bin/cyrreconstruct -rfx user/marko at mechtron.com.au"/
cheers
Marko
On Sunday, 11 June 2023 11:23:19 PM AEST Eric B Munson wrote:
> No, I ran it as root. The kolab user cannot read or write the mailbox files
> on disk (they belong to cyrus:mail).
> On 2023-06-09 20:27, marko wrote:
> > Are you running it as the kolab user?
> >
> > On Saturday, 10 June 2023 10:07:58 AM AEST Eric B Munson wrote:
> >> Thanks for the pointer, I found it but get no output from running it on
> >> my
> >> user. I ran:
> >>
> >> # /usr/lib/cyrus-imapd/reconstruct -rf user/eric
> >> #
> >>
> >> I am sure that means I am using is wrong but I cannot find any indication
> >> of how. AFAICT this is what the manpage says to do.
> >>
> >> Eric
> >>
> >> On 2023-06-09 06:23, Tom Reijnders wrote:
> >> > Are you siure it's not installed? By default it's not in the path, but
> >> > somewhere in the cyrus installation, so you would need the full path
> >> > to the executable. Try running 'locate reconstruct'. If locate is not
> >> > installeed, you should be able to install it using 'apt-get install
> >> > mlocate'.
> >> >
> >> > Tom
> >> >
> >> > Op 8-6-2023 om 17:39 schreef Eric B Munson:
> >> >> I am having the same problem and would like to run reconstruct, but it
> >> >> is
> >> >> not installed when using Ubuntu 18.04 and I cannot install the
> >> >> cyrus-common package from the ubuntu repos (which contains
> >> >> reconstruct)
> >> >> without breaking the kolab provided cyrus-imapd package. :/
> >> >>
> >> >> Guess it's time to see if they have finally fixed builds for 20.04 or
> >> >> 22.04.>>
> >> >>
> >> >> On 2023-06-01 10:00, Tom Reijnders wrote:
> >> >>> Did you run reconstruct?
> >> >>>
> >> >>> See
> >> >>> https://serverfault.com/questions/531916/reconstructing-cyrus-mailbox
> >> >>> es-> >>> with-sub-folders.
> >> >>>
> >> >>> Tom
> >> >>>
> >> >>> Op 27-5-2023 om 16:36 schreef Josh:
> >> >>>> Greetings kolabers,
> >> >>>>
> >> >>>> After a server catastrophic disk failure I reinstalled CentOS7 and
> >> >>>> Kolab16 latest, recreated my user, then restored
> >> >>>> /var/spool/mail/doman
> >> >>>> folder from a recent backup.
> >> >>>>
> >> >>>> Inbox contents showed up correctly but no previously created folders
> >> >>>> are shown to imap clients.
> >> >>>>
> >> >>>> Am I missing something?
> >> >>>>
> >> >>>> Please advise,
> >> >>>> Josh.
> >> >>>> _______________________________________________
> >> >>>> users mailing list
> >> >>>> users at lists.kolab.org
> >> >>>> https://lists.kolab.org/mailman/listinfo/users
> >>
> >> _______________________________________________
> >> users mailing list
> >> users at lists.kolab.org
> >> https://lists.kolab.org/mailman/listinfo/users
> >
> > _______________________________________________
> > users mailing list
> > users at lists.kolab.org
> > https://lists.kolab.org/mailman/listinfo/users
>
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20230612/e3d8dd4d/attachment.html>
More information about the users
mailing list