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

Inconsistent dump data

From: David Pratt <fairwinds_at_eastlink.ca>
Date: Mon, 14 Apr 2008 09:30:47 -0300

Hi. I have been putting together methods to automate filesystem backup
and also dumps to a remote location so my repository can be restored to
another system if necessary. While evaluating the scripts, I received
the following warning and hoping to understand how this can occur.

My scripts perform a hot backup to another drive on the same system.
 From the copy, an incremental dump is made to an offsite storage. The
incremental dump I perform is based on the youngest revision + 1 to the
youngest revision in the repository (at the time the backup is taken). I
increment the filename of the dump each time which has padded zeros so
that the dump filenames can be sorted and played back in order for
restore. The filename includes the revisions included in the dump so if
anything nasty happens in any of the revisions, I can identify the
revisions contained in the dump as well.

I had been running backup and restore from the filesystem and then test
of restoration from dumps from remote storage, I then committed to the
repository, then ran a hot backup again when this occurred. I had
successfully restored several times from the filesystem without any
trouble. So it seems that this has something to do with restoring from
dumps and then performing a hot backup from that. So concerned about
what condition created the warning. It's obviously a problem if the dump
files cannot be reliably used to restore the repository.

Beginning hot backup of '/Users/davidpratt/Development/Repository/main'.
Youngest revision is 254
Backing up repository to '/Volumes/HD2-OS-10.4.11/Backup/svn/main-254'...
Done.
Dumping /Volumes/HD2-OS-10.4.11/Backup/svn/main-254 to 000004-253-254.db
WARNING: Referencing data in revision 251, which is older than the oldest
WARNING: dumped revision (253). Loading this dump into an empty repository
WARNING: will fail.
WARNING: Referencing data in revision 252, which is older than the oldest
WARNING: dumped revision (253). Loading this dump into an empty repository
WARNING: will fail.
WARNING: Referencing data in revision 251, which is older than the oldest
WARNING: dumped revision (253). Loading this dump into an empty repository
WARNING: will fail.
WARNING: Referencing data in revision 251, which is older than the oldest
WARNING: dumped revision (253). Loading this dump into an empty repository
WARNING: will fail.
WARNING: Referencing data in revision 251, which is older than the oldest
WARNING: dumped revision (253). Loading this dump into an empty repository
WARNING: will fail.
* Dumped revision 253.
* Dumped revision 254.
Done. Dumped in 0.354299 seconds

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-14 14:51:52 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.