# Is it possible to transfer just an app's mysql/mariadb database info into a new installation of nextcloud?

**URL:** <https://help.nextcloud.com/t/is-it-possible-to-transfer-just-an-apps-mysql-mariadb-database-info-into-a-new-installation-of-nextcloud/124708>\
**Category:** ℹ️ Support\
**Tags:** database\
**Created:** [October 2, 2021, 11:28pm UTC](https://help.nextcloud.com/t/is-it-possible-to-transfer-just-an-apps-mysql-mariadb-database-info-into-a-new-installation-of-nextcloud/124708 "2021-10-02T23:28:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Bernie\_O](https://help.nextcloud.com/user_avatar/help.nextcloud.com/bernie_o/32/40181_2.png) [@Bernie\_O](https://help.nextcloud.com/u/Bernie_O)\
**Post date:** [October 3, 2021, 6:47am UTC](https://help.nextcloud.com/t/is-it-possible-to-transfer-just-an-apps-mysql-mariadb-database-info-into-a-new-installation-of-nextcloud/124708/2 "2021-10-03T06:47:18Z")

</div>

> [@averageadmin](#):
>
> For example, I’d like to transfer over only the Calendar and Deck apps’ data to a fresh installation. I think that in theory this should be possible, but I’d like to know how many different tables this may involve for each app. If each app just uses one table, that should be pretty easy to copy into a new mariadb database.

I can’t say anything about the Deck app, but the relevant data for calendars is stored in these tables - some of those might have been introduced after Nextcloud 19 (your table prefix might be different from `oc_`):

```plaintext
oc_calendarchanges
oc_calendarobjects
oc_calendarobjects_props
oc_calendars
oc_calendarsubscriptions
oc_calendar_invitations
oc_calendar_reminders
oc_calendar_resources
oc_calendar_resources_md
oc_calendar_rooms
oc_calendar_rooms_md
oc_dav_cal_proxy
oc_dav_shares
oc_group_user

```

As calendardata is spread over several tables and also synchronization status and other information is stored along with the data, I think just directly importing these tables is quite error-prone.

If there are not to many users and calendars and as long as you have access to the database of the broken instance, you could also export the calendardata to `*.ics` files with _[calcardbackup](https://help.nextcloud.com/t/calcardbackup-bash-script-to-backup-nextcloud-calendars-and-addressbooks-as-ics-vcf-files/11978)_ and then import the `*.ics` files to the new instance.

---

_[View the full topic](https://help.nextcloud.com/t/is-it-possible-to-transfer-just-an-apps-mysql-mariadb-database-info-into-a-new-installation-of-nextcloud/124708)._
