Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > Dump Infobase by Script

Forum

Search UsersRules
Dump Infobase by Script
#1
Interested
Points:: 0
Joined:: Apr 5, 2012

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).

Profile
#2
Just came
Points:: 0
Joined:: Oct 30, 2013

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.

Profile
#3
Guest
Points::
Joined::

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.

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



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.