# Move from SiteGround

> Export your site from SiteGround and move it to WP Waterfall with the free migration, then switch the domain.

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

This guide is for a WordPress site on a SiteGround shared or cloud plan, managed in Site Tools. Do not use SiteGround's Migrator plugin: it moves sites into SiteGround.

## What you need

- An admin login at SiteGround and a WordPress admin login.
- Site Tools access. SiteGround's backup download needs its Premium Backup service, and the routes below work without it.
- 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 SiteGround

**Route 1: SSH and WP-CLI.**

1. Open **Site Tools**, **Dev**, **SSH Manager**, and create a key. SiteGround's docs spell this menu two ways. SSH uses port 18765.
2. Connect and go to the folder that holds `wp-config.php`.
3. Run:

```
wp db export --add-drop-table site.sql
tar -czf ~/site-export.tar.gz --exclude=wp-content/mu-plugins --exclude=wp-content/cache --exclude=wp-content/plugins/sg-cachepress --exclude=wp-content/plugins/sg-security wp-content site.sql
rm site.sql
```

**Route 2: File Manager and phpMyAdmin.** Open **Site Tools**, **Site**, **File Manager**, right-click `public_html`, choose **Archive**, and download it. Then open **Site**, **MySQL**, **phpMyAdmin** and export the database as SQL. Build one archive from `wp-content` and the `.sql` file.

**Route 3: Premium Backup.** Open **Site Tools**, **Security**, **Backups**, then **Actions**, **Download**. The link sits in **Download History** for 24 hours. The `.tar.gz` holds `home`, `mysql`, and `mail` folders, so repack only your `wp-content` and one database.

## Prepare the archive

Deactivate Speed Optimizer and purge its cache before you export. WP Waterfall leaves out `sg-cachepress` and `sg-security` on its own.

## 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. With SiteGround nameservers, edit records in **Site Tools**, **Domain**, **DNS Zone Editor**. Replace the A and AAAA records of the name with the ones the Domains tab shows. An A record works at the root.

## Troubleshooting

- phpMyAdmin export stops: use Route 1.

## 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)
- Host documentation: [Backups](https://www.siteground.com/kb/backup-service), [Manual copy](https://www.siteground.com/kb/how_can_i_create_a_full_backup_of_my_website_), [SSH](https://www.siteground.com/kb/what-is-ssh), [DNS](https://www.siteground.com/kb/manage-dns-records-site-tools)
