Re: [Bacula-users] bizarre problem with bacula storages

2015-11-24 Thread stefano scotti
elect distinct MediaId from JobMedia where JobId in > (X1, X2, X2) ); > > > Best Regards Wanderlei > > > 2015-11-23 17:45 GMT-02:00 stefano scotti : > >> Hello everyone, >> >> im using bacula 5.2, i hope it isnt too old for you to give me an answer. >>

[Bacula-users] bizarre problem with bacula storages

2015-11-23 Thread stefano scotti
Hello everyone, im using bacula 5.2, i hope it isnt too old for you to give me an answer. the problem is this: when i try to restore from a job which refers to a storage named "storage_good", it returns an error saying that the task cannot be performed, because storage resource cannot be found..

Re: [Bacula-users] Bacula Loading Tape at the Wrong Library

2014-08-18 Thread stefano scotti
hello, i used to have the same problem and i solved it with "raw" sql queries like that : update Media set MediaType="new_type" where mediatype="old_type"; i didnt found other methods, neither through the bconsole program. On Mon, Aug 18, 2014 at 1:24 PM, Vinicius Alexandre Pereira de Souza < v

Re: [Bacula-users] Restores fail because of multiple storages

2013-12-17 Thread stefano scotti
2013/12/17 Uwe Schuerkamp > On Mon, Dec 16, 2013 at 05:09:18PM +0100, stefano scotti wrote: > > > > > > The problem here is that different storages refer to different > > directories, and Bacula pretends to find the new volume in the same > > directory

Re: [Bacula-users] Restores fail because of multiple storages

2013-12-16 Thread stefano scotti
2013/12/16 Uwe Schuerkamp > On Fri, Dec 13, 2013 at 04:43:29PM +0100, stefano scotti wrote: > > i took a step forward. > > > > i understood that the problem arise only if i try to restore a directory > > whose files are present in different volumes. > > if i try

Re: [Bacula-users] Restores fail because of multiple storages

2013-12-13 Thread stefano scotti
2013/12/13 John Drescher > > > > On Fri, Dec 13, 2013 at 10:43 AM, stefano scotti < > scottistefan...@gmail.com> wrote: > >> i took a step forward. >> >> i understood that the problem arise only if i try to restore a directory >> whose files

Re: [Bacula-users] Restores fail because of multiple storages

2013-12-13 Thread stefano scotti
2013/12/10 stefano scotti > Hello, > > I have different storages for different backup levels: > > Full: JobName_full > Differential: JobName_diff > Incremental: JobName_inc > > the problem is that when i try to restore a job that involve different > storages, B

[Bacula-users] Restores fail because of multiple storages

2013-12-10 Thread stefano scotti
Hello, I have different storages for different backup levels: Full: JobName_full Differential: JobName_diff Incremental: JobName_inc the problem is that when i try to restore a job that involve different storages, Bacula fails to change the storage device issuing this kind of error: 10-dic 17:4

[Bacula-users] Sometimes catalog backups fails with MySql Access Denied

2013-09-19 Thread stefano scotti
Hello list, My configuration include a different catalog for every client, every catalog has its own MySql user and password. This configuration works well, i only had to modify a little thing on make_catalog_backup.pl at row 47: my $dir_conf="/usr/sbin/dbcheck -B -c /etc/bacula/bacula-dir.conf

Re: [Bacula-users] Wrong storage proposed while restoring

2013-06-24 Thread stefano scotti
2013/6/24 James Harper > > Hello list, > > > > I have this annoying situation: while restoring, after selecting the > destination > > client, bacula proposes the following restore job parameters: > > > > JobName: RestoreFiles > > Bootstrap: /var/lib/bacula/hagrid-dir.restore.11.bsr

[Bacula-users] Wrong storage proposed while restoring

2013-06-24 Thread stefano scotti
Hello list, I have this annoying situation: while restoring, after selecting the destination client, bacula proposes the following restore job parameters: JobName: RestoreFiles Bootstrap: /var/lib/bacula/hagrid-dir.restore.11.bsr Where: /home/restores Replace: alwa

[Bacula-users] verify bacula compression

2013-04-10 Thread stefano scotti
Hello users, I've just add the directive *compression=GZIP*to all my filesets. now i suppose that all new backups will be compressed... but how can i be sure of that? I noticed that "messages" doesn't say anything about compression when the job has finished. How is it possible to verify that th

[Bacula-users] Error: sql_create.c Volume XXX already exist

2013-04-08 Thread stefano scotti
Hello users, I'm not able to run a full job because bacula gives me this error: 08-apr 16:37 hagrid-dir JobId 95: Start Backup JobId 95, Job=angel_highsites.2013-04-08_16.37.42_09 08-apr 16:37 hagrid-dir JobId 95: Error: sql_create.c:424 Volume "angel_highsites_full_1" already exists. 08-apr 16:3

Re: [Bacula-users] Migrate from 5.0.2 to 5.2.6 didn't upgrade all my catalogs

2013-04-08 Thread stefano scotti
2013/4/8 stefano scotti > > Hello Bacula users, > > I'm not able to use my old catalogs anymore because the upgrade process > upgraded only the database named "bacula" and not the other ones. > > I used the dist-upgrade from Debian 6 to Debian 7. > > D

[Bacula-users] Migrate from 5.0.2 to 5.2.6 didn't upgrade all my catalogs

2013-04-08 Thread stefano scotti
Hello Bacula users, I'm not able to use my old catalogs anymore because the upgrade process upgraded only the database named "bacula" and not the other ones. I used the dist-upgrade from Debian 6 to Debian 7. Do you know where i can find the scripts to migrate a mysql catalog from 5.0.2 to 5.2.6

[Bacula-users] strange Access Denied error while backing up catalogs

2013-03-08 Thread stefano scotti
Hi, I have a catalog for each client. Sometime when i back up a catalog i receive a fatal error, like for example: 08-mar 08:20 this-dir JobId 73: shell command: run BeforeJob "/etc/bacula/scripts/make_catalog_backup.pl FIRSTCLIENT_catalog" 08-mar 08:20 this-dir JobId 73: BeforeJob: mysqldump: Go

Re: [Bacula-users] Problem with concurrent mixed priority jobs

2013-03-06 Thread stefano scotti
2013/3/6 Uwe Schuerkamp > On Tue, Mar 05, 2013 at 04:07:36PM +0100, stefano scotti wrote: > > > > I'm using mixed priorities because i want to handle the case in which all > > job slots are occupied. > > > > For example, if there are only a free

Re: [Bacula-users] Problem with concurrent mixed priority jobs

2013-03-05 Thread stefano scotti
2013/3/5 Uwe Schuerkamp > On Tue, Mar 05, 2013 at 03:19:29PM +0100, stefano scotti wrote: > > Hi, > > > > My director allows 5 concurrent jobs, and each job has *Allow Mixed > Priority > > * set to yes. > > > > My aim is that even if a slow job takes a

[Bacula-users] Problem with concurrent mixed priority jobs

2013-03-05 Thread stefano scotti
Hi, My director allows 5 concurrent jobs, and each job has *Allow Mixed Priority * set to yes. My aim is that even if a slow job takes a lot of time to finish, there will be other 4 job slots to use so that the backup system can still work despite of a really really slow job. So i can have 4 slo

Re: [Bacula-users] List all JOBS of every CATALOGS

2013-03-05 Thread stefano scotti
2013/3/5 Dan Langille > > On Mar 4, 2013, at 5:00 PM, stefano scotti wrote: > > > Hi, > > > > is it possible to list jobs for every catalogs? > > > > the command "list jobs" list only the jobs of the catalog selected by > > the command &q

[Bacula-users] List all JOBS of every CATALOGS

2013-03-04 Thread stefano scotti
Hi, is it possible to list jobs for every catalogs? the command "list jobs" list only the jobs of the catalog selected by the command "use". Thanks. -- Everyone hates slow websites. So do we. Make your web apps faster w

Re: [Bacula-users] expand Since Time on Client Run Before Job

2013-02-08 Thread stefano scotti
2013/2/7 yashmika lamahewage > > > 2013/2/6 stefano scotti > >> >> Hi everybody, >> >> i'm trying to pass the since time as a parameter to my client side script >> before running the job. >> the user guide says that the related substitutio

[Bacula-users] expand Since Time on Client Run Before Job

2013-02-06 Thread stefano scotti
Hi everybody, i'm trying to pass the since time as a parameter to my client side script before running the job. the user guide says that the related substitution character is "%s". now, i know that not every variable expansion can be done on client side, in fact the user guide specifies that list

[Bacula-users] Using more than a single catalog in bconsole

2013-02-05 Thread stefano scotti
Hello list, I have a catalog for each client and sometime i'd like to list all jobs stored in every catalog at the same time. I noticed that the command "use" doesn't permit that: **help use Command Description === === use Use catalog xxx Arguments:* It

Re: [Bacula-users] Set more then 3 pools in a backup job

2013-01-29 Thread stefano scotti
2013/1/28 Adrian Reyer > On Mon, Jan 28, 2013 at 04:21:24PM +0100, stefano scotti wrote: > > There are 4 different rotation rules and schedules... not three. > > How am i supposed to solve this? > > With my own scripts, i would define 4 pools, and a job type for each >

Re: [Bacula-users] Set more then 3 pools in a backup job

2013-01-28 Thread stefano scotti
2013/1/28 Dan Langille > > On Jan 28, 2013, at 11:50 AM, stefano scotti wrote: > > 2013/1/28 Dan Langille > >> >> On Jan 28, 2013, at 11:16 AM, stefano scotti wrote: >> >> 2013/1/28 Dan Langille >> >>> >>> On Jan 28, 2013,

Re: [Bacula-users] Set more then 3 pools in a backup job

2013-01-28 Thread stefano scotti
s which persist 1 month, and 3-hourly backups which persist only 2 days. Is there a different solution to achieve that instead of using 2 different pools? Thank you again. 2013/1/28 Dan Langille > > On Jan 28, 2013, at 11:16 AM, stefano scotti wrote: > > 2013/1/28 Dan Langille >

Re: [Bacula-users] Set more then 3 pools in a backup job

2013-01-28 Thread stefano scotti
u: why do you think that is useless to run incremental every three hours and then again daily? Hourly backups have different retention periods than daily ones, that's why i have to store them in different pools. Thank you again for your help. 2013/1/28 Dan Langille > > On

[Bacula-users] Set more then 3 pools in a backup job

2013-01-28 Thread stefano scotti
Hi everybody, I've been using Bacula for 1 year, before then i used to write my own scripts. I see, and correct me if i am wrong, that bacula allow only a maximum of 3 backup levels: Level 0: Full Level 1: Differential Level 2: Incremental This means a maximum of 3 pools per job. Now,