Threema Safe backup to Nextcloud

Did you know that Threema allows you, to backup your Threema app to a custom Threema Safe server? You can for example use your Nextcloud to keep your Threema backups safe.

Configure Nextcloud

I recommend to create a new Nextcloud user account only for the purpose of the Threema backup. If this account gets in wrong hands, all other Nextcloud files are still save. You can share your Threema backup folder with your regular Nextcloud user account if you want to have direct access to your Threema backups.

  1. Create a new Nextcloud user, e.g. threma-safe and generate a complex password with your favorite password tool.
  2. Sign in with the newly created Nextcloud user and delete the example files. Create a new folder "threma-safe" with a subfolder "backups".
  3. In the "threma-safe" folder create a config file (yes, no file-ending!) with the following content:
       {
       "maxBackupBytes": 52428800,
       "retentionDays": 180
        }
  4. If you have 2FA active (I hope you do so) you need to generate a new app password. Go to Settings -> Security -> Devices & sessions and enter a app name like "threema-safe" and click "Create new app password", save the generated password in your password tool.

Configure Threema app

  1. Open your app, on the menu select "Backups"
  2. Enable Threema Safe
  3. Choose expert settings, uncheck "use default server"
  4. provide your Nextcloud WebDAV URL: https://yourserver.domain.com/remote.php/dav/files/threema-safe/threema-safe/
  5. Press "ok"
  6. Generate and enter a strong password to protect your Threema Safe backup and click "Next". Your first backup should now be generated.

Verify

You show now see a newly generated backup in your threema-safe folder. To share your backups with your personal Nextcloud user, you can now select the threema-safe folder in Nextcloud and press the "share" icon, add your username and you're done. Happy backing!