views:

25

answers:

1

How can I do daily backups for my VisualSVN Repos?

Its on a Windows Server 2003 machine, I was thinking about just doing an xcopy of the folder C:\Repo but I'm not familiar enough with svn to know if that will cause issues.

Save me SO!

+1  A: 

The proper approach is to use svnadmin hotcopy to create a copy of c:\Repo then archive that copy to tape or off-site storage or whatever. The Subversion Book's chapter on Repository Maintenance has more details.

Josh Kelley
So there is no way to automate it?
Landmine
Your backup software may offer a way to run processes before it runs, or you can use Windows' Scheduled Tasks feature. Automating server maintenance is more of a topic for ServerFault than StackOverflow.
Josh Kelley
Thank you for your help.
Landmine