Skip to content

Fix bscan handling of restore object data#516

Merged
sduehr merged 1 commit intobareos:masterfrom
sduehr:dev/sduehr/master/fix_bscan_restoreobjects
May 18, 2020
Merged

Fix bscan handling of restore object data#516
sduehr merged 1 commit intobareos:masterfrom
sduehr:dev/sduehr/master/fix_bscan_restoreobjects

Conversation

@sduehr
Copy link
Member

@sduehr sduehr commented May 12, 2020

When reading restore object data from a volume, bscan must set
ObjectType to 25 (FT_RESTORE_FIRST). This affects all plugins
that use restore objects.

I've noticed that the FileIndex column of the RestoreObject table does not get filled with sequential/unique values like it was after the original backup. However, this is obviously
irrelevant as the restore works successfully with this patch.

When reading restore object data from a volume, bscan must set
ObjectType to 25 (FT_RESTORE_FIRST). This affects all plugins
that use restore objects.
@sduehr sduehr merged commit 7acc4d7 into bareos:master May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant