# Move from Cloudways

> Export a WordPress application from Cloudways, hand it to WP Waterfall's free migration, and switch the domain.

Source: https://docs.wpwaterfall.com/migrate/from-cloudways

To move a WordPress application from Cloudways, export one archive over SSH, give WP Waterfall a link to it, review the site on staging, then switch the domain.

## What you need

- The Cloudways server and application, with SFTP or SSH access, and a WordPress admin login.
- A free site license, and a backup file in a format that [Migrate a site to WP Waterfall](https://docs.wpwaterfall.com/migrate-a-site#what-do-i-need) lists.

## Export your site from Cloudways

1. In the Cloudways Platform, copy the server's master credentials. The master user has SFTP and SSH. An application user has SFTP only, unless you turn on SSH in the application settings.
2. Run `ssh MASTER_USER@SERVER_IP`, then `ls ~/applications` to find your application's folder.
3. Export the database and archive the files:

```
cd ~/applications/APP_FOLDER/public_html
wp db export --add-drop-table ../site.sql
tar -czf ~/site-export.tar.gz --exclude=wp-content/cache -C .. site.sql -C public_html wp-content
rm ../site.sql
```

4. Download `site-export.tar.gz` over SFTP, then delete it from the server.

## Prepare the archive

Remove Breeze before you archive. It leaves an `advanced-cache.php`, which sends the migration to a person for a look.

## What does not move?

Besides [the usual list](https://docs.wpwaterfall.com/migrate-a-site#what-moves-and-what-do-i-set-up-again), these stay behind:

- Breeze, Varnish, and Redis setup. Set up caching again.
- Constants such as `WP_REDIS_CONFIG`. Recreate them in the **Environment variables** card on **Info**.

## Request the migration and switch the domain

Share the file as a public link, then follow [Migrate a site to WP Waterfall](https://docs.wpwaterfall.com/migrate-a-site) to request the migration. That article also covers what moves, what you set up again, how to switch the domain, and how to roll back. Use your live address as the first domain.

## Troubleshooting

- The export times out or the archive is too big: leave out cache and old backups.
- White screen: a leftover Breeze or Object Cache Pro folder. Remove it and send a new link.

## Related

- [Migrate a site to WP Waterfall](https://docs.wpwaterfall.com/migrate-a-site)
- [Move it by hand](https://docs.wpwaterfall.com/migrate/from-generic-wordpress)
- [See how WP Waterfall compares](https://wpwaterfall.com/compare/cloudways)
- [Cloudways support](https://support.cloudways.com/)
