# Vandelay Export drops calendar tasks (VTODO) and journals (VJOURNAL); only VEVENT is exported

**URL:** https://support.stalw.art/t/vandelay-export-drops-calendar-tasks-vtodo-and-journals-vjournal-only-vevent-is-exported/1920
**Category:** Issues
**Created:** [October 12, 2026, 12:42pm UTC](https://support.stalw.art/t/vandelay-export-drops-calendar-tasks-vtodo-and-journals-vjournal-only-vevent-is-exported/1920 "2026-10-12T12:42:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![SystemFuchs](https://support.stalw.art/user_avatar/support.stalw.art/systemfuchs/32/225_2.png) [@SystemFuchs](https://support.stalw.art/u/SystemFuchs)
#### Post date: [October 12, 2026, 12:42pm UTC](https://support.stalw.art/t/vandelay-export-drops-calendar-tasks-vtodo-and-journals-vjournal-only-vevent-is-exported/1920/1 "2026-10-12T12:42:52Z")

</div>

### Issue Description

When migrating a CalDAV source into a JMAP target, calendar tasks are read into the archive during import but are silently skipped during export. The same appears to apply to journal entries.

**Environment**

vandelay 1.0.12 (  
Source: SOGo/Mailcow CalDAV  
Target: Stalwart 0.16.25 (JMAP)

### Expected Behavior

Either tasks are exported as well, or (if the JMAP target cannot represent them) inspect and the export summary report them as a distinct type so the discrepancy is visible, rather than the count just silently differing.

### Actual Behavior

tasks & journals are skipped by vandelay export

### Reproduction Steps

vandelay import caldav --url --auth-basic acct.sqlite on a calendar that contains VEVENTs and VTODOs.  
vandelay inspect acct.sqlite → calendarevent count includes the tasks (e.g. 3843).  
vandelay export --dry-run --url … acct.sqlite → CalendarEvent CREATE is lower by exactly the number of tasks (e.g. 3826).

### Relevant Log Output

/migration ./migrate-mailbox.sh [xxx@yyy.de](mailto:xxx@yyy.de) inspect  
Archive: /migration/archives/xxx@yyy.de.sqlite  
Source: imap imaps://xxx:993 (account [xxx@yyy.de](mailto:xxx@yyy.de) / [xxx@yyy.de](mailto:xxx@yyy.de))

mailbox 13  
email 25,705  
identity 0  
sievescript 0  
addressbook 2  
contactcard 5  
calendar 1  
calendarevent 3,843  
participantidentity 0  
filenode 0

blobs 25,705 (1.9 GB)

2026-10-12 14:14:28 === export DRY RUN [xxx@yyy.de](mailto:xxx@yyy.de) → [https://stalwart.xxx.eu](https://stalwart.xxx.eu) (use --commit to write) ===  
export: Mailbox …  
export: AddressBook …  
export: Calendar …  
export: Email …  
export: ContactCard …  
export: CalendarEvent …  
TYPE CREATE MATCHED  
Mailbox 7 6  
AddressBook 2 0  
Calendar 1 0  
Email 25705 0  
ContactCard 5 0  
CalendarEvent 3826 0

2026-10-12 14:14:30 === export finished ===  
sqlite3 /root/migration/archives/xxx@yyy.de.sqlite   
“SELECT data\_type, count(\*) FROM calendar\_events GROUP BY 1;”  
Event|3826  
Task|17

### Stalwart Version

v0.16.x

### Installation Method

Binary (Linux)

### Database Backend

RocksDB

### Blob Storage

RocksDB

### Search Engine

Internal

### Directory Backend

Internal

### I have reviewed the documentation and FAQ and confirm that my issue is NOT addressed there.

on

### I have searched this support forum (open and closed topics) and confirm this is not a duplicate.

on

### I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.

on

---

<div class="post-metadata">

### Author: ![helpbot](https://support.stalw.art/user_avatar/support.stalw.art/helpbot/32/13_2.png) [@helpbot](https://support.stalw.art/u/helpbot)
#### Post date: [October 12, 2026, 12:45pm UTC](https://support.stalw.art/t/vandelay-export-drops-calendar-tasks-vtodo-and-journals-vjournal-only-vevent-is-exported/1920/2 "2026-10-12T12:45:04Z")

</div>

Let me check the vandelay import/export tool itself in the server repo for how it handles calendar event types.

This isn’t covered in the current docs. A community member or staff member will follow up.

_This is an automated reply from the Stalwart Help Bot. Other community members may follow up if this answer is incomplete or wrong._

---

<div class="post-metadata">

### Author: ![stalwart](https://support.stalw.art/user_avatar/support.stalw.art/stalwart/32/12_2.png) [@stalwart](https://support.stalw.art/u/stalwart)
#### Post date: [October 15, 2026, 1:32pm UTC](https://support.stalw.art/t/vandelay-export-drops-calendar-tasks-vtodo-and-journals-vjournal-only-vevent-is-exported/1920/3 "2026-10-15T13:32:35Z")

</div>

The 17 tasks and journals are in the archive. Vandelay stores every VTODO and VJOURNAL it pulls over CalDAV, and `inspect` counts them, which is where 3843 comes from. Export only writes events because it goes through JMAP CalendarEvent, and Stalwart has no JMAP object for tasks it could write them to (JMAP for Calendars is just for calendars, it has no Todo or Journal support).

Skipping them without a word is not OK, though. Inspect and export should list tasks and journals as their own type and say they were skipped, and the docs should say so too. I’ll fix both.

To move those 17 now, export them as .ics from the source with any CalDAV client and import that file into Stalwart over CalDAV, which accepts VTODO and VJOURNAL.

---

<div class="post-metadata">

### Author: ![SystemFuchs](https://support.stalw.art/user_avatar/support.stalw.art/systemfuchs/32/225_2.png) [@SystemFuchs](https://support.stalw.art/u/SystemFuchs)
#### Post date: [October 16, 2026, 7:42am UTC](https://support.stalw.art/t/vandelay-export-drops-calendar-tasks-vtodo-and-journals-vjournal-only-vevent-is-exported/1920/4 "2026-10-16T07:42:26Z")

</div>

Thanks for the quick and clear explanation, that makes sense.

I’d already worked around it on my side with a small script that pushes the VTODOs to Stalwart over CalDAV, so the migration itself isn’t blocked. Good to hear inspect/export will report them as skipped, that would have saved me some head-scratching.

One thing worth adding to the docs: the same limitation applies to restores. If someone uses vandelay archives as a per-mailbox backup (which I do), restoring via export won’t bring tasks and journals back either. They’d have to be re-imported over CalDAV. A short note on that next to the export caveat would help anyone relying on vandelay for backups.

Thanks again for the tool and the fast response.
