Restoration after bareos server destruction

81 views
Skip to first unread message

Henry Matroé

unread,
Jun 8, 2021, 7:38:26 AM6/8/21
to bareos-users

Hello,


I would like to know the exact procedure to restore Bareos if it is destroyed: We currently have a bareos server which backs up several linux clients to external disks.

I need to know how to properly perform a bareos recovery with all customer data available through web-ui.
I read and reread the bareos document, as well as this forum and I did not find anything conclusive.

I write the bootstrap on the external volumes with its backups. I perform a CatalogBackup every night in a new pool (catalog.conf) to be able to launch the command:
bextract -b /media/iscsi/Catalogue.bsr
I have the "bareos.sql" but the invert dump doesn't work.

Can you help me please with that porbleme? Because until I have carried out conclusive tests, I cannot propose a solution to put into production.

Thank you

Oleg Volkov

unread,
Jun 8, 2021, 1:47:54 PM6/8/21
to bareos-users
I did that for not recent version of bareos:

Henry Matroé

unread,
Jun 9, 2021, 7:34:26 AM6/9/21
to bareos-users
Hi Voleg ans thank you.

I tried again with bootstrap and it's works!!

BUT, all my files and directory have wrong ACL :

2021-06-09 13_30_25_home_restore2.png
 
I don't know why : The new client have the same configuration and is in the same Domain than the previous. So, if someone have the solution...

Thank you so much for you help and have a great day

regards.

Henry Matroé

unread,
Jun 9, 2021, 7:42:51 AM6/9/21
to bareos-users
Ho and for all the folder (ONLY on foldder), i have this message during restoration :

bextract JobId 0: Warning: findlib/mkpath.cc:102 Cannot change owner and/or group of   <PATH EXAMPLE> ERR=permission denied

James Youngman

unread,
Jun 9, 2021, 8:19:31 AM6/9/21
to Henry Matroé, bareos-users
On Wed, Jun 9, 2021 at 12:42 PM Henry Matroé <henry....@gmail.com> wrote:
>
> Ho and for all the folder (ONLY on foldder), i have this message during restoration :
>
> bextract JobId 0: Warning: findlib/mkpath.cc:102 Cannot change owner and/or group of <PATH EXAMPLE> ERR=permission denied
>

As what user did you run bextract? Normally the use of chown(2) is
restricted to root. On Linux the necessary capability is CAP_CHOWN,
see "man 7 capabilities" - but root will hold the CAP_CHOWN
capability.

James.

Henry Matroé

unread,
Jun 9, 2021, 8:45:19 AM6/9/21
to bareos-users
I only use root on my bareos server (debian 10).

Thank you for the document (man7), i will read later and test with this new knowledge
Reply all
Reply to author
Forward
0 new messages