How to back up to Google Drive, OneDrive or Dropbox
Cloud drives sign in once in your browser. There is no password to enter in the panel: you allow access at Google, Microsoft or Dropbox and paste one address back.
Before you start
- The Google, Microsoft or Dropbox account that should hold the backups, and enough free space in it.
- Check that the drive has room for your copies: each run of a job sends one archive per account.
Steps
- In the administrator panel (
https://<server>:2087), open Backup Jobs (section Websites). - Under Destinations, click Add destination.
- Name — for example
Google Drive. - Storage — choose Google Drive, Microsoft OneDrive or Dropbox.
- Bucket and folder (S3) / folder — the folder in the drive, for example
backups. - Click Save. The page says "Saved. Now connect the account that should hold the backups."
- Click Connect.
- Click Sign in at Google Drive (or OneDrive, Dropbox). A new tab opens. Sign in with the account that should hold the backups and allow access.
- Your browser then shows an error page at
localhost:53682. That is expected. Copy the whole address from the address bar. It starts withhttp://localhost:53682/orhttp://127.0.0.1:53682/. - Back in the panel, paste it into the field and click Finish — within 15 minutes of clicking Connect.
The destination now shows Connected and the folder is tested. Choose it in a backup job.
Good to know
- Google Drive access is limited: the server sees only the files it creates in your Google Drive, nothing else.
- The sign-in renews itself. You do not have to connect again unless you revoke access at the provider.
- To use another account, open the destination and click Connect another account.
- Each destination has its own sign-in, so you can connect two different Google accounts as two destinations.
Common questions
I see "Paste the whole address from the browser". What went wrong?
The pasted text was not the full address of the localhost:53682 page. Copy everything from the address bar, including ?state=…&code=…, and paste it again.
It says "The sign-in did not finish (it is valid for 15 minutes; start again)".
More than 15 minutes passed, or Connect was clicked again in between. Click Connect and repeat the sign-in.
Why does the browser show an error page?
The sign-in hands its answer to the address localhost:53682, which exists on the server, not on your computer. Your browser cannot open it, but the address it shows contains the answer the server needs.
It says "The sign-in was refused".
You clicked deny or cancel at the provider, or the account may not grant access. Click Connect and allow access.
Thank you — this helps us improve the article.
Still stuck?
Ask the AI about your exact situation — it answers from this knowledge base — or contact us.
Related articles
- How to add an external backup destination (off-server backups)
Keep backup copies off the server on S3-compatible storage, an SFTP or FTP server, Google Drive, OneDrive or Dropbox, then send a backup job there.
- How to create a backup job (schedule automatic backups)
Schedule automatic backups of files, databases and email — from every 15 minutes to monthly — with how many copies to keep and where to store them.
- Backup failed: how to read backup and restore errors
Where backup, snapshot and restore errors are shown, what the common messages mean, and how to fix failed backups and failed external copies.