Disconnect a WordPress site safely

Revoke one WordPress site's restricted key, stop later off-site uploads, preserve stored backups, and understand how to reconnect safely when needed.

Last reviewed

Disconnecting revokes the site’s restricted Dosya key and prevents later off-site uploads. Backups already stored in Dosya, their folder, database rows, and active protection locks remain in place.

Safe WordPress disconnection path showing site identification, retained-backup review, confirmation, and revoked access.
Verify recoverable copies before confirming; disconnection removes access for the selected site but deliberately keeps its previously uploaded backups. Open full-size screenshot.

Steps

  1. Decide which control matches your access. The account that connected the site can use Dosya Integrations → WordPress; a WordPress administrator can use dosya Backup → dosya from that installation.
  2. Before disconnecting, verify the exact site name and host. Open its folder and confirm at least one usable stored copy if off-site recovery matters.
  3. In Dosya, open Actions for site, choose Disconnect, and read Disconnect site from dosya? Backups already stored in dosya are kept. In wp-admin, press Disconnect and read the equivalent site-level warning.
  4. In the web app, choose Cancel to leave the connection intact, or press Disconnect to proceed. In wp-admin, cancel or accept the browser-native confirmation; its buttons are supplied by the browser, not the plug-in.
  5. In the web app, wait for Site disconnected and _site_ is no longer connected. Its backups are kept. The row is removed from the active list.
  6. In wp-admin, the page reloads after the request. The connection card returns to Store copies in dosya with Connect to dosya.
WordPress integration overview where a site's row menu exposes the Disconnect action.
The web route disconnects the named row; wp-admin can also disconnect itself using that site's own credential. Open full-size screenshot.

Expected result

The API key is deleted, its cache entry is invalidated, and the connected-site record becomes disconnected. Existing remote backup records, files, folders, and locks are retained; local backups on the WordPress server are untouched.

The credential revocation cannot be undone. Reconnecting authorizes a newly issued site key and may create another uniquely suffixed site folder, so confirm the new Folder fact rather than assuming it reused the retained directory.

Failure and recovery behavior

  • Disconnect failed in Dosya means the server did not confirm revocation; keep the dialog state and retry after checking the connection.
  • From wp-admin, the plug-in first tries to abort an open remote upload and disconnect remotely, then clears the locally stored key even if that remote call fails. If the page returns to Store copies in dosya, reconnect before expecting another off-site copy.
  • If Dosya later reports This site was disconnected from dosya.dev, select Connect again. The backups already held by Dosya remain safe while uploads are paused.
  • Disconnecting does not cancel WordPress’s local schedule. Scheduled jobs can continue creating server-only backups until you set Automatic backups to Off on the Schedule tab.

Was this helpful?

Loading helpfulness results…

Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.

Questions and replies

Ask about the steps in this guide. Questions are reviewed before publication.

Keep account details, credentials and private files out of public questions. Use private support for those.

Loading questions…

    Sign in to your Dosya account to ask a question.

    Check the outcome before you retry

    Use these shared checks when a task needs a second look.