Installation and Setup
To install Safe Harbor there are a few simple steps to follow
- Step 1
Download the module from the members area of EEHarbor
- Step 2
Confirm your "/system/user/cache/" directory is writable from the web user on your web server as per EllisLab installation instructions
- Step 3
Copy "/system/user/safeharbor/" to "/system/user/addons/"
- Step 4
Install the module from Developer -> Add-Ons Manager
After you have installed Safe Harbor, you will be brought to the settings page. We will explain each setting below:
- Auth Code
This is the License key you will find in the member section on EEHarbor.com
- Notification Email Address
This is the email address that will receive backup status emails that are sent each time a backup is preformed. This address will also receive notifications of issues that may arise while preforming a backup.
- Local Backup Space To Use
This is the amount of space you would like to allow for backups to occupy on your local hard drive. Please note Safe Harbor requires a minimum of 2 backups to be stored on your server to operate correctly. The space allotted for local backups will have to accommodate 2 backups.
- Root path of your ExpressionEngine Install
This is the full server path of which you would like to backup.
- Server path to store backups
This is the full server path of which you want backups created by Safe Harbor to be stored. Make sure this path is writable by PHP. For ExpressionEngine 3+ we recommend leaving this as is.
- DataBase Backup Options
If available we recommend using MySQLDump as in our tests this is up to 4 times as fast as the PHP dump option. This can cut down the time it takes to run a backup significantly. It is also worth noting that in some shared hosting environments this can present a security risk. If you are running a site that is currently hosted in a shared environment it’s not a bad idea to use the PHP option.
- Cron URL
This value is automatically generated and will need to be called by your cron job to start a backup.