Moving contacts and calendar entries from Google to OwnCloud

As an Android user it’s hard to evade Google. You won’t be able to install apps without creating a GMail account and telling them your credit card number. But let’s at least not use GMail for your emails, contacts and calendar entries. In fact that is suprisingly simple. Let’s start with the…

Calendar

In OwnCloud enable the Calendar app if you haven’t already. Log in as “admin”, click on “Apps+” on the bottom of the left navigation area and activate the Calendar app.

Install CalDAV-Sync (yes, costs a bit of money) on your Android phone. Run the application and set up a CalDAV account. The CalDAV URL can be found in the OwnCloud web interface when you navigate to your calendar and click on the cog wheel icon in the upper right corner. It looks something like cloud.example.org/remote.php/caldav/

Log into your Google Calendar and go to the settings hidden behind the cog wheel icon in the upper right corner. Click on “Calendar” at the top. Look for a “export calendar” link. You will get a ZIP archive downloaded that contains an ICS file. Unpack that ZIP archive. Navigate to the files section on your OwnCloud in the web browser and upload the ICS file to any folder using drag-and-drop. Then click on the file in the browser and confirm to have that ICS file imported to your OwnCloud calendar. Now your calendar has been copied to OwnCloud.

Finally remove the appointments from your Google calendar and stop the sync from your smartphone. Neither can you remove the Google calendar from Google nor from your phone – it’s a pest. Make your OwnCloud calendar the new default on your phone. (If you own a Samsung S4 I suggest downloading the original “Google Calendar” app because the Samsung calendar app does not allow you to get rid of the Google calendar.)

Contacts

(Pretty similar as above.)

In OwnCloud enable the Calendar app if you haven’t already. Log in as “admin”, click on “Apps+” on the bottom of the left navigation area and activate the Contacts app.

Install the CardDAV-Sync app (still beta and thus free) on your Android device. Run the application and set up a CardDAV account. The CardDAV URL can be found in the OwnCloud web interface when you navigate to the contacts app and click on the cog wheel icon in the lower right corner and then on the globe icon. It looks something like cloud.example.org/remote.php/carddav/addressbooks/johndoe/contacts

Log into your GMail account and click on “More” and “Export”. Choose to export all contacts in vCard format. Navigate to the files section on your OwnCloud in the web browser and upload the VCF file to any folder using drag-and-drop. Then click on the file in the browser and confirm to have that contacts imported to your OwnCloud contacts.

And finally remove your contacts from GMail and stop the sync.

One step closer to Google-independence – yeah!

7 thoughts on “Moving contacts and calendar entries from Google to OwnCloud

  • 2015-01-13 at 21:16
    Permalink

    There is another pretty good solution for syncing an Android phone with a CalDAV/CardDAV server. It’s called DAVdroid and it is open source, so you can download it from F-Droid.

    Reply
  • 2015-01-24 at 23:29
    Permalink

    All right. But now if you wanna sync the google-calendar of a friend with your oC calendar ? All your friends want leave gmail&google… Have you found a solution ?

    Reply
    • 2016-05-01 at 13:44
      Permalink

      I’m using ICSdroid for those who I couldn’t convince to use OC

      Reply
  • 2015-05-03 at 04:58
    Permalink

    motivated me to get moving on kicking google to the curb. Got everything sync’d to my OC server now. Google sure likes to make it difficult to get all your information from their grasp.

    Reply
  • 2016-02-04 at 17:49
    Permalink

    #1 for DAVdroid. Alternatively, you can use CyanogenMod instead of Android – a little step forward regarding your privacy.

    Reply
  • 2016-06-07 at 16:26
    Permalink

    For contacts you can get bi-directional synchronisation by using the open source software ASynK (http://asynk.io).

    P.S: I am the author of the program.

    Reply
    • 2016-07-01 at 12:19
      Permalink

      And the link throws a 500

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close