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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

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

    Support
    4
    5
    362
    Loading More Posts
    • 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
      vprasad84 last edited by

      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>

      murgero 1 Reply Last reply Reply Quote 0
      • murgero
        murgero App Dev @vprasad84 last edited by

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

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

        1 Reply Last reply Reply Quote 0
        • V
          vprasad84 last edited by

          @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

          fbartels 1 Reply Last reply Reply Quote 0
          • fbartels
            fbartels App Dev @vprasad84 last edited by fbartels

            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 Reply Quote 0
            • nebulon
              nebulon Staff last edited by

              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 Reply Quote 0
              • First post
                Last post
              Powered by NodeBB