Загрузка данных


[root@serv ~]# /opt/1cv8/x86_64/8.3.25.1560/rac infobase --cluster=fd108b37-8598-45cb-b7e4-ef32e160eb24 create --create-database --name=ibcmd_test --dbms=PostgreSQL --db-server=localhost --db-name=ibcmd_test --locale=ru --db-user=postgres --db-pwd=12345678 --license-distribution=allow
infobase : ed94c163-9aa8-4ec5-adc9-578159fa48dc
[root@serv ~]# 


[root@serv ~]# /opt/1cv8/x86_64/8.3.25.1560/ibcmd infobase restore --dbms=PostgreSQL --db-server=localhost --db-name=ibcmd_test --db-user=postgres --db-pwd=12345678 /mnt/share/__________Анастасия/ВетКлиника/1Cv8_25-09-2026_00.dt
[INFO] Загрузка информационной базы...
[INFO] Загрузка информационной базы успешно завершена
[root@serv ~]# 


[root@serv ~]# sudo -u postgres pg_restore -l /tmp/ibcmd_test.dump | head
could not change directory to "/root": Permission denied
;
; Archive created at 2026-10-30 10:54:01 +08
;     dbname: ibcmd_test
;     TOC Entries: 3566
;     Compression: 6
;     Dump Version: 1.14-0
;     Format: CUSTOM
;     Integer: 4 bytes
;     Offset: 8 bytes
;     Dumped from database version: 14.23
[root@serv ~]# sudo -u postgres createdb -T template0 -E UTF8 ibcmd_restore
could not change directory to "/root": Permission denied
[root@serv ~]# sudo -u postgres pg_restore -d ibcmd_restore /tmp/ibcmd_test.dump
could not change directory to "/root": Permission denied
[root@serv ~]# /opt/1cv8/x86_64/8.3.25.1560/rac infobase --cluster=fd108b37-8598-45cb-b7e4-ef32e160eb24 create --name=ibcmd_restore --dbms=PostgreSQL --db-server=localhost --db-name=ibcmd_restore --locale=ru --db-user=postgres --db-pwd=12345678 --license-distribution=allow
infobase : cb5ab909-406b-490e-8cc9-cd0a8c706d0d
[root@serv ~]# 


ibcmd_restore - БД появилась и в ней все есть в 1с.