[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Hot-backup.py and transactions problem

From: Gonzalez Diaz, Xoan <G2485_at_caixagalicia.es>
Date: Wed, 7 May 2008 13:08:23 +0200

Hi all,

 

I have Subversion 1.4.5 installed on a machine B with Windows XP, Apache
2.2 and ldap authentication.

I have a machine A with a folder containing the repositories
(C:\SVNRepositories) and a repository inside called RepositoryA.

 

I am testing (in machine A) possibilities of hot-backup.py but it seems
that something is wrong with my tests. Basically I am trying to do a
backup and restore a repository.

 

These are the steps that I am taking:

 

1. Execute, in a command prompt, the following command:

 

python hot-backup.py --archive-type=zip "C:\
SVNRepositories\RepositoryA" "D:\Backup SVN\temp"

 

The command is executed successfully and a file called
RepositorioA-4536.zip is created at D:\Backup SVN\temp

 

2. I rename C:\ SVNRepositories\RepositoryA to C:\
SVNRepositories\RepositoryA.old

 

3. I extract the folder in RepositoryA -4536.zip and copy (Windows
copy) it in C:\SVNRepositories

 

4. I rename C:\ SVNRepositories\RepositoryA -4536 to C:\
SVNRepositories\RepositoryA

 

5. If I try to add a file to a directory (with TortoiseSVN) in the
repository or make a commit appears the following error:

 

Can't create directory

'\\machineA\SVNRepositories\RepositoryA\db\transactions\4536-1.txn':

El sistema no puede halla la ruta especificada

 

It means something like System could not find the given path

 

6. Looking at C:\SVNRepoositories\RepositoryA\db there is no
transactions directory, but it exists in
C:\SVNRepositories\RepositoryA.old\db

 

It seems permissions are the same in C:\SVNRepositories\RepositoryA.old
and C:\SVNRepositories\RepositoryA

 

What am I doing wrong?

 

 Is it normal that hot-backup don't backup transactions directory?

 

Thanks in advance,

 

Xoan

 
Received on 2008-05-07 13:08:23 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.