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


sudo -u postgres bash -c 'gunzip -c /mnt/data/dump.gz | psql postgres 2>&1 | tee /tmp/restore.log'