Cloud Platform

Exporting an application from Cloud Platform

Cloud Platform is an open software-as-a-service (SaaS) platform that doesn’t lock in your application. You can export the whole application—code, themes, database, and files—at any time to a site archive file, which you can then use to host your application locally, or use another hosting service.

Important

Acquia doesn’t recommend using the Backup and Migrate module with Cloud Platform. Learn more.

Exporting an application using Drush

Note

The following instructions are incompatible with Drush 9.

You can also use the Drush command line tool to create a portable site archive file, which you can then install on a different hosting platform if you want. The site archive file created during the export process includes your databases, themes, content, modules, website, and module configuration settings, and users. To create a site archive file:

  1. Connect to your infrastructure with SSH.
  2. Run a command similar to the following:

    drush @site.env archive-dump --destination=mysite.tar.gz
    

    where [site] is the name of your application on Cloud Platform, [env] is the Cloud Platform environment (one of prod, test, or dev), and the --destination argument is the location where you want the site archive file created.

You can then use scp or another similar tool to download the site archive file.

Did not find what you were looking for?

If this content did not answer your questions, try searching or contacting our support team for further assistance.

Acquia Help

Filter by product:

Cloud Platform common questions