<p>I have a svn repo on my machine (Windows). Anyone have a script to back it up to a network share?</p>

<p>I'm using the repo locally since I'm disconnected a lot. The network share is on a server with a backup strategy. I'm a perfect candidate for git/hg but I don't want to give up my VS integration just yet.</p>

[{'answer_id': 20408, 'author': 'Jedi Master Spooky', 'author_id': 1154, 'author_profile': 'https://Stackoverflow.com/users/1154', 'pm_score': 2, 'selected': False, 'text': '<p>svnadmin dump C:\\SVNRepositorio\\Repositorio > \\\\Backups\\BkTmpSubversion\\subversiontemp.dump</p>\n\n<p>Try this.</p>\n'}, {'answer_id': 20444, 'author': 'BCS', 'author_id': 1343, 'author_profile': 'https://Stackoverflow.com/users/1343', 'pm_score': 2, 'selected': False, 'text': '<blockquote>\n  <p>svnadmin dump C:\\SVNRepositorio\\Repositorio > \\Backups\\BkTmpSubversion\\subversiontemp.dump</p>\n</blockquote>\n\n<p>ditto Spooky\'s reply ^^</p>\n\n<p>On linux you might try adding "| gzip" in the middle</p>\n\n<p>also take a look at the --incremental &amp; --deltas flags</p>\n\n<hr>\n\n<p>sparkes: For some values of "My machine" that won\'t be local.</p>\n\n<p>Also If you are using SVN for non commercial reasons (I have all my homework from collage checked into a SVN) you might not <em>have</em> a backup system.</p>\n'}, {'answer_id': 20453, 'author': 'jonezy', 'author_id': 2272, 'author_profile': 'https://Stackoverflow.com/users/2272', 'pm_score': 3, 'selected': True, 'text': '<p>I wrote a batch file to do this for a bunch of repos, you could just hook that batch file up to windows scheduler and run it on a schedule.</p>\n\n<pre><code>svnadmin hotcopy m:\\Source\\Q4Press\\Repo m:\\SvnOut\\Q4Press\n</code></pre>\n\n<p>I use the hotcopy but the svn dump would work just as well.</p>\n'}]
['https://Stackoverflow.com/questions/20391', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1946/']