recreate.bat 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. @echo off
  2. if "%1" == "/?" goto usage
  3. if "%1" == "-?" goto usage
  4. set rcfeddb=Federation
  5. set rcfeddbsrv=
  6. set rcfeddbpw=/P
  7. set rcfedupgrade=N
  8. set sqlfile="%temp%\recreate.sql"
  9. set altdir=.
  10. rem check for alternate data set
  11. if /i "%1"=="/a" set altdir=%2%
  12. if /i "%2"=="/a" set altdir=%3%
  13. if /i "%3"=="/a" set altdir=%4%
  14. if /i "%4"=="/a" set altdir=%5%
  15. if /i "%5"=="/a" set altdir=%6%
  16. if /i "%6"=="/a" set altdir=%7%
  17. if /i "%7"=="/a" set altdir=%8%
  18. if /i "%8"=="/a" set altdir=%9%
  19. rem check for specified database
  20. if /i "%1"=="/d" set rcfeddb=%2%
  21. if /i "%2"=="/d" set rcfeddb=%3%
  22. if /i "%3"=="/d" set rcfeddb=%4%
  23. if /i "%4"=="/d" set rcfeddb=%5%
  24. if /i "%5"=="/d" set rcfeddb=%6%
  25. if /i "%6"=="/d" set rcfeddb=%7%
  26. if /i "%7"=="/d" set rcfeddb=%8%
  27. if /i "%8"=="/d" set rcfeddb=%9%
  28. rem check for specified server
  29. if /i "%1"=="/s" set rcfeddbsrv=/S %2%
  30. if /i "%2"=="/s" set rcfeddbsrv=/S %3%
  31. if /i "%3"=="/s" set rcfeddbsrv=/S %4%
  32. if /i "%4"=="/s" set rcfeddbsrv=/S %5%
  33. if /i "%5"=="/s" set rcfeddbsrv=/S %6%
  34. if /i "%6"=="/s" set rcfeddbsrv=/S %7%
  35. if /i "%7"=="/s" set rcfeddbsrv=/S %8%
  36. if /i "%8"=="/s" set rcfeddbsrv=/S %9%
  37. rem check for specified password
  38. if /i "%1"=="/p" set rcfeddbpw=/P %2%
  39. if /i "%2"=="/p" set rcfeddbpw=/P %3%
  40. if /i "%3"=="/p" set rcfeddbpw=/P %4%
  41. if /i "%4"=="/p" set rcfeddbpw=/P %5%
  42. if /i "%5"=="/p" set rcfeddbpw=/P %6%
  43. if /i "%6"=="/p" set rcfeddbpw=/P %7%
  44. if /i "%7"=="/p" set rcfeddbpw=/P %8%
  45. if /i "%8"=="/p" set rcfeddbpw=/P %9%
  46. rem in sql7, bcp doesn't like /P when the password is blank, but osql does--go figure
  47. set rcfedbcppw=%rcfeddbpw%
  48. if /i "%rcfeddbpw%"=="/P" set rcfedbcppw=
  49. rem check for /U
  50. if /i "%1"=="/U" set rcfedupgrade=Y
  51. if /i "%2"=="/U" set rcfedupgrade=Y
  52. if /i "%3"=="/U" set rcfedupgrade=Y
  53. if /i "%4"=="/U" set rcfedupgrade=Y
  54. if /i "%5"=="/U" set rcfedupgrade=Y
  55. if /i "%6"=="/U" set rcfedupgrade=Y
  56. if /i "%7"=="/U" set rcfedupgrade=Y
  57. if /i "%8"=="/U" set rcfedupgrade=Y
  58. if /i "%9"=="/U" set rcfedupgrade=Y
  59. rem make a backup of the dynamic stuff
  60. if "%rcfedupgrade%" == "N" goto recreate
  61. echo bcp %rcfeddb%..CharacterInfo out %temp%\CharacterInfo.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  62. bcp %rcfeddb%..CharacterInfo out %temp%\CharacterInfo.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  63. echo bcp %rcfeddb%..CharStats out %temp%\CharStats.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  64. bcp %rcfeddb%..CharStats out %temp%\CharStats.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  65. echo bcp %rcfeddb%..CharMedals out %temp%\CharMedals.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  66. bcp %rcfeddb%..CharMedals out %temp%\CharMedals.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  67. echo bcp %rcfeddb%..Medals out %temp%\Medals.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  68. bcp %rcfeddb%..Medals out %temp%\Medals.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  69. echo bcp %rcfeddb%..Squads out %temp%\Squads.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  70. bcp %rcfeddb%..Squads out %temp%\Squads.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  71. echo bcp %rcfeddb%..AccessCodes out %temp%\AccessCodes.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  72. bcp %rcfeddb%..AccessCodes out %temp%\AccessCodes.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  73. echo bcp %rcfeddb%..AccessCodeUsage out %temp%\AccessCodeUsage.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  74. bcp %rcfeddb%..AccessCodeUsage out %temp%\AccessCodeUsage.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  75. echo bcp %rcfeddb%..PSSInstances out %temp%\PSSInstances.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  76. bcp %rcfeddb%..PSSInstances out %temp%\PSSInstances.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  77. rem Map data
  78. echo bcp %rcfeddb%..Maps out %temp%\Maps.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  79. bcp %rcfeddb%..Maps out %temp%\Maps.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  80. echo bcp %rcfeddb%..SectorInfo out %temp%\SectorInfo.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  81. bcp %rcfeddb%..SectorInfo out %temp%\SectorInfo.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  82. echo bcp %rcfeddb%..Asteroids out %temp%\Asteroids.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  83. bcp %rcfeddb%..Asteroids out %temp%\Asteroids.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  84. echo bcp %rcfeddb%..AlephInstances out %temp%\AlephInstances.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  85. bcp %rcfeddb%..AlephInstances out %temp%\AlephInstances.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  86. echo bcp %rcfeddb%..StationInstances out %temp%\StationInstances.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  87. bcp %rcfeddb%..StationInstances out %temp%\StationInstances.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  88. echo bcp %rcfeddb%..MineInstances out %temp%\MineInstances.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  89. bcp %rcfeddb%..MineInstances out %temp%\MineInstances.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  90. echo bcp %rcfeddb%..TreasureInstances out %temp%\TreasureInstances.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  91. bcp %rcfeddb%..TreasureInstances out %temp%\TreasureInstances.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  92. rem Game Results data
  93. echo bcp %rcfeddb%..GameResults out %temp%\GameResults.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  94. bcp %rcfeddb%..GameResults out %temp%\GameResults.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  95. echo bcp %rcfeddb%..TeamResults out %temp%\TeamResults.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  96. bcp %rcfeddb%..TeamResults out %temp%\TeamResults.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  97. echo bcp %rcfeddb%..PlayerResults out %temp%\PlayerResults.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  98. bcp %rcfeddb%..PlayerResults out %temp%\PlayerResults.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  99. :recreate
  100. echo declare @myerror as integer > %sqlfile%
  101. echo Drop Database %rcfeddb% >> %sqlfile%
  102. echo select @myerror=@@ERROR >> %sqlfile%
  103. echo if @myerror=3701 select @myerror=0 >> %sqlfile%
  104. echo EXIT(select @myerror) >> %sqlfile%
  105. echo go >> %sqlfile%
  106. echo osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /i %sqlfile%
  107. osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /i %sqlfile%
  108. if ERRORLEVEL 1 goto failure
  109. echo Create Database %rcfeddb% > %sqlfile%
  110. echo go >> %sqlfile%
  111. echo USE %rcfeddb% >> %sqlfile%
  112. echo go >> %sqlfile%
  113. echo if not exists (select * from master..syslogins where name = N'ALServer') >> %sqlfile%
  114. echo exec sp_addlogin 'ALServer', 'oblivion', '%rcfeddb%' >> %sqlfile%
  115. echo go >> %sqlfile%
  116. echo if not exists (select * from sysusers where name = N'ALServer' and uid ^< 16382) >> %sqlfile%
  117. echo EXEC sp_grantdbaccess 'ALServer' >> %sqlfile%
  118. echo go >> %sqlfile%
  119. echo exec sp_addrolemember N'db_owner', N'ALServer' >> %sqlfile%
  120. echo go >> %sqlfile%
  121. copy /b %sqlfile%+fed-all.sql %sqlfile%
  122. osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /i %sqlfile%
  123. if ERRORLEVEL 1 goto failure
  124. if "%altdir%" NEQ "." copy dumptables.bat %altdir%
  125. if "%altdir%" NEQ "." cd %altdir%
  126. echo call dumptables in %rcfeddbsrv% %rcfedbcppw% /D %rcfeddb%
  127. call dumptables in %rcfeddbsrv% %rcfedbcppw% /D %rcfeddb%
  128. if "%altdir%" NEQ "." cd ..
  129. if "%rcfedupgrade%" == "N" goto success
  130. rem Delete tables that we're going to restore
  131. echo osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..CharStats"
  132. osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..CharStats"
  133. echo osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..CharacterInfo"
  134. osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..CharacterInfo"
  135. echo osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..CharMedals"
  136. osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..CharMedals"
  137. echo osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..Medals"
  138. osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..Medals"
  139. echo osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..Squads"
  140. osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..Squads"
  141. echo osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..AccessCodes"
  142. osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..AccessCodes"
  143. echo osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..AccessCodeUsage"
  144. osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..AccessCodeUsage"
  145. echo osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..PSSInstances"
  146. osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..PSSInstances"
  147. echo osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..Asteroids"
  148. osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..Asteroids"
  149. echo osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..AlephInstances"
  150. osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..AlephInstances"
  151. echo osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..StationInstances"
  152. osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..StationInstances"
  153. echo osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..MineInstances"
  154. osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..MineInstances"
  155. echo osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..TreasureInstances"
  156. osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..TreasureInstances"
  157. echo osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..SectorInfo"
  158. osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..SectorInfo"
  159. echo osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..Maps"
  160. osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..maps"
  161. echo osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..GameResults"
  162. osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..GameResults"
  163. echo osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..TeamResults"
  164. osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..TeamResults"
  165. echo osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..PlayerResults"
  166. osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "Delete %rcfeddb%..PlayerResults"
  167. rem Do the restore
  168. echo bcp %rcfeddb%..CharacterInfo in %temp%\CharacterInfo.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  169. bcp %rcfeddb%..CharacterInfo in %temp%\CharacterInfo.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  170. echo bcp %rcfeddb%..CharStats in %temp%\CharStats.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  171. bcp %rcfeddb%..CharStats in %temp%\CharStats.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  172. echo bcp %rcfeddb%..Medals in %temp%\Medals.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  173. bcp %rcfeddb%..Medals in %temp%\Medals.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  174. echo bcp %rcfeddb%..CharMedals in %temp%\CharMedals.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  175. bcp %rcfeddb%..CharMedals in %temp%\CharMedals.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  176. echo bcp %rcfeddb%..Squads in %temp%\Squads.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  177. bcp %rcfeddb%..Squads in %temp%\Squads.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  178. echo bcp %rcfeddb%..AccessCodes in %temp%\AccessCodes.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  179. bcp %rcfeddb%..AccessCodes in %temp%\AccessCodes.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  180. echo bcp %rcfeddb%..AccessCodeUsage in %temp%\AccessCodeUsage.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  181. bcp %rcfeddb%..AccessCodeUsage in %temp%\AccessCodeUsage.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  182. echo bcp %rcfeddb%..PSSInstances in %temp%\PSSInstances.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  183. bcp %rcfeddb%..PSSInstances in %temp%\PSSInstances.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  184. rem Map data
  185. echo bcp %rcfeddb%..Maps in %temp%\Maps.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  186. bcp %rcfeddb%..Maps in %temp%\Maps.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  187. echo bcp %rcfeddb%..SectorInfo in %temp%\SectorInfo.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  188. bcp %rcfeddb%..SectorInfo in %temp%\SectorInfo.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  189. echo bcp %rcfeddb%..Asteroids in %temp%\Asteroids.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  190. bcp %rcfeddb%..Asteroids in %temp%\Asteroids.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  191. echo bcp %rcfeddb%..AlephInstances in %temp%\AlephInstances.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  192. bcp %rcfeddb%..AlephInstances in %temp%\AlephInstances.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  193. echo bcp %rcfeddb%..StationInstances in %temp%\StationInstances.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  194. bcp %rcfeddb%..StationInstances in %temp%\StationInstances.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  195. echo bcp %rcfeddb%..MineInstances in %temp%\MineInstances.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  196. bcp %rcfeddb%..MineInstances in %temp%\MineInstances.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  197. echo bcp %rcfeddb%..TreasureInstances in %temp%\TreasureInstances.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  198. bcp %rcfeddb%..TreasureInstances in %temp%\TreasureInstances.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  199. rem Game Results data
  200. echo bcp %rcfeddb%..GameResults in %temp%\GameResults.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  201. bcp %rcfeddb%..GameResults in %temp%\GameResults.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  202. echo bcp %rcfeddb%..TeamResults in %temp%\TeamResults.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  203. bcp %rcfeddb%..TeamResults in %temp%\TeamResults.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  204. echo bcp %rcfeddb%..PlayerResults in %temp%\PlayerResults.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  205. bcp %rcfeddb%..PlayerResults in %temp%\PlayerResults.dat /c /E /Usa %rcfeddbsrv% %rcfeddbpw%
  206. echo osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "exec %rcfeddb%..SyncZoneSquads"
  207. osql /U sa /n %rcfeddbsrv% %rcfeddbpw% /Q "exec %rcfeddb%..SyncZoneSquads"
  208. rem leave %temp%\*.dat so they can compare
  209. goto success
  210. :failure
  211. echo !!! RECREATE FAILED !!!
  212. goto end
  213. :success
  214. echo !!! RECREATE SUCCEEDED !!!
  215. goto end
  216. :usage
  217. rem 12345678911234567892123456789312345678941234567895123456789612345678971234567898
  218. echo Description: nukes and recreates database schema and repopulates it with data
  219. echo.
  220. echo Usage: recreate [/A AltDir] [/S Server] [/P Password] [/D Database] [/L] [/U]
  221. echo.
  222. echo Where: AltDir is a subdirectory where the dat files to be loaded exist. The
  223. echo subdirectory MUST be directly off of this directory.
  224. echo Server is machine of database you want to use, so you can use
  225. echo dumptables from a machine other than the one the database is on
  226. echo Password is the password for the sa account
  227. echo Database is the name of the SQL database to use
  228. echo /L causes the log to be preserved. Default is to dump the log prior to
  229. echo nuking and recreating the database.
  230. echo /U Upgrade only. Preserves existing CharacterInfo table. Obviously
  231. echo there must not be any changes to the schema for that table.
  232. echo This will result in the creation of a file called
  233. echo CharacterInfoUpg.dat which will be left for comparison, etc.
  234. echo.
  235. echo Notes: * You must leave a space between all switches and their values
  236. echo * All parameters in brackets are optional, and may appear in any order
  237. echo * Password only matters if server doesn't use trusted connections
  238. echo.
  239. echo Example: recreate /S fedsrv /P mypassword
  240. echo.
  241. :end
  242. set rcfeddb=
  243. set rcfeddbsrv=
  244. set rcfeddbpw=
  245. set rcfeddbdumplog=
  246. set rcfedupgrade=
  247. set rcfedbcppw=
  248. set sqlfile=
  249. set charupg=
  250. set altdir=