• behance
  • gitHub
  • google
  • linkedin
  • twitter
Batch Files Really Are Your Friends … Svn Backups

Batch Files Really Are Your Friends … Svn Backups

Just finished a long coding session … ???

BACK IT UP!

set SvnAdminPath=C:Program Files (x86)VisualSVN Serverbinsvnadmin.exe

“%SvnAdminPath%” dump –deltas P:Repositories<repo_name> | “<path>gzip.exe” > <backup_path>SourceSvn.dump

echo Copying dump to h:backup
xcopy /Y <backup_path>SourceSvn.dump H:Backups

echo Copy dump to o:backup
xcopy /Y <backup_path>SourceSvn.dump O:Backup

PAUSE

🙂

Leave a reply

*