Re: [Bacula-users] File storage: disk full, how to recover
2008-06-01 14:16:20
I've had this situation several times. What I did was delete the jobid's,
prune the volumes. You can than delete the volumes from the database and the
disk. Then rerun your jobs. I use the following scripts after deleting the
jobid's.
http://www.nabble.com/file/p17588454/pruneall pruneall
http://www.nabble.com/file/p17588454/delpurged delpurged
Greetings,
Pieter
Peggy Wilkins wrote:
>
> During last night's backup run I ran out of space on a file storage
> device. I have a general idea of how I'd like to recover from that,
> but I'm not feeling confident about what I'm doing. Here is what I
> plan on doing; I would appreciate comments and advice about it, so I
> can "do the right thing". Here is what I'm thinking now:
>
> First, (obviously) I will make sufficient disk space available; this
> is not a problem, I can move some data elsewhere.
>
> I would like to delete last night's erred job from the catalog (in
> bconsole: "delete jobid=<JobID>"), then re-run the job manually.
>
> The effects of deleting the jobid is the part I'm most uncertain
> about. I assume after I delete the jobid, I can simply delete (via a
> shell) any volumes the job wrote to, that have no other data on them.
> Is this OK to do, or are these volumes expected to remain in existence
> for later use?
>
> If the volumes must remain, I would like to truncate them (since they
> are files) to open up more space. I'm guessing that truncating is OK,
> but I might have to manually update the volume status; if that is
> required, what status should they be updated to?
>
> I think my questions here are due to my not having a full/detailed
> picture of how all the catalog parts interrelate; so I'm not really
> sure what the consequences of deleting a jobid will be; or maybe
> that's even the wrong thing to do.
>
> Thanks in advance for any help!
>
> I include below the output from last night's erred job.
> BTW this is bacula Version: 2.2.8 for both clients and director,
> running on FreeBSD.
>
>
--
View this message in context:
http://www.nabble.com/File-storage%3A-disk-full%2C-how-to-recover-tp17587792p17588454.html
Sent from the Bacula - Users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|