Bug 1331016 - restoring files scope needs --restore-permissions/--no-restore-permissions
Summary: restoring files scope needs --restore-permissions/--no-restore-permissions
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backup-Restore.Engine
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Yedidyah Bar David
QA Contact: Aleksei Slaikovskii
URL:
Whiteboard:
Depends On:
Blocks: 1371658
TreeView+ depends on / blocked
 
Reported: 2016-04-27 13:02 UTC by Jiri Belka
Modified: 2022-02-25 08:24 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-25 07:29:04 UTC
oVirt Team: Integration
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-44906 0 None None None 2022-02-25 08:24:57 UTC

Description Jiri Belka 2016-04-27 13:02:25 UTC
Description of problem:

the following does not make sense for me as it is related to pg_dump

# 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):
ovirt-engine-tools-backup-4.0.0-0.0.master.20160427051413.git340728a.el7.centos.noarch

How reproducible:
100%

Steps to Reproduce:
1. run the command above
2.
3.

Actual results:
requires unrelated option to files' scope

Expected results:
the command above should pass / files scope does not need any PG related option

Additional info:

Comment 1 Yaniv Lavi 2016-05-23 13:16:02 UTC
oVirt 4.0 beta has been released, moving to RC milestone.

Comment 2 Yaniv Lavi 2016-05-23 13:19:53 UTC
oVirt 4.0 beta has been released, moving to RC milestone.

Comment 3 Yaniv Lavi 2016-06-02 08:29:08 UTC
We added a help for these flags, please test that this is resolved.

Comment 4 Yedidyah Bar David 2016-06-02 09:37:59 UTC
It's a real bug. It's not related to the bug about --help.

Restoring files should not require one of these options but it currently does.

Comment 6 Yaniv Lavi 2017-02-06 10:54:09 UTC
*** Bug 1371658 has been marked as a duplicate of this bug. ***

Comment 7 Yaniv Lavi 2018-06-25 07:29:04 UTC
Closing old bugs.
Please reopen if still relevant.
Patches are welcomed.


Note You need to log in before you can comment on or make changes to this bug.