Apr
14
Overview:
Do an SVN hotcopy so you get all your stuff
tar up the entire directory
split and bzip the files using p7zip so they can fit on hosted drives ( 2 Gb files )
copy them to S3 or any online service
Commands:
/usr/bin/svnadmin hotcopy /path/to/svn/repository /path/to/destination
tar cvf /path/to/backup/svnbackup-`date +%Y-%m-%d`.tar /path/to/destination/*
/usr/local/bin/7z a -tbzip2 -v2g svnbackup-`date +%Y-%m-%d`.tar.bz2 /path/to/backup/svnbackup-`date +%Y-%m-%d`.tar
Copy them over [...]
Sep
26
SugarCRM 5.1 has some pretty ridiculous documentation. So for those of you interested in adding a contact via the soap api, look at the code sample.
Prerequisites
1) NuSoap Libraries: http://sourceforge.net/projects/nusoap/
Sample Code
<?php
// add nusoap library
require_once(’lib/nusoap.php’);
// create a soap client
$client = new [...]
