Backup¶
Note
This area of the Gambio Admin is only available in self-hosted shops.
Backing up files¶
Note
This backup function is highly server-dependent. If certain requirements are not met, errors may occur here. In this case, a manual backup should be created, as described in the chapter Manual backup.
In the area Toolbox > Back up files, the shop offers the option of backing up the files from the shop directory in a ZIP archive. The two buttons Create backup and Back up images are available for this purpose. The ZIP files are stored in the directory
/admin/backups
The backup directory is displayed with the unique path above the two buttons.
The following directories (and the files contained in them) are NOT backed up via Create backup:
- cache
- admin/backups
- images
- logfiles
- uploads
- ResponsiveFilemanager/thumbs
- admin/includes/magnalister/cache
The images directory is saved via Back up images.
To create a backup of your shop files (without the images directory), click on the Create backup button. To back up the images directory, click on Back up images.
Once the respective backup has been completed, a corresponding status message is displayed at the top of the browser window. The ZIP file is listed in the table in the upper area of the window. The individual entries can be selected; on the right-hand side of the table, the selected backup can be saved locally via the Download button. By clicking on Delete, the selected archive can be removed from the backup directory; the process is confirmed by a security prompt.
Note
No customer data, content, products or orders are backed up! These are not part of the shop files, but are stored in the shop database. To back up this data, please perform a database backup, see chapter Database backup.
Note
To restore a backup, please download the corresponding file to your computer. After you have unpacked the file, upload the contents to the main directory of your shop with your FTP program.
To prevent files of different versions from being present in the shop directory, existing files should be moved to a subfolder before uploading.
Database backup¶
Note
This backup function is highly server-dependent. If certain requirements are not met, errors may occur here. In this case, a manual backup should be created, as described in the chapter Manual backup.
Under Toolbox > Database backup, backup copies of the shop database can be created. The tables are backed up in individual SQL files, which are combined in a ZIP archive. The backup is created in the directory /admin/backups.
To create a database backup, click on the Create backup button. A notification window opens in which the execution of the database backup must be confirmed. Click on Create backup here as well.
Attention
Once the backup process has been started, it must not be interrupted under any circumstances!
Note
No product images and shop files are backed up! You can download these separately with an FTP program in order to back them up locally. In addition, the backup function available in the shop can be used, see chapter Backing up files.
The unique path to the backup directory is displayed above the Create backup button. Created backups are listed in a table in the upper area of the window. By clicking on the file name or the green arrow in the corresponding row, the respective ZIP file can be downloaded and saved locally.
A created backup can be imported into the shop database via the Restore button.
Attention
During the restore process, the database is completely rebuilt from the created backup. All changes made since the time of the backup are irretrievably lost!
By clicking on the red cross, the respective backup can be removed from the backup directory.