> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mainwp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect pCloud to Built-In Backups

> Authorize a US or EU pCloud account in MainWP Dashboard, assign it to a built-in backup task, and restore the connection if pCloud refuses access.

MainWP Dashboard 6.4.2 and later can upload Built-In Backups to pCloud. Connect your pCloud account on the Dashboard, then assign the destination to the backup tasks that should send copies there.

## Connect and Test pCloud

**1. Add a pCloud destination**

Open **Backups > Storage** and click **Add Storage Destination**. Enter a **Destination name** and choose **pCloud** as the **Provider**. Enter a **Folder** such as `MainWP Backups`, or leave it blank to use the account root. MainWP creates the folder if it is missing when you test and save the destination.

**2. Authorize the connection**

Click **Connect pCloud**. Sign in and approve access in the new tab, then copy the code pCloud displays.

**3. Paste the code and save**

Return to MainWP, paste the code into **Authorization code**, and click **Test Connection & Save**. Use this button to redeem the one-time code. If it is rejected or has already been used, get a new one with **Connect pCloud**.

MainWP detects whether your account uses pCloud's US or EU region. Check the region, folder, and connected account in **Backups > Storage**. The destination shows the account email when pCloud supplies it.

**4. Send a test backup**

Edit a backup task and select the pCloud destination under **Upload to storage**. Save the task, click **Run Now**, and check the [snapshot's upload status](https://docs.mainwp.com/sites/backups/manage-backups.md#check-backup-status).

Watch MainWP's walkthrough to see how to authorize pCloud, assign it to a backup task, and check that the upload completes.

[How to Use pCloud with MainWP Built-In Backups](https://www.youtube.com/embed/NU4IhIs46MI)

## Reconnect or Change Accounts

Leave **Authorization code** empty when editing a destination to keep its current connection. To reconnect, click **Connect pCloud** and save a fresh code. pCloud allows one MainWP connection per account. Connecting the same pCloud account from a second Dashboard disconnects the first.

If you authorize a different account, MainWP asks you to confirm the switch. Existing backup files stay in the previous account. This destination can no longer use those files for restores or cleanup after the switch.

To revoke access, open pCloud and remove **MainWP Dashboard** under **Settings > Linked Accounts > Linked Apps**. Deleting the destination in MainWP does not revoke access in pCloud.

When MainWP prunes copies from pCloud, pCloud moves them to Trash. Recovery time depends on your plan and available Trash space. When Trash fills up, pCloud clears the oldest files first. See [pCloud's Trash guidance](https://blog.pcloud.com/know-your-trash/).

## Use Your Own pCloud App

MainWP uses its own pCloud app by default. To use your app, set both constants in the Dashboard site's `wp-config.php`, before the line that loads `wp-settings.php`:

```php theme={null}
define( 'MAINWP_PCLOUD_CLIENT_ID', 'your-pcloud-client-id' );
define( 'MAINWP_PCLOUD_CLIENT_SECRET', 'your-pcloud-client-secret' );
```

To move an existing destination to your app, click **Connect pCloud** and save a new code. The existing destination keeps using its current authorization until you reconnect it.

## Troubleshoot Uploads

| Message | What to do |
| - | - |
| pCloud refused the saved access | Edit the destination and reconnect it with a new authorization code. |
| pCloud storage quota exceeded | Free up space in pCloud, then run the backup again. Check pCloud Trash if you recently removed backup copies. |

For other upload errors, see [Built-In Backups troubleshooting](https://docs.mainwp.com/sites/backups/manage-backups.md#troubleshooting-and-limitations).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.