/opt/1cv8/x86_64/8.3.22.2283/ibcmd infobase --db-server=localhost --dbms=postgresql --db-name=$basename --db-user="Пользователь Postgres" --db-pwd="Пароль пользователя Postgres" dump --user="Пользователь 1С" --password="Пароль пользователя 1С" ~/$basename.dt
/opt/1cv8/x86_64/8.3.22.2283/webinst -publish -apache24 -wsdir $basename -dir /var/www/$basename -connstr 'Srvr=server-1c.domain.my;Ref=$basename' -confPath '/etc/apache2/apache2.conf'
systemctl restart apache2
systemctl stop srv1cv8-8.3.22.2283@default
systemctl start srv1cv8-8.3.22.2283@default
systemctl restart srv1cv8-8.3.22.2283@default