Discussion:
Aw: [bareos-users] Re: reset completely
Andreas Haase
2018-11-24 10:37:31 UTC
Permalink
Good morning,
I have a bareos-installation 17.2.6 on UCS 4.3-2.
Due to manual interventions in volumes and jobs, the backup is inconsistent. I've made a full backup of all the data outside bareos and now want to reset bareos completely. What is the simplest way to do this?
with best
sven
sounds good. deleting the physical tapes is not a problem. Is there's a command to delete the catalog (volumes jobs ...) or how do I delete them fastest without having to delete each volume and job one at a time?
--
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 post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
you could delete the database completely. It only contains items out of your configuration (which stays in /etc/bareos or some similiar directory) and the meta information you want to delete (jobs, files, retention time and so one). So it is save to delete the database. Afterwards, you have to create it anew like documented here http://doc.bareos.org/master/html/bareos-manual-main-reference.html#x1-400002.4

Regards,
Andreas
--
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 post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sven Gehr
2018-11-25 08:51:59 UTC
Permalink
ok, I delete all volumes and jobs in the db with bconsole and the volumes in the fs.

How can I reste the counter for next volume an jobid in bareos that the next job become id 0001 and the Volumes Full-0001, Diff-0001 and Inc-0001
--
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 post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Bruno Friedmann
2018-11-25 14:04:44 UTC
Permalink
Post by Sven Gehr
ok, I delete all volumes and jobs in the db with bconsole and the volumes in the fs.
How can I reste the counter for next volume an jobid in bareos that the next
job become id 0001 and the Volumes Full-0001, Diff-0001 and Inc-0001
wouldn't be more quicker to simply drop database, then all filesystem volumes
and simply recreate the database ?
--
Bruno Friedmann
Ioda-Net Sàrl www.ioda-net.ch
Bareos Partner, openSUSE Member, fsfe fellowship
GPG KEY : D5C9B751C4653227
irc: tigerfoot

openSUSE Tumbleweed
Linux 4.16.9-1-default x86_64 GNU/Linux, nvidia: 390.59
Qt: 5.10.0, KDE Frameworks: 5.46.0, Plasma: 5.12.5, kmail2 5.8.1
--
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 post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...