Asdaq, If you want to use Powershell, you could use the following script. I schedule it run every night where it creates a hotcopy. If you want to restore this hotcopy, you have to turn the VisualSVN service off, restore the hotcopy contents and restart the VisualSVN service.
# ============================================================================ = # Subversion Backup # ============================================================================ = # Function: Backup Subversion source control # Created: 1/28/2009 # ============================================================================ = # Purpose: Backup MyApp subversion library # Source: C:\VisualSVN_repo\MyApp # Destination: Hotcopy - C:\PrivateData\Backup # ============================================================================ = $date = get-Date -uformat "%Y%m%d.%H.%M.%S" $reposDir = "C:\VisualSVN_repo\MyApp" $backupDir = "C:\PrivateData\Backup" $backup_name = "MyApp_hotcopy_" + $date $backup_set = $backup_name + ".bak" cd "C:\VisualSVNServer\bin" ./svnadmin.exe hotcopy $reposDir $backupDir\$backup_set --clean-logs -----Original Message----- From: visualsvn@googlegroups.com [mailto:visual...@googlegroups.com] On Behalf Of Asdaq Sent: Thursday, February 19, 2009 10:35 PM To: VisualSVN Subject: Re: How to do automatic backup of repository The references you discussed here are Linux based environment. I am Microsoft Window OS user. Please guide me how to use svnadmin utility in Windows. If my repository is name is XYZ and reside at D:\Repositories\XYZ How I do manual backup using command prompt. & and then restore that dump. Please define both syntax for windows based OS. Thanks. VisualSVN Support wrote: > Hi! > Thank you for using VisualSVN Server! > > Please consider the following topics: > - our Knowledge Base article "Backing Up Repositories in VisualSVN > Server" at http://www.visualsvn.com/support/topic/00012/, > - Subversion book:http://svnbook.red-bean.com/en/1.5/svn.ref.svnadmin.c.dump.html, > http://svnbook.red-bean.com/en/1.5/svn.ref.svnadmin.c.load.html. > > The backup question is also disscussed in our Google Groups topic at > http://groups.google.com/group/visualsvn/browse_thread/thread/2ea70533c09349 e9. > > Please don't hesitate to ask any further assistance. > > On Thu, Feb 19, 2009 at 5:25 PM, Asdaq <asdaqma...@gmail.com> wrote: > > > > How to schedule the automatic backups of repositories. > > I didnt find any function in VisualSVN server. > > & also to restore the backup in case of disaster. > > > > Please guide me in this regard. > > > > > > -- > Olga Dolidze > VisualSVN Support