RE: Regarding SVN backup
From: Mark Irving <Mark.Irving_at_informatix.co.uk>
Date: Wed, 18 Nov 2009 02:43:25 -0800 (PST)
Archana Kachole asks
> Will copyin SVN folder to another location create a backup or is there any mechanism to take SVN backup so that restoring would be simple and complete (without any problem).
There are at least three answers to this question.
(1) For repository backup, read the Subversion book:
(2) You can back up a working copy as an ordinary Windows file-system directory tree. The backup must include the hidden ".svn" sub-folders. This sort of backup includes all your derived data (such as object and executable files), so, once restored, you should be able to continue work exactly where you stopped before the backup was taken. It can be used by the Subversion command-line client as well as by TortoiseSVN.
(3) My own working-copy backups are done by creating a Subversion patch, using a command-line Subversion client (not TortoiseSVN)
svn diff C:\Users\my\wc > \\network\backup\wc.patch 2>> batch.log
These don't include any files apart from those I might have committed, and cannot represent renames. When I need to restore a lost working copy, I have to make a clean new checkout, apply my backup patch, and then build. I'm happy to live with these restrictions (because my backups typically need less than a minute and a megabyte, rather than the long wait and a few gigabytes which I'd otherwise need). If you are not, then use method (2).
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
This is an archived mail posted to the TortoiseSVN Users mailing list.