Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Attachement Migration from files to files_v2

    Kopano Groupware Core
    3
    6
    466
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Ihon
      Ihon last edited by

      Hello,

      I have a quick queston and did not found anything on the web.
      Is there a possible way to migrate from attachement storage files to attachement storage files_v2?

      Thank you

      Ihon

      fbartels 1 Reply Last reply Reply Quote 0
      • fbartels
        fbartels Kopano @Ihon last edited by

        Hi @ihon,

        there is no direct way to switch from one attachment backend to another. You have to spin up a new server and migrate either via kopano-msr or kopano-backup.

        Regards Felix

        Resources:
        https://kopano.com/blog/how-to-get-kopano/
        https://documentation.kopano.io/
        https://kb.kopano.io/

        Support overview:
        https://kopano.com/support/

        Ihon 1 Reply Last reply Reply Quote 0
        • Ihon
          Ihon @fbartels last edited by

          Hi @fbartels
          ok, thank you, then I have my next little project and can validate my backup strategies.
          Best regards,
          Ihon

          1 Reply Last reply Reply Quote 0
          • gduran
            gduran last edited by

            @fbartels
            Hi Felix,
            Having the same question however,
            You mention to use kopano-msr or kopano-backup. I can’t find anything on kopano-msr(???).
            Would kopano-backup, next to migrating files to files_v2 also take care of migrating mysql version 5.7.33 database to mysql version 8.0.23?

            fbartels 1 Reply Last reply Reply Quote 0
            • fbartels
              fbartels Kopano @gduran last edited by

              @gduran said in Attachement Migration from files to files_v2:

              I can’t find anything on kopano-msr(???).

              I think packages are currently only available to customers of Kopano, but the source code can be found at https://stash.kopano.io/projects/KC/repos/msr/browse

              @gduran said in Attachement Migration from files to files_v2:

              Would kopano-backup, next to migrating files to files_v2 also take care of migrating mysql

              kopano-backup itself does not migrate anything, but it can be used to export all or single mailboxes (down to single folders and items actually). The restore can be done on any other kopano installation regardless of currently configured user backend, files storage or database.

              Regards Felix

              Resources:
              https://kopano.com/blog/how-to-get-kopano/
              https://documentation.kopano.io/
              https://kb.kopano.io/

              Support overview:
              https://kopano.com/support/

              gduran 1 Reply Last reply Reply Quote 0
              • gduran
                gduran @fbartels last edited by

                @fbartels
                Hi Felix,
                OK, that’s clear. Meanwhile I did succeed in migrating to a new server using rsync to copy the attachments and a mysqldump to transfer the data and setting the attachment_storage to ‘files’.
                So far so good.
                Question: What will happen if I change the attachment_storage to files_v2? Will the storage than be automatically converted?

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post