Re: Is it possible to migrate a single mailbox from cyrus 3.4.3 to 3.6.0~beta2-1 storage?
Andy Dorman <[email protected]>
| Newsgroups | gmane.mail.imap.cyrus |
|---|---|
| Message-ID | <[email protected]> |
On 3/25/22 11:45, Andy Dorman wrote: > On 3/25/22 01:57, Yadd wrote: >> On 24/03/2022 23:55, Andy Dorman wrote: >>> Ellie, did you notice this from the debian maintainer? >>> >>> On 3/23/22 09:57, Yadd wrote: >>>> Looking at source, relocate_by_id tool doesn't exist in 3.6.0-beta2 >>>> (only mentioned in Cassandane::Cyrus::FastMail) >> >> Hi, >> >> I'm the Debian maintainer even I'm not a Cyrus-Imapd user (package was >> orphaned). I just pushed a new version, please try it (wait a few >> hours to see it in unstable). >> > > Thank you Yadd. I have updated our dev server and I see the new > utilities now. > > # dpkg -L cyrus-common > ... > /usr/lib/cyrus/bin/cyr_cd.sh > ... > /usr/lib/cyrus/bin/cyr_ls > ... > /usr/lib/cyrus/bin/relocate_by_id > > > I don't see man pages yet, but that is no problem as I have found them > here. > > https://www.cyrusimap.org/dev/imap/reference/manpages/index.html#system-commands > > > After backing up my personal mailbox (which is on this dev server) AND > enabling core dumps, I will try moving it to the uuid storage using > relocate_by_id. > > Andy > Hmmmmm. Nothing is happening. I have run relocate_by_id several times trying different variations of the mailbox name with nothing happening that I can see. No errors, mailboxes moved or crashes indicated either in syslog or the command line. # sudo -u cyrus /usr/lib/cyrus/bin/relocate_by_id user/[email protected] >> 2022-03-25T12:04:31.831908-05:00 yorick sudo: root : TTY=pts/0 ; PWD=/var/spool/cyrus/mail ; USER=cyrus ; COMMAND=/usr/lib/cyrus/bin/relocate_by_id user/[email protected] >> 2022-03-25T12:04:31.832584-05:00 yorick sudo: pam_unix(sudo:session): session opened for user cyrus(uid=100) by root(uid=0) >> 2022-03-25T12:04:31.862491-05:00 yorick sudo: pam_unix(sudo:session): session closed for user cyrus # sudo -u cyrus /usr/lib/cyrus/bin/relocate_by_id [email protected] > 2022-03-25T12:05:29.822711-05:00 yorick sudo: root : TTY=pts/0 ; PWD=/var/spool/cyrus/mail ; USER=cyrus ; COMMAND=/usr/lib/cyrus/bin/relocate_by_id [email protected] > 2022-03-25T12:05:29.823176-05:00 yorick sudo: pam_unix(sudo:session): session opened for user cyrus(uid=100) by root(uid=0) > 2022-03-25T12:05:29.853858-05:00 yorick sudo: pam_unix(sudo:session): session closed for user cyrus I also tried running the command as root with the same results. I suspect I am going to feel very foolish when someone points out what I am missing here. Andy ------------------------------------------ Cyrus: Info Permalink: https://cyrus.topicbox.com/groups/info/T9d294f89a3d1d260-M08dfe1cc1645c4061393f182 Delivery options: https://cyrus.topicbox.com/groups/info/subscription