D
D
Digsecman2021-06-23 11:28:34
Database
Digsecman, 2021-06-23 11:28:34

How to add *.dt base file 1C via shell on Linux server 1c?

Good day!
I am migrating a 1c database to a Linux host.
Please tell me how it is possible to add a 1C database dump through the shell on the 1C server?
There is no desire to do it through X, I want to do it through the console without graphics (extreme case - web muzzle)
Ideally, I run a thin client on my computer and connect to a linux server without graphics.
I would appreciate any advice on how to implement this.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Kinash, 2021-06-23
@Digsecman

*.dt is an inferior dump. The database created from such an unloading may differ from the original one, but if there is a migration between heterogeneous DBMS, then this is the only way.
If the original and new DBMS are the same (PostgreSQL, Oracle or DB2), then you need to transfer the database using the DBMS itself - guaranteed correct migration.
1C is first of all gui. If you don’t want to deal with it yourself, give it to those who will work in 1C - they will enter the Configurator mode and load the dump into an empty database.
Uploading and loading *.dt using the command line is also available, but this is usually done under Windows and it’s not a fact that it will work on Linux, since they usually use DBMS with normal backup. The /DumpIB key is for unloading and the /RestoreIB key is for loading the deathshki.

K
Konstantin Nagibovich, 2021-06-23
@nki

Look at the batch mode commands 1C. There's definitely a dt download from the command line.
This is the key you need /RestoreIB <file name>

D
Denis Melnikov, 2021-06-23
@Mi11er

The easiest way is to create a new database on the server, go to the configurator and upload your dump.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question