Can I export my Subversion repository on Backlog?

We do not provide the function of exporting Subversion repositories directly from Backlog.

The Subversion repository can be exported within Subversion with the svnsync command.
Below is a sample of the steps on Linux OS:

#!/bin/bash
#
# Script to svnsync "Backlog" project repository.
#

if [ $# -ne 2 ]; then
	echo "Usage: $0 [space key] [project key]"
	exit 1;
fi

SPACE_KEY=$1
PROJECT_KEY=$2

cwd=`pwd`
hook_revprop=${PROJECT_KEY}/hooks/pre-revprop-change

svnadmin create $PROJECT_KEY
echo '#!/bin/sh' > $hook_revprop
echo 'exit 0' >>  $hook_revprop
chmod +x $hook_revprop

svnsync init file://${cwd}/${PROJECT_KEY} https://${SPACE_KEY}.backlog.com/svn/${PROJECT_KEY}
svnsync sync file://${cwd}/${PROJECT_KEY}

Back to list