Created
November 8, 2019 11:50
-
-
Save arkuznetsov/457d1e1de08ca714e5593f485bbf19de to your computer and use it in GitHub Desktop.
Create 1C infobase on 1C server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
chcp 1251 | |
set restoresrv=MyServer | |
set sqluser=MySQLUser | |
set sqlpassw=%1 | |
set v8ver=8.3.12.1790 | |
set restoreddb=MyDataBase | |
"%ProgramFiles%\1cv8\%v8ver%\bin\1cv8.exe" createinfobase Srvr=%restoresrv%;Ref=%restoreddb%;SQLSrvr=%restoresrv%;DBMS=MSSQLServer;SQLDB=%restoreddb%;SQLUID=%sqluser%;SQLPwd=%sqlpassw%;SQLYOffs=2000;CrSQLDB=n;DB=%restoreddb% /AddInList %restoreddb% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment