On Mon, May 17, 2021 at 8:26 PM Daniel Shahaf <d...@daniel.shahaf.name> wrote:
> Mark Phippard wrote on Mon, 17 May 2021 12:24 +00:00: > > > > > On May 17, 2021, at 8:21 AM, jackson <jacky3...@gmail.com> wrote: > > > > > > > > > Hello Everyone > > > > > > We are using subversion 1.7 running in LInux 6.9. > > > we are working on subversion migration along with OS upgrade > > > > > > Currently we have built RHEL 8.3 OS with subversion 1.10 and did all > the configuration , the 1.10 setup is up and working as expected . > > > > > > We need help in migrating the repo from current setup (v1.7 to the new > setup > > > > > > The current setup (v1.7) has the repo size of 500GB. we are using svn > load and svn dump method to migrate the repos from current setup (v1.7) to > new setup(v1.10) , but it takes a lot of time due to the size of the repo > (500GB) , Also the current setup (v1.7 is being currently used by the > customer ,soo even after taking the dump of one particular repo and loading > it in new setup , a newer revision is being made in the current setup > (v1.7 by the customer , thus making us to do the svn dump and lsvn load > again. > > > > > > now we need your help in identifying an efficient way in migrating the > repo from the current setup (v1.7 to the ew setup(v1.10) , Need your > expert advise on this please > > > > > > > > > Also let us know we can do rsync for this? > > > > > > Thanks & Regards, > > > Jackson J > > > > You do not have to do anything. Just point the new server at the > > existing repositories or move them to new location. > > That's not necessarily correct for BDB repositories. > > > You can use rsync, tar or whatever method you prefer. > > That's not correct for live repositories. > > Bo and David covered the svnsync and «svnadmin hotcopy» approaches; all > I have to add is that for «svnadmin dump», the --deltas, --incremental, > and -r options should be used as necessary. I'll add that several subsections of "Repository Maintenance" of Chapter 5 of the Subversion book are relevant, especially [1] and [2]. [1] Migrating Repository Data Elsewhere: http://svnbook.red-bean.com/en/1.7/svn.reposadmin.maint.html#svn.reposadmin.maint.migrate [2] Repository Replication: http://svnbook.red-bean.com/en/1.7/svn.reposadmin.maint.html#svn.reposadmin.maint.replication (In this case I think [1] is the more relevant of these.) Cheers, Nathan