This SugarCRM backup scheme (tested on v5.2) was developed with help from several online tutorials. The concept is to generate daily and weekly file backups of the SugarCRM file structure, excluding the upload directory which contained too many email attachments (mostly spam) at the time. These shell scripts assume your SugarCRM install is located at /var/www/html, make the necessary changes to the paths. Also, remember to setup the actual CRON for these shell scripts.
SugarCRM Backup
Place two files into directory /usr/local/bin
#!/bin/bash
# crmfbweekly:
# consists of three lines: one to find the modified files, and then two to tar and gzip them
find … Continue reading SugarCRM Backup Scheme
