Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We had a rapid shut down by mistake when our SVN server in the office was unplugged and it caused data corruption.

update

The last commit to this SVN server was last Thursday. The power outage that caused data corruption happened on Friday. If I understand correctly this happened because the data was not finished writing to the disk which caused the corruption. How could it not be finished writing to the disk after over 24 hours? Is it possible that wasn't how it got corrupted?

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

Assuming is a linux you first need to do a fsck.
You have two options:
- Create an empty file in / partition named forcefsck: touch /forcefsck
or
- Run shutdown -Fr now to force a fsck after reboot.

Usually, this can solve file corruption.

Any old backups available?

HTH

share|improve this answer
    
The server automatically attempted that with no luck. –  Webnet Aug 17 '10 at 13:48
add comment

What system do you run ? What error do you have ?

check the official documentation: http://svnbook.red-bean.com/en/1.1/ch05s03.html

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.