Setting up backup and restore scripts (Linux)
To create backups and use them to restore your system, you need to properly set up the scripts that manage these processes. In Linux/Unix and similar operating systems, any script that is designed to be executed must have execution rights. Therefore, before using these backup scripts, you have to make sure they have the appropriate rights.
Automatic creation of a complete backup copy of your shopping cart system, including the product catalog, orders, customer accounts, settings and all files installed in your storefront directory, is performed by the Linux shell-script backup.sh, which is located in the following folder:
This script backs up all files in the shopping cart installation folder and performs a complete database backup. The resulting backup file is copied to the following folder:
The Plesk control panel example below shows how to assign script rights.
IMPORTANT! Your view may differ. The description given here is an example only.
Now, assign the appropriate rights to the files backup.sh and restore.sh. For each file, click the corresponding link in the Permissions column to open the access rights editing window:
Make sure that all checkboxes in the Execute/search mode column are selected, then click OK. Do this for each of the two files (backup.sh and restore.sh).
© 2004-2011 Pentasoft Corp. Corp. All Rights Reserved.