root ~ $ engine-backup --mode=backup --scope=files --file=veng.bak --log=backup.log engine-backup: back up and restore ovirt-engine environment USAGE: /usr/bin/engine-backup [--mode=MODE] [--scope=SCOPE] [--file=FILE] [--log=FILE] MODE is one of the following: backup back up system into FILE restore restore system from FILE SCOPE is one of the following: all If MODE=backup: backup everything below. If MODE=restore: restore everything found in FILE. files product files only db Engine database only dwhdb Data Warehouse database only reportsdb Reports database only The option --scope can be passed more than once, with different scopes. --file=FILE file to use during backup or restore --log=FILE log file to use during backup or restore --archive-compressor=COMPRESSOR Use COMPRESSOR to compress the backup file, can be one of: gzip bzip2 xz None --files-compressor=COMPRESSOR compress the product files, same options as --archive-compressor --keep-temporary-data do not clean up temporary data on restore --db-compressor=COMPRESSOR compress the Engine database, same options as --archive-compressor --db-dump-format=FORMAT Engine database dump format; see pg_dump(1) for details. Can be one of: plain custom --db-restore-jobs=JOBS number of restore jobs for the Engine database, when using custom dump format and compressor None. Passed to pg_restore -j. Defaults to 2. --provision-db create a PostgreSQL database for the Engine on restore --change-db-credentials activate the following options, to restore the Engine database using credentials other than those stored in the backup itself. If used, existing credentials are ignored. --db-host=host set Engine database host --db-port=port set Engine database port --db-user=user set Engine database user --db-passfile=file set Engine database password - read from file --db-password=pass set Engine database password --db-password set Engine database password - interactively --db-name=name set Engine database name --db-secured set a secured connection for the Engine database --db-secured-validation validate host for Engine database --dwh-db-compressor=COMPRESSOR compress the Data Warehouse database, same options as --archive-compressor --dwh-db-dump-format=FORMAT Data Warehouse database dump format, same options as --db-dump-format --dwh-db-restore-jobs=JOBS for Data Warehouse database, same as --db-restore-jobs --provision-dwh-db create a PostgreSQL database for Data Warehouse on restore --change-dwh-db-credentials activate the following options, to restore the Data Warehouse database using credentials other than those stored in the backup itself. If used, existing credentials are ignored. --dwh-db-host=host set Data Warehouse database host --dwh-db-port=port set Data Warehouse database port --dwh-db-user=user set Data Warehouse database user --dwh-db-passfile=file set Data Warehouse database password - read from file --dwh-db-password=pass set Data Warehouse database password --dwh-db-password set Data Warehouse database password - interactively --dwh-db-name=name set Data Warehouse database name --dwh-db-secured set a secured connection for the Data Warehouse database --dwh-db-secured-validation validate host for Data Warehouse database --reports-db-compressor=COMPRESSOR compress the Reports database, same options as --archive-compressor --reports-db-dump-format=FORMAT Reports database dump format, same options as --db-dump-format --reports-db-restore-jobs=JOBS for Reports database, same as --db-restore-jobs --provision-reports-db create a PostgreSQL database for Reports on restore --change-reports-db-credentials activate the following options, to restore the Reports database using credentials other than those stored in the backup itself. If used, existing credentials are ignored. --reports-db-host=host set Reports database host --reports-db-port=port set Reports database port --reports-db-user=user set Reports database user --reports-db-passfile=file set Reports database password - read from file --reports-db-password=pass set Reports database password --reports-db-password set Reports database password - interactively --reports-db-name=name set Reports database name --reports-db-secured set a secured connection for the Reports database --reports-db-secured-validation validate host for Reports database --fast-restore the default for backup, equivalent to: --archive-compressor=gzip \ --files-compressor=xz \ --db-dump-format=custom \ --db-compressor=None \ --dwh-db-dump-format=custom \ --dwh-db-compressor=None \ --reports-db-dump-format=custom \ --reports-db-compressor=None In addition, you should pass, when restoring: --db-restore-jobs=N \ --dwh-db-restore-jobs=N \ --reports-db-restore-jobs=N where 'N' is around 150% of available cpu cores. --small-size for a small backup file, equivalent to: --archive-compressor=xz \ --files-compressor=xz \ --db-dump-format=plain \ --db-compressor=xz \ --dwh-db-dump-format=plain \ --dwh-db-compressor=xz \ --reports-db-dump-format=plain \ --reports-db-compressor=xz --fast-backup for a fast backup, equivalent to: --archive-compressor=gzip \ --files-compressor=xz \ --db-dump-format=custom \ --db-compressor=None \ --dwh-db-dump-format=custom \ --dwh-db-compressor=None \ --reports-db-dump-format=custom \ --reports-db-compressor=None You can use one of --fast-restore, --small-size, --fast-backup, and after that one of the other compressor/format options for further fine-tuning. ENVIRONMENT VARIABLES OVIRT_ENGINE_DATABASE_PASSWORD Database password as if provided by --db-password=pass option. OVIRT_DWH_DATABASE_PASSWORD Database password as if provided by --dwh-db-password=pass option. OVIRT_REPORTS_DATABASE_PASSWORD Database password as if provided by --reports-db-password=pass option. Wiki See http://www.ovirt.org/Ovirt-engine-backup for more info. To create a new user/database: create role with login encrypted password ''; create database owner template template0 encoding 'UTF8' lc_collate 'en_US.UTF-8' lc_ctype 'en_US.UTF-8'; Open access in the firewall/iptables/etc. to the PostgreSQL port, 5432/tcp by default. Locate pg_hba.conf within your distribution, common locations are: - /var/lib/pgsql/data/pg_hba.conf - /etc/postgresql-*/pg_hba.conf - /etc/postgresql/*/main/pg_hba.conf and open access there by adding the following lines: host 0.0.0.0/0 md5 host ::0/0 md5 Replace , , with appropriate values. Repeat for Engine, Data Warehouse, Reports as required. readlink: missing operand Try 'readlink --help' for more information. /usr/bin/engine-backup: line 1405: : No such file or directory Notifying engine /usr/bin/engine-backup: line 1472: : No such file or directory /usr/bin/engine-backup: line 1405: : No such file or directory FATAL: Failed notifying engine