Attachement Migration from files to files_v2
-
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
-
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
orkopano-backup
. -
Hi @fbartels
ok, thank you, then I have my next little project and can validate my backup strategies.
Best regards,
Ihon -
@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? -
@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. -
@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?