Cloning SugarCRM
Step 1: Clone the sugarcrm Directory There is a script "CopySugarFile.sh" , see script also in bottom. Running the Script, remember you have to provide the paths both source directory and clone directory. root@imran:~# ./sugarclone Missing First Argument: Syntax: copySugarFiles.sh /var/www/html/FROM_SUGAR_DIR /var/www/html/TO_SUGAR_DIR exited with status -1 root@imran:~# ./sugarclone /var/www/sugar /var/www/clone Compressing /var/www/sugar Sugar and saving to /home/imran/sugarFilesFromBackup201001111322.tgz Compressing /var/www/clone Sugar and saving to /home/imran/sugarFilesToBackup201001111322.tgz tar: Cowardly refusing to create an empty archive Try `tar --help' or `tar --usage' for more information. Extracting the /var/www/sugar Sugar tgz to /var/www/clone Sugar directory Script complete. Step2: Clone the Database First Create a new database for Cloning e.g clone Export the sugarcrm database using PHPMyAdmin tool e.g sugarcrm.sql Import the sugarcrm.sql data into ...