{% extends "baseTemplate/index.html" %} {% load static %} {% comment %} Destinations. Secrets are write-only: the server sends a mask and a boolean, never the stored value, and an untouched field is sent back as the mask so the credential is left alone. {% endcomment %} {% block title %}Backup destinations{% endblock %} {% block content %}

Backup destinations

Where archives are sent. Every destination can be tested, and the test writes, reads back and deletes a small object rather than just opening a connection.

Configured destinations

No destinations yet. Until one exists, no backup can be stored.

Name Type Location Last verified Actions
disabled key file missing

Test of

Google Drive is not offered on this server:
A local destination protects against a bad deploy, not against losing the server. Keep at least one remote destination too.
Stored encrypted and never sent back to the browser. Leave the masked value untouched to keep the current password.
Used instead of the password when set.
Leave blank for AWS. Backblaze B2, Wasabi and DigitalOcean Spaces each publish their own endpoint — B2's is filled in from the region when left blank.
Stored encrypted and never sent back to the browser.
Open the destination folder in Drive; the ID is the part of the URL after /folders/.
Paste the whole JSON key Google generated for a service account — not an OAuth client key, which needs a human to click a consent screen. It is written to a 0600 file outside every document root and is never sent back to this page.
Share the target folder with (Editor, or Content manager on a Shared Drive). Until it is shared, Drive reports the folder as not existing.
Use a Shared Drive. A service account has no Drive storage quota of its own, so uploading into a folder on someone's personal My Drive fails with storageQuotaExceeded.
Select a destination to edit, or add a new one.
{% endblock %} {% block scripts %} {{ destinations|json_script:"cp-backup-destinations" }} {{ secretMask|json_script:"cp-backup-mask" }} {{ gdrive|json_script:"cp-backup-gdrive" }} {% endblock %}