Distance logo

Distance Developers Guide

How to back up project resources

Jump down to:

Back up GitHub repository

To back up Git repositories on GitHub, use ‘git clone’ in GitBash:

git clone https://github.com/DistanceDevelopment/dsm.git

cd dsm
git branch -a
* master
remotes/origin/Distance6.2-patches
remotes/origin/HEAD -> origin/master
remotes/origin/dettablesplot
remotes/origin/master
remotes/origin/mrds3

Back up GitHub issues

To back up GitHub issues:

To back up GitHub issues via the command-line:

curl -o distance-consultancy-issues.json  https://api.github.com/repos/softwaresaved/distance-consultancy/issues

head distance-consultancy-issues.json

Back up SourceForge CVS repository

To back up the MCDS CVS repository on SourceForge, use rsync, which is supported by GitBash:

mkdir distance-sf-cvs
rsync -av rsync://distanceengines.cvs.sourceforge.net/cvsroot/distanceengines/* distance-sf-cvs

ls distance-sf-cvs
CVSROOT  foptim  mcds  mrds

cvs.exe -d "C:\Application Development\distance-sf-cvs" co mrds

Back up Bugzilla bug reports

To back up Bugzilla bug reports:

This saves the complete bug reports as an XML document. It does not save attachments.

See Bugzilla:Move Installation for how to completely back up Bugzilla. This requires access to the server upon which Bugzilla is running.