I) Installation & settings |
|
Upload the webcronsave.php script to the root of your webserver.
1 - Launch the script with your internet browser : http://www.yourwebsite.dom/webcronsave.php
|
|
2 - Choose the language you prefer
|
 |
|
3 - Follow the on screen instructions:
-
- 1 - Create the webcronsave directory in the webroot.
- 2 - CHMOD the permissions to 777 or 755 (if the server does not support 777 on scripts).
|
 |
|
4 - When the directory has been created, it's time to do complete the authentication configuration:
-
1 - Enter your email (To sent reports)
-
2 - Your login and password
-
3 - Your identification mode, basic with a .htaccess or by URL(With GET variable).
Basic mode is recommended but for some servers this function does not work.
A scan of your PHP configuration will show you the status of certain webcronsave functions (As the compression function which needs the PECL extension installed).
|
 |
|
5 - 'Basic' identification
|
 |
|
|
 |
|
Configuration
Configure your backup and launch manually or by Webcron.org cronjob.
|
|
1 - After installing and configuring Webcronsave, you can start the real work! The 'Main menu' contains three areas:
- Configuration/Administration
- Manually Backup
- Manually Restore
|
 |
II) Administration area |
* Configuration : Webcronsave |
|
This screen contain the information entered when you first accessed Webcronsave. You can change them whenever you want.
|
 |
* Configuration : Database |
|
1 - Yes or No. Activates or disables the database backup when accessed via 'savewebcron' crontab execution.
2 - MySql Information to make a connection to your database. Server hostname, user name, password and name of database to backup.
3 - Choose which backups you want to keep locally.
(Example: You choose to keep the backup of the day before. When the script runs on the 24th, it will keep the backuop of the 23rd. On the 25th. the backup of the 23rd. will be removed and the one of the 24th. will be kept)
|
This panel allows you to configure your database backup
|
|
After you have entered the configuration information for your database, you will see, during 5 seconds, a screen that tests the entered information.If the database connection could be established you will be redirected to the same page as before to select what tables you want to backup.
|
 |
|
Select the tables you want to be included in the backup. Click on "All Yes" / "All No" to select all or unselect all tables at once.
|
 |
* Configuration : FTP |
|
If you want the backups to be send to an FTP server, you should complete this configuration screen.
1 - Path to the directory where you want to store the backup(s). This should be the path starting from the directory where youarrive after establishing an FTP connection.
2 - FTP information to establish the FTP connection with a remote server:
- ftp adress(IP or ftp.mydomain.me), ftp username, ftp password
3 - Select which backups you want to be sent to this remote FTP server.
|
 |
* Configuration : Files |
|
This panel allows you to configure the backup of all your files and directories. THIS ONLY WORKS WHEN YOU HAVE THE PECL EXTENSION INSTALLED. The directories and files will be compressed as a .zip and can be send to an FTP server or kept locally. You can as well save all file permissions of all files and directories. This makes the restoring process very fast and simple.
Select what you want to backup (files & folders and/or file permissions).
Choose which backups you want to keep locally.
(Example: You choose to
keep the backup of the day before. When the script runs on the 24th, it
will keep the backuop of the 23rd. On the 25th. the backup of the 23rd.
will be removed and the one of the 24th. will be kept)
Restore configuration. For properly restoring the file permissions, you need to enter the FTP server and login + password of the server where you want to restore these permissions. Normally, these are the same as the one you used to upload the webcronsave script.
Path to the directory where the webcronsave script is located (the webroot).
|
 |
III) Backup area |
|
1 - Backup of Files and Directories
Click on the button to make a backup of the files and directories. The generated zip file have todays date in it and can be found in the webcronsave directory. NOTE: This script does not send your backup to an FT server.
|
 |
|
2 - Backup of File permissions
Click on the button to make a backup of all file permissions. The backup file will be stored in the webcronsave directory and named chmod_file_backup.txt
|
 |
|
3 - Backup of Database
Click on the button to make a backup of the database. This backup will be stored in the webcronsave directory and it's name contains the current date.
|
 |
IV) Restore area
|
|
1 - Restore File permissions
Click on the button to restore file permissions found in the file chmod_file_backup.txt which should be located in the webcronsave directory. The file permissions will be restored on the server configured in the administration area.
|
 |
|
2 - Restore Database
Click on the button to restore the database. This will restore the last backup found in the webcronsave directory.
|
 |
|
To activate your daily, weekly or monthly backup, make a new cronjob on webcron.org with below URL :
|
|
http://www.yourwebsite.dom/webcronsave.php?action=savewebcron
|
|