Due to SVN server failure, the need to restore SVN found that the original use of the jar backup file is not open, file corruption.
Fortunately, the hard drive is not damaged and can be recovered on other machines.
Think of often used to winrar, but mostly in the graphical interface. Windows commands can not be used.
I tried it, and it made a mistake:
C:/Documents and Settings/>winrar
' WinRAR ' is not an internal or external command, nor a running program or batch file.
Simply deal with:
My Computer right Key properties-"advanced-" Environment variables-"System Variables-" new
Variable Name: path
Variable value: C:/Program Files/winrar;
--The variable value is the WinRAR software installation path
In the WinRAR Software installation directory has a more detailed instructions: Winrar.chm
After setting the environment variable, the command line executes again winrar found OK.
C:/Documents and Settings/>winrar
Also write a batch file, save as Svnbak.bat
echo-------%date:~0,10%sv backup starts---------------d:cd d:/svnbak winrar a-r svn_%date:~0,10%.rar d:/svn/*.* echo----%date: ~0,10% Backup Ends------------------
Test a good, and back up the file can be opened normally. Put him in the scheduled task of Windows, fix it.
Fortunately, the hard drive is not bad, or the trouble is big.
Backups are not critical, and the key is to have validated, reliable backups.