Backup and Restore FAQ: Difference between revisions
No edit summary |
|||
Line 14: | Line 14: | ||
When using the CommitCRM system, users can perform a '''partial backup''', which backs up the CommitCRM database only, or a '''full backup''', which saves the entire CommitCRM system. | When using the CommitCRM system, users can perform a '''partial backup''', which backs up the CommitCRM database only, or a '''full backup''', which saves the entire CommitCRM system. | ||
CommitCRM comes with a special utility to back up the CommitCRM databases (providing a partial-backup which saves the the database only). To access this backup utility, go to Tools > Backup menu, and follow the steps. This process will back up the database files that are located in the <server>\ | CommitCRM comes with a special utility to back up the CommitCRM databases (providing a partial-backup which saves the the database only). To access this backup utility, go to Tools > Backup menu, and follow the steps. This process will back up the database files that are located in the <server>\CommitCRM\Db and <server>\CommitCRM\DbSys folders. | ||
<u>Note:</u> This backup creates a zip file in the <server>\ | <u>Note:</u> This backup creates a zip file in the <server>\CommitCRM\Utils folder that contains CommitCRM-specific files only. It does not back up your linked documents, which should be backed up separately. | ||
We also recommend that users occasionally perform a full backup, which saves the entire CommitCRM server folder and all its subfolders. This type of backup must be done using external tools. A full backup will enable you to restore the files much faster should you need to do so in an emergency situation. | We also recommend that users occasionally perform a full backup, which saves the entire CommitCRM server folder and all its subfolders. This type of backup must be done using external tools. A full backup will enable you to restore the files much faster should you need to do so in an emergency situation. | ||
Line 30: | Line 30: | ||
===Is there a way to perform a live backup (Backup your data while the system is in use)=== | ===Is there a way to perform a live backup (Backup your data while the system is in use)=== | ||
Yes, CommitCRM comes with a Live Backup option, when using | Yes, CommitCRM comes with a Live Backup option, when using CommitCRM SQL Database. | ||
When using the Live Backup, there is no need to stop users and services from working while performing a backup. Everyone can continue working as usual while the backup is performed in the background. | When using the Live Backup, there is no need to stop users and services from working while performing a backup. Everyone can continue working as usual while the backup is performed in the background. | ||
Note that the Live Backup requires [http://www.commitcrm.com/sql_database_server.htm | Note that the Live Backup requires [http://www.commitcrm.com/sql_database_server.htm CommitCRM SQL Database]. | ||
To perform a live backup administrators should run the \ | To perform a live backup administrators should run the \CommitCRM\Utils\CommitBackup.exe with a special parameter which tells the system to perform a live backup. | ||
In order to fully automate Live Backups you should use Windows Task Scheduler procedure and add a recurring Task that runs the backup utility. | In order to fully automate Live Backups you should use Windows Task Scheduler procedure and add a recurring Task that runs the backup utility. | ||
For more details and instructions, refer to \ | For more details and instructions, refer to \CommitCRM\Utils\CommitBackup.ini | ||
'''Important: Live back does not come instead of other backup methods. You still need to backup your CommitCRM system as you have so far. | '''Important: Live back does not come instead of other backup methods. You still need to backup your CommitCRM system as you have so far. | ||
Line 46: | Line 46: | ||
===Which folders should be backed up?=== | ===Which folders should be backed up?=== | ||
Back up all folders under <server>\ | Back up all folders under <server>\CommitCRM. The most important folders are called “CommitCRM\Db” and “CommitCRM\DbSys,” which is where all CommitCRM-specific data is stored. You should also back up all your documents. | ||
===How do I restore a backup?=== | ===How do I restore a backup?=== | ||
Line 62: | Line 62: | ||
#Run the CommitCRM application once (use any user as this is a fresh setup) | #Run the CommitCRM application once (use any user as this is a fresh setup) | ||
#Close the CommitCRM session. | #Close the CommitCRM session. | ||
#Rename the <server>\ | #Rename the <server>\CommitCRM\Db folder to <server>\CommitCRM\Db-Not-In-Use. | ||
#Rename the <server>\ | #Rename the <server>\CommitCRM\DbSys folder to <server>\CommitCRM\DbSys-Not-In-Use. | ||
#From the backup, copy the \ | #From the backup, copy the \CommitCRM\Db and \CommitCRM\DbSys folders to <server>\CommitCRM\Db and <server>\CommitCRM\DbSys. | ||
CommitCRM will now be ready for use at the exact point when the backup was done. | CommitCRM will now be ready for use at the exact point when the backup was done. | ||
Line 72: | Line 72: | ||
To restore a partial backup: | To restore a partial backup: | ||
#Rename the <server>\ | #Rename the <server>\CommitCRM\Db folder to Db-Not-In-Use. | ||
#Rename the <server>\ | #Rename the <server>\CommitCRM\DbSys folder to DbSys-Not-In-Use. | ||
#From the backup-file, copy the Db and DbSys folders to <server>\ | #From the backup-file, copy the Db and DbSys folders to <server>\CommitCRM\Db and <server>\CommitCRM\DbSys. | ||
CommitCRM will now be ready for use at the exact point when the backup was done. | CommitCRM will now be ready for use at the exact point when the backup was done. | ||
Line 80: | Line 80: | ||
<br> | <br> | ||
===I've just restored CommitCRM onto a new computer, and the client gives me an error when I log in; What am I doing wrong?=== | ===I've just restored CommitCRM onto a new computer, and the client gives me an error when I log in; What am I doing wrong?=== | ||
Procedure halted due to data server error.<br>Verify server is operating and this computer has access to the server folder.<br>(C:\ | Procedure halted due to data server error.<br>Verify server is operating and this computer has access to the server folder.<br>(C:\CommitCRM\DB) | ||
When restoring CommitCRM onto a new computer from a backup archive, the next step is to verify that the path in the error message exists, and has the database files in it and test a single CommitCRM client application from the server that CommitCRM is installed on. If running the client from the server itself produces an error report like the error above, then the issue may very well be caused by not installing the | When restoring CommitCRM onto a new computer from a backup archive, the next step is to verify that the path in the error message exists, and has the database files in it and test a single CommitCRM client application from the server that CommitCRM is installed on. If running the client from the server itself produces an error report like the error above, then the issue may very well be caused by not installing the CommitCRM SQL Database. | ||
If your system is licensed for the | If your system is licensed for the CommitCRM SQL Database, then follow the steps in the '''[[Commit_SQL_Database_Installation_Guide|CommitCRM SQL Database installation page]]''', and then continue to the '''[[Commit_SQL_Database_Troubleshooting|this Troubleshooter]]''' to resolve it.<br> | ||
<br> | <br> | ||
[[Category:FAQ]] | [[Category:FAQ]] | ||
__NOTOC__ | __NOTOC__ |
Revision as of 10:27, 1 September 2013
Questions
- How can I backup my data within the CommitCRM system?
- Can I backup CommitCRM using external tools?
- Is there a way to perform a live backup (Backup your data while the system is in use)
- Which folders should be backed up?
- How do I restore a backup?
- I've just restored CommitCRM onto a new computer and the client gives me an error when I log in. What am i doing wrong?
How can I backup my data within the CommitCRM system?
When using the CommitCRM system, users can perform a partial backup, which backs up the CommitCRM database only, or a full backup, which saves the entire CommitCRM system.
CommitCRM comes with a special utility to back up the CommitCRM databases (providing a partial-backup which saves the the database only). To access this backup utility, go to Tools > Backup menu, and follow the steps. This process will back up the database files that are located in the <server>\CommitCRM\Db and <server>\CommitCRM\DbSys folders.
Note: This backup creates a zip file in the <server>\CommitCRM\Utils folder that contains CommitCRM-specific files only. It does not back up your linked documents, which should be backed up separately.
We also recommend that users occasionally perform a full backup, which saves the entire CommitCRM server folder and all its subfolders. This type of backup must be done using external tools. A full backup will enable you to restore the files much faster should you need to do so in an emergency situation.
It is recommended to copy the backup file to another hard disk, computer, or media.
Can I backup CommitCRM using external tools?
Yes. It is recommended to back up the entire CommitCRM server folder and all its subfolders on occasion. This will enable you to restore the files much faster should you need to do so. Any backup utility/program should work, such as the standard tape backup, zip, rar, etc.
Note: Make sure that no one is using CommitCRM during a full backup.
Is there a way to perform a live backup (Backup your data while the system is in use)
Yes, CommitCRM comes with a Live Backup option, when using CommitCRM SQL Database.
When using the Live Backup, there is no need to stop users and services from working while performing a backup. Everyone can continue working as usual while the backup is performed in the background.
Note that the Live Backup requires CommitCRM SQL Database.
To perform a live backup administrators should run the \CommitCRM\Utils\CommitBackup.exe with a special parameter which tells the system to perform a live backup.
In order to fully automate Live Backups you should use Windows Task Scheduler procedure and add a recurring Task that runs the backup utility.
For more details and instructions, refer to \CommitCRM\Utils\CommitBackup.ini
Important: Live back does not come instead of other backup methods. You still need to backup your CommitCRM system as you have so far.
Which folders should be backed up?
Back up all folders under <server>\CommitCRM. The most important folders are called “CommitCRM\Db” and “CommitCRM\DbSys,” which is where all CommitCRM-specific data is stored. You should also back up all your documents.
How do I restore a backup?
You can restore the CommitCRM system using the partial-backup files (database only) or the full-backup files.
To restore the full system using full-backup files:
To restore from a full backup (i.e. a backup file which includes the CommitCRM installation folder and all sub-folders), please follow these instructions. This includes restoring the files and installing any services if they were used.
CommitCRM will now be ready for use at the exact point when the backup was done.
To restore the full system using a partial-backup (database-only) files:
- Download and install a fresh trial version of CommitCRM. Make sure to use the exact same version as you have been using until now, otherwise there will be version mismatch when restoring the database.
- Install it to the original path where CommitCRM was installed on your server originally.
- Run the CommitCRM application once (use any user as this is a fresh setup)
- Close the CommitCRM session.
- Rename the <server>\CommitCRM\Db folder to <server>\CommitCRM\Db-Not-In-Use.
- Rename the <server>\CommitCRM\DbSys folder to <server>\CommitCRM\DbSys-Not-In-Use.
- From the backup, copy the \CommitCRM\Db and \CommitCRM\DbSys folders to <server>\CommitCRM\Db and <server>\CommitCRM\DbSys.
CommitCRM will now be ready for use at the exact point when the backup was done.
To restore from a backup only in order to revert changes in the database:
Should you need to restore a backup to revert changes, your current CommitCRM installation can still be used. You just need to replace the database files.
To restore a partial backup:
- Rename the <server>\CommitCRM\Db folder to Db-Not-In-Use.
- Rename the <server>\CommitCRM\DbSys folder to DbSys-Not-In-Use.
- From the backup-file, copy the Db and DbSys folders to <server>\CommitCRM\Db and <server>\CommitCRM\DbSys.
CommitCRM will now be ready for use at the exact point when the backup was done.
I've just restored CommitCRM onto a new computer, and the client gives me an error when I log in; What am I doing wrong?
Procedure halted due to data server error.
Verify server is operating and this computer has access to the server folder.
(C:\CommitCRM\DB)
When restoring CommitCRM onto a new computer from a backup archive, the next step is to verify that the path in the error message exists, and has the database files in it and test a single CommitCRM client application from the server that CommitCRM is installed on. If running the client from the server itself produces an error report like the error above, then the issue may very well be caused by not installing the CommitCRM SQL Database.
If your system is licensed for the CommitCRM SQL Database, then follow the steps in the CommitCRM SQL Database installation page, and then continue to the this Troubleshooter to resolve it.