Recover deleted volume

16 views
Skip to first unread message

Денис Ходарев

unread,
Jun 27, 2025, 12:53:07 PM6/27/25
to bareos-users
good evening

via bconsole deleted volume with command

delete volume=ai-consolidated-trest-1

how to restore volume in bareos?

via bconsole I managed to return the volume to Bareos

for this I used the command

add pool= storage= volume=ai-consolidated-trest-1

but Bareos does not see the files

Thank you

Bruno Friedmann (bruno-at-bareos)

unread,
Jun 30, 2025, 3:52:56 AM6/30/25
to bareos-users
What you do is just recreating an empty new volume with just the same name.
As it is empty you won't get the files records in your previous volume.
You can of course restore your catalog to the previous state, because you have a dump of it right ?

You might try to reimport the missing volume with bscan
Please read carefully the following chapter in the documentation

Beware bscan is not the magical silver bullet, it might miss some information, especially in always incremental schema.
Reply all
Reply to author
Forward
0 new messages