Bareos 19.2 rostore catalog backup

107 views
Skip to first unread message

cocolocko

unread,
Jan 17, 2021, 10:37:13 AM1/17/21
to bareos-users
Hello together,
how is it possible to use a catalog backup without bareos restore?
My problem is the my database is completely corrupt and i need to recover the database manualy.
How can i extract the bareos.sql file from bareos backup-file?
Thank you
Greetings

Brock Palen

unread,
Jan 17, 2021, 11:13:53 AM1/17/21
to cocolocko, bareos-users
Assuming you have an easy to access volume you know has a recent catalog backup on it you can use a command like bextract

https://docs.bareos.org/Appendix/BareosPrograms.html#bextract

If you need to scan the volumes for backups to find it bscan etc.

Be sure to read over https://docs.bareos.org/Appendix/Troubleshooting.html#section-restorecatalog

One thing to check if it was corrupted after the last backup if you are using the stock catalog_dump (?) script the .sql file it creates might still live on your filesystem. If the corruption was found later or that file doesn’t exist you will need to use the above commands.


Brock Palen
bro...@mlds-networks.com
www.mlds-networks.com
Websites, Linux, Hosting, Joomla, Consulting
> --
> You received this message because you are subscribed to the Google Groups "bareos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/71783834-d747-4067-a2ae-f8538437ee12n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages