The 1C:Enterprise developers forum

#1
People who like this: 0 Yes / 0 No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

Hi,

In Designer mode in Administration exists command like "Dump Infobase..". Can we use this command by script?

Task is to take infobase dump file (.dt).
Client/server mode, server os ubuntu server 12.10 64-bit, DBMS - PostgreSQL 9.2.

We don't want to take back up via DBMS tools, cause ".dt" file is smaller than ".backup" file (for example db is 4 GB, but .dt dump file 600 Mb). And for us is seen more usefull to use .dt backup.

Or in Client/server mode dumping by script is possible only via DBMS tools?

In server there is cluster administration tools like "ras" and "rac", or we can dump infobase via this tools?

In small business I saw an example dumping mechanism that works via ComObject which use html and win.shell command that work only on file based infobase (which takes only copy of infobase).

 
#2
People who like this: 0 Yes / 0 No
Just came
Rating: 1
Joined: Oct 30, 2013
Company:

Yes, you can use it by script.
For example:
"C:\Program Files (x86)\1cv8\common\1cestart.exe" DESIGNER /S"serv\base" /N"user" /P"passw" /DumpIB "E:\elevc\base.dt" /out"E:\elevc\base.log"

Use compress for ".backup" files.
You can dump base into *.dt only in "exclusive" mode, if some users will be login in base, script will crash with error.

 
#3
People who like this: 0 Yes / 0 No
Timofey Bugaevsky
Guest

Joined:
Company:

But it is not recommended to use .dt files for backup if you have DBMS. DBMS have incremental backups and other great tools that allow making backups much faster and more reliable, than using dumps to .dt files.

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)