Sponsored Content
Full Discussion: SVN repo issues
Special Forums UNIX and Linux Applications SVN repo issues Post 302801313 by glev2005 on Wednesday 1st of May 2013 10:55:14 PM
Old 05-01-2013
SVN repo issues

We have about 5 different SVN repositories running on SVN 1.6.11 on top of CentOS Linux 6.3. I was asked to migrate our SVN server to a new server last week. We have a cron job that does a Full backup of each repo once a week, and every other night we do an incremental backup via
Code:
 svnadmin dump -r 100-200 --incremental repo |gzip -9 > incremental_100_200.svn.gz

(where repo is the name of the repo and 100 is the oldest revision since the last backup and 200 is the youngest revision at the time of this backup)

I did a full restore of the last full backup to the new server, creating an almost up to date copy of the repos. Throughout the week, I planned to restore the incremental backups from the old server to the new to keep them in sync and then switch to the new server on Friday.

Unfortunately, I must have missed an incremental restore on a few repos, and somehow not notice, and then we switched to the new server, and people continued to add files and make modifications, adding new revisions to the repo. The problem is, since there were some revisions missing on a few repos, now the new revisions have taken those revision numbers, so I cannot just get the incremental from the old repo and load it into the new repo since there is other data now occupying those revisions. What do I do?
 

9 More Discussions You Might Find Interesting

1. Red Hat

How to Create local YUM repo?

Hi friends, I am using RHEL5 . I have tried to create the local repo using createrepo rpm.But i have been facing a lot of errors and it is not working well. Can somebody tell me how to create the local repo? Thank you in advance. Regards, Prakashkumar.S (2 Replies)
Discussion started by: prakashkumar41
2 Replies

2. UNIX and Linux Applications

Help with an svn repo and new mount points.

Forgive me if this seems convoluted, I am stuck in a shell all day long and don't get out much. History: We had issues with growing two RAID0 volumes at AWS, so we added two more volumes (RAID0) with larger capacity and rysnc'd 33G of data over after mounting. Facts: /dev/md0 40G 33G 7.6G... (3 Replies)
Discussion started by: Habitual
3 Replies

3. Solaris

How to integrate SVN client to SVN server repository.

Hi, I am new to SVN configuration on Solaris 10.I have installed SVN client version 1.7. bash-3.00# ./svn --version svn, version 1.7.4 (r1295709) compiled Mar 2 2012, 12:59:36 Here my requirement is how to integrate svn client to One of the SVN server repository. My repository... (0 Replies)
Discussion started by: muraliinfy04
0 Replies

4. Solaris

solaris 11 - creating a second IPS repo

I need some help getting a IPS repo setup for custom internal packages. we already have an IPS for the oracle solaris package. what I want is a repo called BOB that can be used for packages internal to company BOB. I think I have created a repo called BOB, but it's not setup in the network... (1 Reply)
Discussion started by: robsonde
1 Replies

5. Red Hat

Error connecting to repo server

Hi guys, I will really appreciate your help on this issue I am having. I built a repository on one of my servers using a red hat dvd . It is working fine on that server. When I create a repo file in a client server and try to connect to the server repository, I get this error ... (2 Replies)
Discussion started by: cjashu
2 Replies

6. UNIX for Dummies Questions & Answers

Configuring EPEL repo and setting it as default repo.

I am using RHEL 6, but with no RHN subscription. I tried installing the EPEL repo, it is enabled under yum repolist but when I try a sample search such as yum search nginx , there's a string of errno 14 PYCURL error 6 . When I tried yum list installed, it didn't work because it defaults to the... (0 Replies)
Discussion started by: Hijanoqu
0 Replies

7. Shell Programming and Scripting

Making post down hook script for svn regarding sending emails after an file is committed in svn

Hi Folks , I am asking this question but i apologise please if this is not the correct forum , I have to develop a shell script that i want to place in at hooks/post-commit , that is basically i have to develop a post hook script and the main functionality of that script would be lets say if... (0 Replies)
Discussion started by: sunsun06060606
0 Replies

8. UNIX for Advanced & Expert Users

RPM Repo Cleanup

Greetings all, I have inherited this offline Red Hat YUM repo that contains over 42000 packages. You read that right. There are 71 kernels alone. The process that I've inherited has us reposync on an Internet-connected-server then sneaker-net the delta to our offline repo where we do a yum... (2 Replies)
Discussion started by: geoeldsul
2 Replies

9. Solaris

Solaris Repo Update

Hi Folks, Just a quick question on this, I've tried to run this a couple of times now - first time it failed I increased the swap. I'm not sure that increasing the physical memory will do any good, but will try later today - has anyone seen this or anything similar? SunOS fvssphsun01 5.11... (8 Replies)
Discussion started by: gull04
8 Replies
SVN::Dump::Headers(3pm) 				User Contributed Perl Documentation				   SVN::Dump::Headers(3pm)

NAME
SVN::Dump::Headers - Headers of a SVN dump record SYNOPSIS
# SVN::Dump::Headers objects are returned by the read_header_block() # method of SVN::Dump::Reader DESCRIPTION
A "SVN::Dump::Headers" object represents the headers of a SVN dump record. METHODS
"SVN::Dump::Headers" provides the following methods: new( [$hashref] ) Create and return a new empty "SVN::Dump::Headers" object. If $hashref is given (it can be a blessed hash reference), the keys from the hash are used to initialise the headers. set($h, $v) Set the $h header to the value $v. "_" can be used as a replacement for "-" in the header name. get($h) Get the value of header $h. "_" can be used as a replacement for "-" in the header name. keys() Return the list of headers, in canonical order. as_string() Return a string that represents the record headers. type() It is possible to guess the record type from its headers. This method returns a string that represents the record type. The string is one of "revision", "node", "uuid" or "format". The method dies if it can't determine the record type. ENCAPSULATION
When using "SVN::Dump" to manipulate a SVN dump, one should not directly access the "SVN::Dump::Headers" component of a "SVN::Dump::Record", but use the "set_header()" and "get_header()" methods of the record object. SEE ALSO
"SVN::Dump::Record". COPYRIGHT
Copyright 2006-2011 Philippe 'BooK' Bruhat, All Rights Reserved. LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2011-03-22 SVN::Dump::Headers(3pm)
All times are GMT -4. The time now is 11:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy