# Owncloud 7.0.4 sqlite migration

**URL:** <https://help.nextcloud.com/t/owncloud-7-0-4-sqlite-migration/95199>\
**Category:** ℹ️ Support\
**Created:** [October 14, 2020, 6:35pm UTC](https://help.nextcloud.com/t/owncloud-7-0-4-sqlite-migration/95199 "2020-10-14T18:35:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nextdano](https://help.nextcloud.com/letter_avatar/nextdano/32/6_22734026db12803ebb3e059622ac3534.png) [@nextdano](https://help.nextcloud.com/u/nextdano)\
**Post date:** [October 14, 2020, 6:35pm UTC](https://help.nextcloud.com/t/owncloud-7-0-4-sqlite-migration/95199/1 "2020-10-14T18:35:35Z")

</div>

Hi guys,

I just inherit an old and fancy Owncloud instance using sqlite ( 7.0.4, yeah really 😄 ) on a shared hosting, living the dream ^^

I want to migrate this one to Nextcloud for my beloved neighbors, parents of a french kindergarden.

I know I need to :

- upgrade to latest 7.x,
- upgrade to latest 8.0.x,
- upgrade to latest 8.1.x,
- upgrade to latest 8.2.x,
- migrate to latest Nextcloud 10.x,
- …

But I want to migrate away from Sqlite, the instance is slow which is mildly infuriating.  
Looks like there is a command for that :  
occ db:convert-type  
The question is when ?

I also want to set TLS certificate to secure communications but that’s definitely a later move.

So I’m here for opinions, when is the more appropriate time to switch to Mysql ?

Ju

PS : I selfhost my own Nextcloud instance with Docker. It works like a charm, thanks so much for this great piece of software 😉

---

<div class="post-metadata">

**Author:** ![j-ed](https://help.nextcloud.com/user_avatar/help.nextcloud.com/j-ed/32/7281_2.png) [@j-ed](https://help.nextcloud.com/u/j-ed)\
**Post date:** [October 14, 2020, 6:57pm UTC](https://help.nextcloud.com/t/owncloud-7-0-4-sqlite-migration/95199/2 "2020-10-14T18:57:03Z")

</div>

Depending on the number of users and the amount of data which need to be migrated it would perhaps be worse to export contacts and calendar data only, set-up a new MySQL/MariaDB instance in parallel and import the data again. Next you could copy the existing files to the new server.

This might reduce the workload because there wouldn’t be a requirement to upgrade the server step-by step 😉

BTW, you should also think about a working backup concept to prevent any data loss due to a hard disc failure etc. 🕶

---

<div class="post-metadata">

**Author:** ![nextdano](https://help.nextcloud.com/letter_avatar/nextdano/32/6_22734026db12803ebb3e059622ac3534.png) [@nextdano](https://help.nextcloud.com/u/nextdano)\
**Post date:** [October 14, 2020, 7:30pm UTC](https://help.nextcloud.com/t/owncloud-7-0-4-sqlite-migration/95199/3 "2020-10-14T19:30:25Z")

</div>

thanks so much for your quick reply 💪

I have a (manual) backup process and the provider is a reliable one, OVH 👏 so I don’t really worry that much about data loss but the users are not really tech enthusiasts :\

You may be right this instance is barely used, I just need to persist users, groups and files. No one use contacts, calendar or any extra app. If I can export/import users, groups and files, I’m golden.

I want the migration to be as transparent as possible for then, they don’t really use the place a lot which is a shame but I want at least to keep files and permissions.

I try to convince then to leave Google groups, drive and co 🤢

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 10:17am UTC](https://help.nextcloud.com/t/owncloud-7-0-4-sqlite-migration/95199/4 "2024-12-12T10:17:57Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 10:17am UTC](https://help.nextcloud.com/t/owncloud-7-0-4-sqlite-migration/95199/5 "2024-12-12T10:17:58Z")

</div>


