Re: [Bacula-users] Recovery from only one storage
Has anyone done this with Baculum? W dniu 11.04.2023 o 09:15, Josip Deanovic pisze: You can use command "restore copies" in the bconsole tool. Then you can chose the time of the targeted restore and targeted client. From the output you will be able to see jobs with their respective MediaType which can be used to determine the pool of a particular job. Once you determine the job IDs you want to restore, you can use the command like this: "restore jobid=130286,130836,131808,131826,132591" in the bconsole tool. The rest of the restore goes as usual. It is a bit complicated procedure but it works. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Multiple Restore jobs
Hi all, The default bacula-dir.conf provided with new Bacula installation has only one RestoreFile job defined. This was sufficient for us till now, but at the moment there is need to run multiple Restore jobs simultaneously. Can we achieve this by defining multiple Restore jobs? Thanks Yateen Bhagat ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Deleting Obsolete Volumes
I have some disk volumes that are not associated with any job but have not yet reached their expiry time so they are not being pruned. These were created by a job run that was deleted. It seems deleting a job run doesn't purge the associated volumes. I would like to delete these now obsolete volumes from disk and recover the space used. I thought the prune command would do this but it doesn't find the obsolete volumes, presumably because they haven't reached their expiry time. I thought perhaps the bls -j utility might help but it is extremely slow and produces much unwanted output that is difficult to parse out. How could I list these obsolete volumes so I could script a delete from catalog and rm the volume files? Thanks Chris Wilkinson ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Deleting a completed job and its associated S3 storage?
Hello, Is it possible to delete a completed job and free the associated S3 storage in the Volume? The volume contains the parts from multiple jobs, so deleting the whole volume is out. I looked in the manual about purging and truncating the volume but couldn’t find details about exactly what those commands do, which is somewhat frustrating. Any help would be appreciated. Craig - CONFIDENTIAL- This email and any files transmitted with it are confidential, and may also be legally privileged. If you are not the intended recipient, you may not review, use, copy, or distribute this message. If you receive this email in error, please notify the sender immediately by reply email and then delete this email. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Recovery from only one storage
On 2023-04-11 07:30, Tomasz Świderski wrote: Can someone help me on this matter? W dniu 5.04.2023 o 13:07, Tomasz Świderski pisze: I have 2 jobs in Bacula connected to one client. Job 1 makes a copy to the hard drive (storage1) and Job 2 makes a copy to the magnetic tape (storage2). How during recovery, indicate that it should only recover e.g. from storage2? My scenario assumes, for example, that storage 1 is not available and I have to recover only from magnetic tapes (storage2). When in Baculum I choose, for example, Job2, and click Recovery, it shows me from my two storage on the list of required media. Hello Tomasz, You can use command "restore copies" in the bconsole tool. Then you can chose the time of the targeted restore and targeted client. From the output you will be able to see jobs with their respective MediaType which can be used to determine the pool of a particular job. Once you determine the job IDs you want to restore, you can use the command like this: "restore jobid=130286,130836,131808,131826,132591" in the bconsole tool. The rest of the restore goes as usual. It is a bit complicated procedure but it works. Regards! -- Josip Deanovic ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] password for user bacula
On 2023-04-11 04:51, Yateen Shaligram Bhagat (Nokia) wrote: Thanks Bill, much appreciated. I assume adding password and shell to bacula user does not cause any harm to the bacula functionality Hello, It will not harm bacula functionality but I doubt you need to do that. If you need some commands to be executed by user bacula from shell scripts, I would recommend utilizing sudo command. In addition to what Bill said, if you just need to become bacula user temporary, you could use the command: su -s /bin/bash - bacula It is useful when you want to check if the user can actually access some file or directory or when debugging bacula services. Regards -- Josip Deanovic ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users