How does the sync work?
You can sync your journal between devices (cross-platform, meaning you can sync between a Windows PC and Android/iOS device). To do so, select the Cloud service you want to use in the app settings or trigger a sync manually by clicking the "sync" button on the main page (located on the top right). You will need to do that once for each device in order to login to the cloud storage - make sure to use the same cloud storage account on each device you wish to include into the sync. After that, the app syncs your journal automatically, without having to press the sync button manually. The data uploaded to the cloud is compressed and encrypted.
You can also move the database to another device without using the Cloud sync. You can export the complete database in the app settings ("Backup diary" button) and import the resulting .diary-file on another device with the "Import diary" button.
Where are the sync files located?
For OneDrive, Diarium is syncing the data in the folder "Applications/Diarium". For GoogleDrive & WebDAV, you find it in the "Diarium" folder in the root of your cloud storage space. And for Dropbox, the data will be saved to the "Apps/Diarium" folder.
Will there be more sync providers?
If there is enough demand for specific cloud services then I will consider adding them. Head over to the feature requests to let me know what option you are missing.
Why is the sync not working for me?
In some cases, the sync might not work as expected. Some of the possible reasons include insufficient cloud space, a bad internet connection or sync-incompatible instances of Diarium (make sure you are running the latest app version (v2.*) on all connected devices).
It is also possible that the sync fails if the sync folder contents on your cloud storage are changed manually - please don't add or remove any files in those folders (see "Where is the data stored?"). In some cases, it can also help to reset the sync login credentials in the app settings.
Make sure you using the same Cloud service (e.g. OneDrive) in all your Diarium instances and are logged in with the same (e.g. Microsoft-) Account.
If you continue to have problems with the Cloud sync, please don't hesitate to ask for help in the support area.
How do I set up the WebDAV sync?
Settings up the WebDAV Sync can be a bit more tricky compared to the other sync options. If you are having problems with it, maybe these points can help:
- Make sure that the user you are using for the WebDAV Sync has access permissions (read + write) to the root folder.
- If you want to use a subfolder, make sure to append its name/path to the WebDAV-URL (e.g https://mydomain.com:1234/subfolder).
- In some cases it is required that you use a subfolder (e.g. the "home" subfolder on Synology servers)
- When you enter the wrong WebDAV credentials and the app shows an error, you can reenter them by clicking on the Reset login credentials button and reselect WebDAV from the sync options.
- When using https, make sure to have a valid and trusted SSL certificate on your server (you can get one for free from Let's Encrypt).
- When using Synology, make sure you enabled the WebDAV server as described here.
- When using ownCloud/Nextcloud, make sure to use the correct WebDAV-URL (should contain something like /remote.php/dav/files/). When logged in to the Nextcloud web interface, you can access the WebDAV URL by clicking on the Settings button.
- pCloud is currently not recommended for use with the Cloud Sync due to problems/bugs on the side of pCloud