Hide Forgot
Description of problem: While restoring the database dump on the RHEV 3.6.8 getting below error # engine-backup --mode=restore --scope=files --file=backup --log=restore_files.log Preparing to restore: - Unpacking file 'backup' FATAL: Please pass one of --restore-permissions or --no-restore-permissions when restoring a backup with a custom dump format Version-Release number of selected component (if applicable): RHEV 3.6.8 How reproducible: 100% Steps to Reproduce: 1. Take a db backup on RHEV 3.6.8 2. Try to restore it on RHEV 3.6.8 3. Actual results:- FATAL: Please pass one of --restore-permissions or --no-restore-permissions when restoring a backup with a custom dump format Expected results: DB resrote should complete without any error message. Additional info:
Taking backup :- [root@dhcp3-112 ~]# /usr/bin/engine-backup --scope=all --mode=backup --file="/rhevm-backup/backup.$(/bin/date +%d-%m-%Y-%H_%M).tar.bz2" --log="/rhevm-backup/backup.$(/bin/date +%d-%m-%Y-%H_%M).log" Backing up: Notifying engine - Files - Engine database 'engine' Packing into file '/rhevm-backup/backup.30-08-2016-20_50.tar.bz2' Notifying engine Done. Error while restoring backup. [root@dhcp3-112 ~]# /usr/bin/engine-backup --mode=restore --scope=all --file=/rhevm-backup/backup.30-08-2016-20_50.tar.bz2 --log=/rhevm-backup/backup.30-08-2016-20_50.log Preparing to restore: - Unpacking file '/rhevm-backup/backup.30-08-2016-20_50.tar.bz2' FATAL: Please pass one of --restore-permissions or --no-restore-permissions when restoring a backup with a custom dump format
Is this fixed in any release already?
(In reply to Yaniv Dary from comment #2) > Is this fixed in any release already? No.
The default should be '--no-restore-permissions' and some text should show we don't restore the permissions.
Won't make it for 4.1.0, postponing to 4.1.1
*** This bug has been marked as a duplicate of bug 1331016 ***
Closing old bugs, please reopen if still relevant. We will reconsider if more customer request this.
This bug is also partially handled by bug 1530031.
BZ<2>Jira Resync