How to backup 1)Full Reg Backup 2) Shares 3) Route 4) IP Config 5)Ipconfig 6)TNSNAMES.ORA 7)ODBC 8)Schedule Task Backup 9)NTFS Permission Backup
@echo off
echo ============================================================================
echo Backup Registry 1)Full Reg Backup 2) Shares 3) Route 4) IP Config 5)Ipconfig 6)TNSNAMES.ORA 7)ODBC 8)Schedule Task Backup 9)NTFS Permission Backup
echo NTFS Permission Restoration Command : icacls C:\ /restore ntfsperms.txt
echo ============================================================================
cd data
del /Q *.*
regedit /S /E FullRegistryBackup.reg
reg export HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\Shares SharesBackup.reg
reg export HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes Persistentroute.reg
reg export HKEY_LOCAL_MACHINE\SOFTWARE\ODBC odbc.reg
ipconfig /all >jsitis0112ipconfig.txt
route print >jsitis0112route.txt
copy /y c:\oracle\ora81\network\ADMIN\TNSNAMES.ORA TNSNAMES.ORA
copy /y c:\windows\tasks *.*
cd ..
icacls C:\ /save ntfsperms.txt /t /c
No comments:
Post a Comment