You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Mark Plotnick <pl...@ensodex.com> on 2002/10/02 22:26:06 UTC

DB dilemma

For the first time ever, I tried to use the hot-backup.py
script.  It turned out I had no space left on the disk.

The DB got mucked up and I tried to use db_recover to fix it.

db_recover runs OK but something is still screwed up.

db_recover has fixed things for me before, but not
now.

Re: DB dilemma

Posted by br...@xbc.nu.
Quoting Mark Plotnick <pl...@ensodex.com>:

> Well, I fixed it. All I had to do was use:
> db_recover -ve
> 
> Since the "-ve" argument works and the "-v -h" arguments
> don't, it would be nice to have it in the documentation.
> 
> Right now the administration section only mentions "-v -h".

Eh? What version of SVN are you using? It's been a long time since we needed the
-e flag for db_recover; it's not required now that we always pass DB_CREATE when
we open the environment.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: DB dilemma

Posted by Mark Plotnick <pl...@ensodex.com>.
** Reply to message from Mark Plotnick <pl...@ensodex.com> on Wed, 2 Oct
2002 17:26:06 -0500

Well, I fixed it. All I had to do was use:
db_recover -ve

Since the "-ve" argument works and the "-v -h" arguments
don't, it would be nice to have it in the documentation.

Right now the administration section only mentions "-v -h".

/Mark



> For the first time ever, I tried to use the hot-backup.py
> script.  It turned out I had no space left on the disk.
> 
> The DB got mucked up and I tried to use db_recover to fix it.
> 
> db_recover runs OK but something is still screwed up.
> 
> db_recover has fixed things for me before, but not
> now.
> 
> From the info below, can anyone tell what's wrong
> and what I need to do to fix it ?
> 
> 
> 
> 
> 
> cc0182:mplotnik% /usr/local/BerkeleyDB.4.0/bin/db_recover -v -h
> /ford/cc0182/u/mplotnik/pdv_svn_repo/db
> db_recover: Finding last valid log LSN: file: 22 offset 4818223
> db_recover: Checkpoint at: [22][4818175]
> db_recover: Checkpoint LSN: [22][4818175]
> db_recover: Previous checkpoint: [22][4817143]
> db_recover: Checkpoint at: [22][4817143]
> db_recover: Checkpoint LSN: [22][4817143]
> db_recover: Previous checkpoint: [22][4816111]
> db_recover: Recovery complete at Wed Oct  2 17:58:23 2002
> db_recover: Maximum transaction id 80000000 Recovery checkpoint [22][4818175]
> cc0182:mplotnik% pwd
> /export/ford/cc0182/u/mplotnik/pdv_svn_repo/db

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org