echo off
@color 0C
@title SVN-BACKUP
@set log=%date:~0,10%.log
@echo '# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #'
@echo '# SVN-BACKUP #'
@echo '# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #'
@echo '-----------------------------------------------------------------------------'
@echo ' '
@echo ' Important !!!! '
@echo ' '
@echo ' SVN-BACKUP now ! '
@echo ' DO NOT close this window ! '
@echo ' DO NOT reboot/shutdown this server ! '
@echo ' Any question contact admin.svn ! '
@echo ' TEL: 021-110 '
@echo ' EMAIL:
[email protected] '
@echo ' '
@echo ' '
@echo '-----------------------------------------------------------------------------'
@echo '# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #'
rd /s /q E:\SVNBAK
mkdir E:\SVNBAK
cd C:\ProgramFiles\Subversion
svnadmin hotcopy D:\SVNRepository\CM E:\SVN\CM --clean-logs
svnadmin hotcopy D:\SVNRepository\CMMI3 E:\SVN\CMMI3 --clean-logs
svnadmin hotcopy D:\SVNRepository\CR_SYSTEM E:\SVN\CR_SYSTEM --clean-logs
svnadmin hotcopy D:\SVNRepository\DB_Management E:\SVN\DB_Management --clean-logs
svnadmin hotcopy D:\SVNRepository\EP E:\SVN\EP --clean-logs
svnadmin hotcopy D:\SVNRepository\GOS E:\SVN\GOS --clean-logs
svnadmin hotcopy D:\SVNRepository\MioAdvantage E:\SVN\MioAdvantage --clean-logs
svnadmin hotcopy D:\SVNRepository\Oracle_ERP E:\SVN\Oracle_ERP --clean-logs
svnadmin hotcopy D:\SVNRepository\PR E:\SVN\PR --clean-logs
svnadmin hotcopy D:\SVNRepository\PRM2 E:\SVN\PRM2 --clean-logs
svnadmin hotcopy D:\SVNRepository\SDC E:\SVN\SDC --clean-logs
svnadmin hotcopy D:\SVNRepository\TWarranty E:\SVN\TWarranty --clean-logs
exit
exit
****************
@echo off
@color 0C
@title SVN-BACKUP
@echo '# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #'
@echo '# SVN-BACKUP #'
@echo '# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #'
@echo '-----------------------------------------------------------------------------'
@echo ' '
@echo ' Important !!!! '
@echo ' '
@echo ' SVN-BACKUP now ! '
@echo ' DO NOT close this window ! '
@echo ' DO NOT reboot/shutdown this server ! '
@echo ' Any question contact admin.svn ! '
@echo ' TEL: 021-110 '
@echo ' EMAIL:
[email protected] '
@echo ' '
@echo ' '
@echo '-----------------------------------------------------------------------------'
@echo '# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #'
rd /s /q E:\SVNCHECKOUT
mkdir E:\SVNCHECKOUT
cd C:\ProgramFiles\Subversion
svn checkout --username mrsadmin --password admin -q http://192.168.110.119:8080/svn/CM E:\SVNCHECKOUT\CM
svn checkout --username mrsadmin --password admin -q http://192.168.110.119:8080/svn/CMMI3 E:\SVNCHECKOUT\CMMI3
svn checkout --username mrsadmin --password admin -q http://192.168.110.119:8080/svn/CRM E:\SVNCHECKOUT\CRM
svn checkout --username mrsadmin --password admin -q http://192.168.110.119:8080/svn/CR_SYSTEM E:\SVNCHECKOUT\CR_SYSTEM
svn checkout --username mrsadmin --password admin -q http://192.168.110.119:8080/svn/DB_Management E:\SVNCHECKOUT\DB_Management
svn checkout --username mrsadmin --password admin -q http://192.168.110.119:8080/svn/EP E:\SVNCHECKOUT\EP
svn checkout --username mrsadmin --password admin -q http://192.168.110.119:8080/svn/EShopII E:\SVNCHECKOUT\EShopII
svn checkout --username mrsadmin --password admin -q http://192.168.110.119:8080/svn/GOS E:\SVNCHECKOUT\GOS
svn checkout --username mrsadmin --password admin -q http://192.168.110.119:8080/svn/MioAdvantage E:\SVNCHECKOUT\MioAdvantage
svn checkout --username mrsadmin --password admin -q http://192.168.110.119:8080/svn/MioTourII E:\SVNCHECKOUT\MioTourII
svn checkout --username mrsadmin --password admin -q http://192.168.110.119:8080/svn/Oracle_ERP E:\SVNCHECKOUT\Oracle_ERP
svn checkout --username mrsadmin --password admin -q http://192.168.110.119:8080/svn/PR E:\SVNCHECKOUT\PR
svn checkout --username mrsadmin --password admin -q http://192.168.110.119:8080/svn/PRM2 E:\SVNCHECKOUT\PRM2
svn checkout --username mrsadmin --password admin -q http://192.168.110.119:8080/svn/SDC E:\SVNCHECKOUT\SDC
svn checkout --username mrsadmin --password admin -q http://192.168.110.119:8080/svn/TWarranty E:\SVNCHECKOUT\TWarranty
svn checkout --username mrsadmin --password admin -q http://192.168.110.119:8080/svn/UpMap E:\SVNCHECKOUT\UpMap
exit
exit