Hosting backups
An important part of running a web store is creating backups of the store. A backup is an image of the current state of the store. It is advisable to set up the creation of backups as a routine according to a schedule, so-called "scheduled backups". Manual backups, on the other hand, are recommended before the following actions:
- Before performing Shopware updates or upgrades
- Before the implementation of new features or the use of plugins
Preparation
First log in to the Customer Center at account.creoline.com and navigate to the menu item → Hosting tariffs, here to the Websites & Domains tab and then click on the Backup and Restore link. The Backup Manager is the starting point for the following actions.
Create backup
First navigate to the Backup Manager and click on the Create backup button.
Before creating the backup, you can customize the content to be backed up, the type of backup and the storage location. You can also add a note to the backup, which makes it easier to assign it later.
Before creating the backup, you have the option of customizing the following backup options.
-
Backup from
The content of your website to be backed up can be selected here.
-
Save to
If remote storage is available, it can be configured here.
-
Type
If a backup is created for a website for the first time, it is created as a full backup.
- Full
Each time you create a backup, it will contain all data regardless of when the data was last updated.
- Incremental
An incremental backup only contains the data that has been changed since the last backup was created.
Incremental backups not only reduce the duration of the backup process, but also the storage space occupied by the backup files.
-
Exclude log files
Backing up logs makes sense in exceptional cases, but as a rule they can be excluded from the backup.
Customize the backup as desired and then click on the OK button to start the backup process. Depending on the size of the files to be backed up, this process may take some time.
Once the backup has been successfully created, this is displayed in the Backup Manager.
Create scheduled backups
Before creating a scheduled backup, the Backup Manager offers the following customization options in addition to those already known:
-
Enable this backup task
The content of your website to be backed up can be selected here. Execute the backup task
If a backup is created on a weekly basis, an execution time between 00:00 and 04:00 is recommended.
-
Use incremental backup
Use an incremental backup to back up web and email hosting data that has been changed since the last backup (database data is always backed up completely).
Customize the backup as desired and then click the OK button to start the backup process. Depending on the size of the files to be backed up, this process may take some time.
Restore backup
To restore a backup, you can choose between two different types of restore:
- Selected objects
- All objects
Especially with regard to Shopware 6, there is a decisive and important difference between the two backup/restore strategies.
Example folder structure:
38201.s61661.creoline.cloud
|
| backups
| config
| shopware
|
| public
| .trash
Selected objects
In this mode, all files from the Document-Root
directory (root directory) are restored.
38201.s61661.creoline.cloud
|
| backups
| config
| shopware
|
| public <----- From this directory
| .trash
All objects
38201.s61661.creoline.cloud <----- From this directory
|
| backups
| config
| shopware
|
| public
| .trash