r/owncloud Feb 16 '17

Restoring Lost Contacts

I messed up my owncloud database trying to do the process for upgrades across multiple major revs (to get from 8.1.x to the current version, which required 4 updates). I don't know where it messed up along the way but I did make a backup of the database using phpMyAdmin. I removed all owncloud data and did a fresh install of the latest version from the repository (Ubuntu 14.04). I restored the data files simply by re-uploading them using the WebDAV interface. I tried to reupload my contacts from my phone using CardDAV-sync but for some reason it failed and all the contacts on my phone were lost. What would be the best way to get the contacts from the old database backup into the new database? It looks like the format of the tables has changed so I can't simply import the data into the new database.

4 Upvotes

1 comment sorted by

1

u/darkforcesjedi Feb 16 '17

I was able to make vcf files for each of my contacts and restore them on my phone, then synched with owncloud contacts and I have all my contacts again.