RE: Creating and Verifying a Reliable backup

2016-06-27 Thread Andrew Reedick
> From: Michael Schwager [mailto:mschw...@gmail.com] 
> Sent: Wednesday, June 22, 2016 10:25 AM
> To: users@subversion.apache.org
> Subject: Re: Creating and Verifying a Reliable backup
>
> Following is an update to my question of Jun 1, where I ask the following 
> question:
>
... snip verify/backup/verify/rsync/verify script...
>

If you're not already doing it, you might want to pack your repos in order to 
the make the backups and/or copying faster.  Working on thousands of small 
files is incredibly slow/inefficient.
http://svnbook.red-bean.com/nightly/en/svn.reposadmin.maint.html#svn.reposadmin.maint.diskspace.fsfspacking

However, I'm not sure what the pros/cons of packing are in regards to rsync.




Re: Directions on SVN from 2008 to 2012 (UNCLASSIFIED)

2016-06-27 Thread Pavel Lyalyakin
Hello Mary,

On Mon, Jun 27, 2016 at 7:25 PM, Covington, Mary E CTR USARMY RDECOM
(US)  wrote:
>
> CLASSIFICATION: UNCLASSIFIED
>
> Hi, we are transitioning from a 2008 server to 2012. Can you provide me 
> directions on how to setup the 2012 server and move all of the data from the 
> 2008 server. Thanks.

I'm sure that you are not asking about how to setup Windows Server
2012, but about how to move your existing Subversion server
installation and the repositories to a new server machine. Right?

In such case, you could provide us with a bit more information about
your current Subversion installation just because it's very hard to
give you any directions without knowing at least the basic information
such as whether you build the Subversion server yourself or use some
Subversion server package such as VisualSVN Server or SVN Edge (what's
the version of the server package, BTW?), which Subversion version and
maybe Apache HTTP Server you run now in case you build the server
yourself.

But the basic step-by-step procedure is going to look like:
1. Install and configure the Subversion server on the new machine.
2. Move your repositories to the new machine. For instructions, read
SVNBook | Migrating Repository Data Elsewhere:

http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html#svn.reposadmin.maint.migrate
3. Make sure to move your repository hook scripts if there are any and
check that they work as expected.

I'd like to note again that this is the most basic instruction. At the
moment, there is not enough info available about your current SVN
server installation to give a detailed advice tailored to your
particular situation.

--
With best regards,
Pavel Lyalyakin
VisualSVN Team


Directions on SVN from 2008 to 2012 (UNCLASSIFIED)

2016-06-27 Thread Covington, Mary E CTR USARMY RDECOM (US)
CLASSIFICATION: UNCLASSIFIED

Hi, we are transitioning from a 2008 server to 2012. Can you provide me 
directions on how to setup the 2012 server and move all of the data from the 
2008 server. Thanks.


R/S
Mary Covington
Software Configuration Management
SED Precision Fires 
mary.coving...@amrdec.army.mil
(W) 256.313.0083
(C) 256.431.3615

CLASSIFICATION: UNCLASSIFIED


"svn update --set-depth=exclude" exits prematurely, leaving repo in need of cleanup

2016-06-27 Thread Jim Barry
When excluding a subtree from the working copy, if any unversioned items 
are present then the svn update command fails silently, leaving the 
working copy locked and requiring cleanup.

This is with version 1.9.4, the current release.

Reproducing the problem is fairly straightforward. Create a new repo (or 
just use an existing one):

$ svnadmin create repo
$ svn checkout file://`pwd`/repo wc
Checked out revision 0.

Add a directory and subdirectory:

$ cd wc
$ mkdir dir
$ mkdir dir/subdir1
$ svn add dir
A dir
A dir/subdir1
$ svn commit -m "Added dir"
Adding dir
Adding dir/subdir1
Committing transaction...
Committed revision 1.

Create another subdirectory, without adding it to the repo:

$ mkdir dir/subdir2

Now, let's exclude "dir" from the working copy:

$ svn update --set-depth exclude dir
D dir/subdir1

OK, so svn says it has deleted "dir/subdir1", but has left "dir" alone. 
Fair enough, as "dir" contains the unversioned item "subdir2". 

But wait - let's take a peek:

$ ls dir
subdir1  subdir2

Huh? What is "subdir1" still doing there? Let's quickly do a regular 
update:

$ svn update
svn: E155037: Previous operation has not finished; run 'cleanup' if it 
was interrupted

Oooh, that's not good! Let's take a closer look:

$ svn status
  L .
  L dir
?   dir\subdir1
?   dir\subdir2

Yikes! Looks like svn bailed out without finishing the job.

This must be a bug, right? Any chance somebody can take a look at it?

Thanks!




Help wanted improving the SVN FAQ

2016-06-27 Thread Johan Corveleyn
Hi all,

I'd like to improve our FAQ [1] a bit. Any input from you, the users,
is most welcome. Do you have suggestions on how to make it better?
Questions that you really think should be on there? Answers that
desperately need to be updated / improved?

To give us the ability to "clean up" a bit, I've introduced a
"Deprecated FAQ" section at the bottom of the page. The intention is
to move questions only applicable to old releases over there, so
they're out of the way of the "main FAQ" (but still reachable by old
links). I think the "main FAQ" should focus on the currently supported
releases (currently 1.9 and 1.8). This is work in progress.

Any input is most appreciated.

[1] http://subversion.apache.org/faq.html

-- 
Johan