This extension exports your Symphony website. It is part of the Symphony core download package.
This extension will create an installable version of your Symphony install useful for distribution. The resultant archive contains an install directory with a
workspace/install.sql files. This is how official Symphony releases are created.
The ZIP module of PHP is utilised, and is memory efficient, allowing for larger sites to be exported without the need for increasing PHP's memory limit.
This extension adds "Save Install Files" and "Download ZIP" buttons to the preferences page.
Installation & Updating
The Export Ensemble extension is able to save all tables needed to recreate the entire site, excluding sensitive author data and cache data. There are two options for creating ensembles:
Save Install Files or
Download ZIP. If you don't have the
ZipArchive module enabled for PHP, it would still be possible to manually create an ensemble.
Symphony 2.3 introduces the
install directory, and because of the complexity of the new installer, it is a requirement that a complete
install directory exist to use the Export Ensemble extension. Pull the official Git repository or download the official ZIP file for the Symphony 2.3 release if you don't already have an
Save Install Files
Click on the
Save Install Files on the
System > Preferences page to update and overwrite the following files in your Symphony install:
By saving your install files it is possible to manually create an ensemble or manage an installable Git repository of your Symphony site. A Git workflow could involve updating and committing the install files to the repository every time there are changes to the structure or data. Or when the site is completed, the install files could be saved to prepare the site to deploy to the production server, for sharing with a development team or for open source distribution, for example. (If deploying to a server, use in combination with the Dump DB extension if you would like to include author data with your project repository, as Symphony author data will not be included in an ensemble.)
Click on the
Download ZIP button to export an ensemble as a ZIP archive. All tables with the table prefix specified in the configuration settings for Symphony (see the value for the
tbl_prefix property of the
database array in
manifest/config.php) will be included in the SQL dump, excluding the following tables:
Excluded Database Tables
Excluded Configuration Settings
Excluded Files and Directories
Manually Create an Ensemble
To manually create an ensemble:
- Click on the
Save Install Filesbutton
- Copy the
- Remove all files in the
Excluded Files and Directorieslist above
- Create an archive of the
- Share your ensemble
Note: If you are using the Members extension, be sure to delete all entries in that section before saving the install files or you may be inadvertently sharing sensitive user information with your ensemble. It's up to you whether you want to share the Git repositories, but be careful that you don't include repositories that include sensitive information. Keep in mind that the workspace and each extension may also include hidden files for managing Git repositories.