nandos
nandos

Reputation: 1207

How to copy a repository from Unfuddle to a local SVN server?

I currently have a couple of SVN repositories hosted at Unfuddle and I'd like to have a local copy of the repositories as a backup. Ideally, it would be a "live" backup so my local repository would "ping" the remote repository, and if any changes were detected, the changes would be applied to my local repository.

Has anyone tried this before? If so, what tools were used to accomplish the job?

Thanks.

Upvotes: 4

Views: 2580

Answers (3)

CesarB
CesarB

Reputation: 45555

Try svnsync, which creates a full mirror of the repository. svnsync sync will download only the new revisions. There's also a svn-mirror, which does the same thing.

Git's git-svn is also an option.

I already used both svnsync and git-svn.

Upvotes: 4

nickf
nickf

Reputation: 546075

To create a copy of your repository (ie: with all revisions intact), I think that you might have to do a full backup/download/restore cycle. There are ways to do an incremental copy of a repository (via svnadmin dump or svnadmin hotcopy), but I doubt that Unfuddle will give you access to these.

Upvotes: 0

David Brown
David Brown

Reputation: 36239

I would just make a Scheduled Task that runs a PowerShell script/BAT file to execute a svn update for each of your repositories.

Upvotes: 0

Related Questions