Re: Query regarding complete backup of a repository with revision history.

2010-11-08 Thread Ryan Schmidt

On Nov 8, 2010, at 01:50, Rajnish Kumar Singh wrote:

 I have to copy the entire repository to a new server with revision history.
  
 According to my knowledge there are 2 ways:
 1)  We can use svnadmin dump command to create the dump and again reload 
 it by svnadmin load.

Yes, this is a good method that many people use. Note that there are several 
possibilities, from dumping the entire repository, to just dumping selected 
revisions, and either dumping each revision's contents in its entirety or 
incrementally using deltas.

 2)  Or else can I copy the entire repository from the SVN server( located 
 at D:\repositories\OR1221) and save it on other location. And after sometime 
 if I want the repository again then I will place it back to the SVN server.  
 So will it give the same results (i.e with complete revision).

Instead of copying the repository manually, you should use svnadmin hotcopy; 
it will do so in the correct order that will yield a consistent valid 
repository.

A third option is to use svnsync.

svnsync and using dump and load will not copy the repository configuration 
files or hook scripts or preserve locks. I believe a hotcopy will preserve 
those. You may want to test all three methods to see which is right for you.




Re: Query regarding complete backup of a repository with revision history.

2010-11-07 Thread vishwajeet singh
On Mon, Nov 8, 2010 at 1:20 PM, Rajnish Kumar Singh 
rajnish.k.si...@kpitcummins.com wrote:

  Hi Team,



 I have to copy the entire repository to a new server with revision history.



 According to my knowledge there are 2 ways:

 1)  We can use svnadmin dump command to create the dump and again
 reload it by svnadmin load.

 2)  Or else can I copy the entire repository from the SVN server(
 located at D:\repositories\OR1221) and save it on other location. And after
 sometime if I want the repository again then I will place it back to the SVN
 server.  So will it give the same results (i.e with complete revision).

Yes it will provided you are not changing architecture or OS of the server.

 Please resolve my query.



 *Thanks  Regards, *

 *Rajnish Singh*

 This message contains information that may be privileged or confidential
 and is the property of the KPIT Cummins Infosystems Ltd. It is intended only
 for the person to whom it is addressed. If you are not the intended
 recipient, you are not authorized to read, print, retain copy, disseminate,
 distribute, or use this message or any part thereof. If you receive this
 message in error, please notify the sender immediately and delete all copies
 of this message. KPIT Cummins Infosystems Ltd. does not accept any liability
 for virus infected mails.




-- 
Vishwajeet Singh
+91-9657702154 | dextrou...@gmail.com | http://bootstraptoday.com
Twitter: http://twitter.com/vishwajeets | LinkedIn:
http://www.linkedin.com/in/singhvishwajeet