vtiger510:Module Backup Server
From http://wiki.vtiger.com/archives
| Faq | Howto |
Contents |
Backup feature
About
vtiger CRM has a built in feature which allows to backup important crm resources like user_privileges,storage,database into a file.This has been incorporated to provide security to crm resources if the system crashes or it doesn't behaves appropriately.
Feature
This feature basically allows the Admin user to set a backup path on the server and save backup of the files and folders each time he needs using a button Backup Now available at backup server page in Settings module or vtigerCRM system will take backup upon logout.
Configuring Backup Server
Go to Settings Tab - Click Backup Server (Under Other Settings)
Local Machine Setup
To take backups on the same server (as vtiger), check Enable Backup Server(Local) option and give the local path.
The local path is the system which you are using.
An example of local path would be: Windows: C:\Program Files\vtigercrm-5.1.0\apache\htdocs\vtigerCRM\backup(If the installation path is this). *Unix: /var/www/backups
FTP Setup
To take backup of Server on different machine, Check Enable Backup Server(FTP)and give details of Server Address,User Name and Password .
Server Address - The ip of the system where backup occurs.
User Name - Administrator name of that Server.
Password - Corresponding Password.
An example of FTP setup would be: Server Address - 198.168.03.48 User Name - Micheal Password - *****
| NOTE:
Usually the backup file will be in following format sqlbackup_date_time.sql |
For example - sqlbackup_20090707_091314.sql
Restoring from Backup
- To use the backup file just copy and paste backup file into the vtiger source directory:
For example - extract backup_20090707_091314.zip into C:\ProgramFiles\vtigercrm-5.1.0-RC\apache\htdocs\ vtigerCRM
- Then restore data from the SQL dump file.
How to take Back up Automatically
You can take automatic back up if you are using vtiger version >= 5.2.0. To take automatic back up you have to set cron job for following file
vtigerCRM/cron/modules/VtigerBackup/VtigerBackup.sh (In Linux)
vtigerCRM/cron/modules/VtigerBackup/VtigerBackup.bat (In Windows)
(Refer to How to setup cron job documentation for details)
Screen shots
- Local Backup Enabled
- FTP Backup Enabled




