Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Migrating Google Calendar & Contacts to WebDAV (CalDAV & CardDAV)

Migrating Google Calendar & Contacts to WebDAV (CalDAV & CardDAV)

Scheduled Pinned Locked Moved Support
5 Posts 4 Posters 1.3k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vprasad84
    wrote on last edited by
    #1

    Hi,

    We would like to migrate calendar & contacts of all our Google Users to a different email server which support WebDav (CalDav for calendar & CardDav for contacts)

    While i see the below options, is there a way where we can use google service account & impersonate the user

    also what could be the url for google carddav & caldav

    cloudron-davsync sync
    --source <url>
    --source-username <username>
    --source-password <password>
    --destination <url>
    --destination-username <username>
    --destination-password <password>

    murgeroM 1 Reply Last reply
    0
    • V vprasad84

      Hi,

      We would like to migrate calendar & contacts of all our Google Users to a different email server which support WebDav (CalDav for calendar & CardDav for contacts)

      While i see the below options, is there a way where we can use google service account & impersonate the user

      also what could be the url for google carddav & caldav

      cloudron-davsync sync
      --source <url>
      --source-username <username>
      --source-password <password>
      --destination <url>
      --destination-username <username>
      --destination-password <password>

      murgeroM Offline
      murgeroM Offline
      murgero
      App Dev
      wrote on last edited by
      #2

      @vprasad84 Which webdav system are you gonna use in Cloudron? Nextcloud? SOGo?

      --
      https://urgero.org
      ~ Professional Nerd. Freelance Programmer. ~

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vprasad84
        wrote on last edited by
        #3

        @murgero said in Migrating Google Calendar & Contacts to WebDAV (CalDAV & CardDAV):

        system are you gon

        Thanks for revert.

        I would be using IceWarp as Destination (CalDav/CardDav) & source will be Google
        I have tested cloudron-davsync between 2 separate IceWarp Servers & observed the contacts migration is fine
        For Calendar migration, Its giving the below error
        Invalid response: 412 Precondition Failed

        Found 2 items on source server.
        Found 0 items on destination server.
        Syncing 2/2 [=>] 0.0s
        The following items failed to sync:

        /612e44f90eea
        BEGIN:VCALENDAR
        VERSION:2.0
        PRODID:-//IceWarp//IceWarp Server 13.0.1.4 RHEL7 x64//EN
        BEGIN:VTIMEZONE
        TZID:Asia/Colombo
        BEGIN:STANDARD
        TZOFFSETFROM:+0530
        TZOFFSETTO:+0530
        TZNAME:+0530
        DTSTART:19700101T000000
        END:STANDARD
        END:VTIMEZONE
        BEGIN:VEVENT
        SUMMARY:t1
        UID:612e44f90eea
        X-SERVER-UID:612e44f90eea
        DTSTART;TZID=Asia/Colombo:20210831T144500
        DTEND;TZID=Asia/Colombo:20210831T151500
        CREATED:20210831T150426Z
        LAST-MODIFIED:20210831T150426Z
        DTSTAMP:20210831T150426Z
        PRIORITY:0
        SEQUENCE:0
        CLASS:PUBLIC
        X-MICROSOFT-CDO-BUSYSTATUS:busy
        TRANSP:OPAQUE
        END:VEVENT
        END:VCALENDAR

        I am looking to migrate calendar & contacts from google to icewarp webdav

        fbartelsF 1 Reply Last reply
        0
        • V vprasad84

          @murgero said in Migrating Google Calendar & Contacts to WebDAV (CalDAV & CardDAV):

          system are you gon

          Thanks for revert.

          I would be using IceWarp as Destination (CalDav/CardDav) & source will be Google
          I have tested cloudron-davsync between 2 separate IceWarp Servers & observed the contacts migration is fine
          For Calendar migration, Its giving the below error
          Invalid response: 412 Precondition Failed

          Found 2 items on source server.
          Found 0 items on destination server.
          Syncing 2/2 [=>] 0.0s
          The following items failed to sync:

          /612e44f90eea
          BEGIN:VCALENDAR
          VERSION:2.0
          PRODID:-//IceWarp//IceWarp Server 13.0.1.4 RHEL7 x64//EN
          BEGIN:VTIMEZONE
          TZID:Asia/Colombo
          BEGIN:STANDARD
          TZOFFSETFROM:+0530
          TZOFFSETTO:+0530
          TZNAME:+0530
          DTSTART:19700101T000000
          END:STANDARD
          END:VTIMEZONE
          BEGIN:VEVENT
          SUMMARY:t1
          UID:612e44f90eea
          X-SERVER-UID:612e44f90eea
          DTSTART;TZID=Asia/Colombo:20210831T144500
          DTEND;TZID=Asia/Colombo:20210831T151500
          CREATED:20210831T150426Z
          LAST-MODIFIED:20210831T150426Z
          DTSTAMP:20210831T150426Z
          PRIORITY:0
          SEQUENCE:0
          CLASS:PUBLIC
          X-MICROSOFT-CDO-BUSYSTATUS:busy
          TRANSP:OPAQUE
          END:VEVENT
          END:VCALENDAR

          I am looking to migrate calendar & contacts from google to icewarp webdav

          fbartelsF Offline
          fbartelsF Offline
          fbartels
          App Dev
          wrote on last edited by fbartels
          #4

          As far as I know there is no tool called:

          @vprasad84 said in Migrating Google Calendar & Contacts to WebDAV (CalDAV & CardDAV):

          cloudron-davsync

          There is also no app on cloudron for icewarp.

          Cloudron is a like a control panel form your server to install, update and backup pre defined apps.

          Edit: such a tool actually exists: https://www.npmjs.com/package/cloudron-davsync?activeTab=readme

          1 Reply Last reply
          0
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #5

            The tool is a helper we have created to ease migration towards the apps we have packaged for Cloudron, I don't even know IceWarp and it was thus not tested against this. Maybe you can run the command again with:

            DEBUG=* cloudron-davsync ...
            

            to get more information on what might go wrong as I can't reproduce or test this locally.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search