<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Well for the purpose of upgrading your
      server, you could do the following:<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">
      <ol>
        <li>Rsync your maildir directories to a backup directory</li>
        <li>repeat rsync again so most of your changed files have been
          synced</li>
        <li>shut down your dovecot and smtp servers</li>
        <li>rsync one more time - should be relatively fast<br>
        </li>
        <li>restart your dovecot and smtp servers</li>
      </ol>
      <p>Otherwise, just schedule downtime and use whatever backup
        method you prefer. You will probably want to backup and then
        leave dovecot and smtp server down until you've completed the
        dovecot upgrade anyway, so you may as well schedule downtime for
        the entire process and do the dovecot upgrade between steps 4
        and 5 above.<br>
      </p>
      <p>Natu</p>
      <p><br>
      </p>
      <p><br>
      </p>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 3/10/19 10:07 PM, Aki Tuomi via
      dovecot wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:2091629529.147.1552280868188@appsuite-dev-gw1.open-xchange.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <meta charset="UTF-8">
      <div> I'd say the correct term is not broken but missing. backup
        was implemented in later version.  </div>
      <div> <br>
      </div>
      <div> With maildir keeping a copy of the content is sufficient
        backup.  </div>
      <div> <br>
      </div>
      <div> Aki </div>
      <blockquote type="cite">
        <div> On 11 March 2019 03:39 SH Development via dovecot
          <a class="moz-txt-link-rfc2396E" href="mailto:dovecot@dovecot.org"><dovecot@dovecot.org></a> wrote: </div>
        <div> <br>
        </div>
        <div> <br>
        </div>
        Ok, so for lack of any other information, am I to conclude that
        the doveadm backup command is broken in 2.0.9?  I have been
        through the wiki for it back and forth and cannot make it work.
        <div class=""> <br class="">
        </div>
        <div class=""> Yes, I need to upgrade, there is no question, but
          I won’t do that without a maildir backup.  I would prefer to
          use the built-in dovecot mechanisms for that than something
          else. </div>
        <div class=""> <br class="">
        </div>
        <div class=""> Jeff <br class="">
          <div> <br class="">
            <blockquote type="cite">
              <div class=""> On Mar 10, 2019, at 12:09 PM, SH
                Development via dovecot < <a class=""
                  href="mailto:dovecot@dovecot.org"
                  moz-do-not-send="true">dovecot@dovecot.org</a>>
                wrote: </div>
              <div class="">
                <div class="" style="word-wrap: break-word;
                  -webkit-nbsp-mode: space; line-break:
                  after-white-space;"> Okay then.  Is there a document
                  on how to do that in place?  That was one of the
                  reasons I was trying to do a backup first.
                  <div class=""> <br class="">
                  </div>
                  <div class=""> Jeff </div>
                  <div class=""> <br class="">
                    <div class=""> <br class="">
                      <blockquote type="cite">
                        <div class=""> On Mar 10, 2019, at 4:12 AM, Aki
                          Tuomi via dovecot < <a class=""
                            href="mailto:dovecot@dovecot.org"
                            moz-do-not-send="true">dovecot@dovecot.org</a>>
                          wrote: </div>
                        <div class="">
                          <div class="">
                            <div class=""> You should upgrade 2.2 first.
                            </div>
                            <div class=""> <br class="">
                            </div>
                            <div class=""> Aki </div>
                            <blockquote type="cite">
                              <div class=""> On 10 March 2019 10:45 SH
                                Development via dovecot < <a
                                  class=""
                                  href="mailto:dovecot@dovecot.org"
                                  moz-do-not-send="true">dovecot@dovecot.org</a>>
                                wrote: </div>
                              <div class=""> <br class="">
                              </div>
                              <div class=""> <br class="">
                              </div>
                              V 2.0.9
                              <div class=""> <br class="">
                              </div>
                              <div class=""> Jeff <br class="">
                                <div class=""> <br class="">
                                  <blockquote type="cite">
                                    <div class=""> On Mar 10, 2019, at
                                      12:07 AM, Aki Tuomi via dovecot
                                      < <a
                                        href="mailto:dovecot@dovecot.org"
                                        class="" moz-do-not-send="true">dovecot@dovecot.org</a>>
                                      wrote: </div>
                                    <div class="">
                                      <div class="">
                                        <div class=""> What version are
                                          you using? </div>
                                        <div class=""> <br class="">
                                        </div>
                                        <div class=""> Aki </div>
                                        <blockquote type="cite">
                                          <div class=""> On 10 March
                                            2019 00:40 SH Development
                                            via dovecot < <a
                                              href="mailto:dovecot@dovecot.org"
                                              class=""
                                              moz-do-not-send="true">dovecot@dovecot.org</a>>
                                            wrote: </div>
                                          <div class=""> <br class="">
                                          </div>
                                          <div class=""> <br class="">
                                          </div>
                                          <div class=""> Okay,
                                            apparently I’m just a
                                            complete idiot. Why doesn’t
                                            this work? </div>
                                          <div class=""> <br class="">
                                          </div>
                                          <div class=""> doveadm -Dv
                                            backup -u user
                                            Maildir:/mnt/maelstrombackups/vmailbackup
                                          </div>
                                          <div class=""> <br class="">
                                          </div>
                                          <div class=""> With user being
                                            the actual user name. </div>
                                          <div class=""> <br class="">
                                          </div>
                                          <div class=""> No backup is
                                            created, it just shows me
                                            the usage text. </div>
                                          <div class=""> <br class="">
                                          </div>
                                          <div class=""> Jeff </div>
                                          <div class=""> <br class="">
                                          </div>
                                          <blockquote type="cite">
                                            <div class=""> On Feb 20,
                                              2019, at 10:11 PM, SH
                                              Development < <a
                                                href="mailto:listaccount@starionline.com"
                                                class=""
                                                moz-do-not-send="true">listaccount@starionline.com</a>>
                                              wrote: </div>
                                            <div class=""> <br class="">
                                            </div>
                                            <div class=""> I am having
                                              trouble locating examples
                                              of how to use doveadm
                                              backup. All the examples I
                                              see are for sync. I simply
                                              want to create a backup to
                                              a network volume of the
                                              email server's vmail
                                              folders. The goal here is
                                              to have a reasonably
                                              current backup should the
                                              main drive on the email
                                              server go south. </div>
                                            <div class=""> <br class="">
                                            </div>
                                            <div class=""> We currently
                                              authenticate our users
                                              from a mysql database.
                                              User’s mailboxes are
                                              stored as
                                              domainname/username/Maildir
                                            </div>
                                            <div class=""> <br class="">
                                            </div>
                                            <div class=""> I assume what
                                              I will wind up on the
                                              network volume is a
                                              duplicate directory
                                              structure as the vmail
                                              folder on the email
                                              server? </div>
                                            <div class=""> <br class="">
                                            </div>
                                            <div class=""> Can someone
                                              help get me started here?
                                            </div>
                                            <div class=""> <br class="">
                                            </div>
                                            <div class=""> Jeff </div>
                                          </blockquote>
                                        </blockquote>
                                        <div class=""> <br class="">
                                        </div>
                                        <div class="io-ox-signature">
                                          <pre class="">---
Aki Tuomi</pre>
                                        </div>
                                      </div>
                                    </div>
                                  </blockquote>
                                </div>
                                <br class="">
                              </div>
                            </blockquote>
                            <div class=""> <br class="">
                            </div>
                            <div class="io-ox-signature">
                              <pre class="">---
Aki Tuomi</pre>
                            </div>
                          </div>
                        </div>
                      </blockquote>
                    </div>
                    <br class="">
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <br class="">
        </div>
      </blockquote>
      <div> <br>
      </div>
      <div class="io-ox-signature">
        <pre>---
Aki Tuomi</pre>
      </div>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>