Once you have your migration project’s codebase in the correct format for Silverstripe Cloud and carried out your first deployment you’ll have an empty content copy of your website. Next you’ll want to migrate your live content.
The Silverstripe Cloud uses a content package called a “Snapshot” that packages together both the database and your “assets” folder containing your images and files.
You will need to do the following:
- Ensure you can run your project locally with the new Cloud compatible setup detailed in this documentation.
- Install the command line tool called
SSPak
(Note: this only works on Mac OSX and Linux operating systems). - Use SSPak to bundle a *.sspak package file for your website (database and assets).
- Login to the Silverstripe Cloud dashboard, go to the Stack > Snapshots section.
- Upload your sspak file into a new snapshot.
- Restore the snapshot to your server (usually UAT/Testing first, then to production).
See Development > Snapshots for more details