Re: [Bacula-users] NFS mount back ups?

2015-05-08 Thread Romer Ventura
Oooohh….. I just noticed… Software compression is 85.8%... That might be why… 
But I don’t get why the ration is so high…

 

From: Kern Sibbald [mailto:k...@sibbald.com] 
Sent: Friday, May 08, 2015 1:28 AM
To: Romer Ventura
Cc: 'bacula-users'
Subject: Re: [Bacula-users] NFS mount back ups?

 

The fstype = nfs may be restricting the directories to be backed up more than 
you expect.  You can probably see what is going on with an estimate listing 
... command.

On 07.05.2015 22:57, Romer Ventura wrote:

Well, my file set is pretty simple:

FileSet {

Name = M2KFileSet

  Include {

Options {

  signature = MD5

  compression = GZIP

  onefs = no

  fstype = nfs

}

File = /mnt/nfs/hsigux

  }

}

 

I find it hard to believe it’s compressing 33GB of data down to 3GB.. haha

 

Back up level is always full for this job, if I go into restore, it appears all 
files have been copied. It’s just there are so many I cant really easily notice 
if anything was omitted.. I did noticed some files have different owner and 
group. There are some like:

drwxrwxr-x  14 111  75

drwxrwxr-x   9 111  75  

drwxr-xr-x   2 root root  

drwxr-xr-x   3 root 75

drwxr-xr-x   9 113  ntp  

 

Maybe the root mapping on NFS is not working right, but if that was the case 
bacula would complain about it like it did before. 

 

Thanks

 

From: John Lockard [mailto:jlock...@umich.edu] 
Sent: Thursday, May 07, 2015 2:48 PM
To: Romer Ventura
Cc: bacula-users
Subject: Re: [Bacula-users] NFS mount back ups?

 

Compression?

Backup level (files not backed up because they haven't been changed)?

Exclusions?

Have you gone through a full list of files to be backed up and a full list of 
the files which were actually backed up?

 

On Thu, May 7, 2015 at 1:42 PM, Romer Ventura rvent...@h-st.com 
mailto:rvent...@h-st.com  wrote:

Hello,

 

I have 2 HP-UX 11.31 and I have ERP data I need to back up on those systems. 
Since there is no client for it, I decided to copy the files to a temp location 
every night, and export that temp folder via NFS. I mount these exports into my 
bacula server and set it up so that it backs up those mount point. 

 

Everything seems to be working, however, the total size of the ERP data is 
about 33GB, but bacula is only copying 3.2GB, I see no errors in the bacula 
app, logs or the bacula server itself. There are no errors on any of the HP-UX 
servers either..

 

Any ideas on what to do? Or detect why bacula it is stopping at 3.2GB and 
marking the job as OK..?

 

Thanks


--
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net mailto:Bacula-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/bacula-users




-- 

---
 John M. Lockard |  U of Michigan - School of Information
  Unix Sys Admin |  Suite 205 | 309 Maynard Street
  jlock...@umich.edu mailto:jlock...@umich.edu  |Ann Arbor, MI  
48104-2211
 www.umich.edu/~jlockard http://www.umich.edu/%7Ejlockard  | 734-936-7255 
| 734-763-9677 FAX
---
- The University of Michigan will never ask you for your password -






--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y






___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net mailto:Bacula-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/bacula-users

 


BR CLEAR=ALL
hr style=border: 1px solid #CCC;
p style=font-style:italic; font-size:8pt; font-family:verdana; 
color:gray;This document and attachments may contain technical data 
controlled under the U.S. International Traffic in Arms Regulations (ITAR) or 
the Export Administration Regulations (EAR) and may not be exported to a 
Foreign Person, either in the U.S. or abroad, without the proper authorization 
by the U.S. Department of State or Department of Commerce, whichever is 
applicable.
CONFIDENTIALITY NOTE: This electronic transmission, including all attachments, 
is directed in confidence solely

Re: [Bacula-users] NFS mount back ups?

2015-05-08 Thread Romer Ventura
Yeah, I actually thought about that. So I did an estimate and it came up with:

2000 OK estimate files=49,851 bytes=23,481,423,809

 

Didn’t do a estimate listing till you mentioned it, here it is:

2000 OK estimate files=49,851 bytes=23,481,423,809

 

 

I cant omit the fstype = nfs, as bacula will fail since bacula checks for that.

 

From: Kern Sibbald [mailto:k...@sibbald.com] 
Sent: Friday, May 08, 2015 1:28 AM
To: Romer Ventura
Cc: 'bacula-users'
Subject: Re: [Bacula-users] NFS mount back ups?

 

The fstype = nfs may be restricting the directories to be backed up more than 
you expect.  You can probably see what is going on with an estimate listing 
... command.

On 07.05.2015 22:57, Romer Ventura wrote:

Well, my file set is pretty simple:

FileSet {

Name = M2KFileSet

  Include {

Options {

  signature = MD5

  compression = GZIP

  onefs = no

  fstype = nfs

}

File = /mnt/nfs/hsigux

  }

}

 

I find it hard to believe it’s compressing 33GB of data down to 3GB.. haha

 

Back up level is always full for this job, if I go into restore, it appears all 
files have been copied. It’s just there are so many I cant really easily notice 
if anything was omitted.. I did noticed some files have different owner and 
group. There are some like:

drwxrwxr-x  14 111  75

drwxrwxr-x   9 111  75  

drwxr-xr-x   2 root root  

drwxr-xr-x   3 root 75

drwxr-xr-x   9 113  ntp  

 

Maybe the root mapping on NFS is not working right, but if that was the case 
bacula would complain about it like it did before. 

 

Thanks

 

From: John Lockard [mailto:jlock...@umich.edu] 
Sent: Thursday, May 07, 2015 2:48 PM
To: Romer Ventura
Cc: bacula-users
Subject: Re: [Bacula-users] NFS mount back ups?

 

Compression?

Backup level (files not backed up because they haven't been changed)?

Exclusions?

Have you gone through a full list of files to be backed up and a full list of 
the files which were actually backed up?

 

On Thu, May 7, 2015 at 1:42 PM, Romer Ventura rvent...@h-st.com 
mailto:rvent...@h-st.com  wrote:

Hello,

 

I have 2 HP-UX 11.31 and I have ERP data I need to back up on those systems. 
Since there is no client for it, I decided to copy the files to a temp location 
every night, and export that temp folder via NFS. I mount these exports into my 
bacula server and set it up so that it backs up those mount point. 

 

Everything seems to be working, however, the total size of the ERP data is 
about 33GB, but bacula is only copying 3.2GB, I see no errors in the bacula 
app, logs or the bacula server itself. There are no errors on any of the HP-UX 
servers either..

 

Any ideas on what to do? Or detect why bacula it is stopping at 3.2GB and 
marking the job as OK..?

 

Thanks


--
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net mailto:Bacula-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/bacula-users




-- 

---
 John M. Lockard |  U of Michigan - School of Information
  Unix Sys Admin |  Suite 205 | 309 Maynard Street
  jlock...@umich.edu mailto:jlock...@umich.edu  |Ann Arbor, MI  
48104-2211
 www.umich.edu/~jlockard http://www.umich.edu/%7Ejlockard  | 734-936-7255 
| 734-763-9677 FAX
---
- The University of Michigan will never ask you for your password -






--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y






___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net mailto:Bacula-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/bacula-users

 


BR CLEAR=ALL
hr style=border: 1px solid #CCC;
p style=font-style:italic; font-size:8pt; font-family:verdana; 
color:gray;This document and attachments may contain technical data 
controlled under the U.S. International Traffic in Arms Regulations (ITAR) or 
the Export Administration Regulations (EAR) and may not be exported to a 
Foreign Person, either in the U.S. or abroad, without

Re: [Bacula-users] NFS mount back ups?

2015-05-08 Thread Romer Ventura
Well, I did a full restore and tested random files and everything works fine. 
It was the software compression.. ha.. 

 

Thanks for all the help everyone.

 

From: Luc Van der Veken [mailto:luc...@wimionline.com] 
Sent: Friday, May 08, 2015 9:31 AM
To: 'bacula-users'
Subject: Re: [Bacula-users] NFS mount back ups?

 

Romer Ventura said:

 I cant omit the fstype = nfs, as bacula will fail since bacula checks for 
 that.

 

[Based on version 5.x]

I think bacula will check the file system type _only_ if you specify it, and 
default to “everything” when you omit it.

You can’t even use it for Windows clients.

 

I don’t specify ‘fstype=’ anywhere, and my backups run fine, of local disks as 
well as NFS shares (that’s how I back up a NAS on which I can’t install a file 
daemon).

 

As far as I understood it, it is optional; you can specify zero, one or more 
filesystem types to include; and the main (or only) reason why it exists is so 
you can avoid getting into an endless loop traversing mount points when you set 
onefs = no.

 

 

From: Romer Ventura [mailto:rvent...@h-st.com] 
Sent: 08 May 2015 15:47
To: 'Kern Sibbald'
Cc: 'bacula-users'
Subject: Re: [Bacula-users] NFS mount back ups?

 

Yeah, I actually thought about that. So I did an estimate and it came up with:

2000 OK estimate files=49,851 bytes=23,481,423,809

 

Didn’t do a estimate listing till you mentioned it, here it is:

2000 OK estimate files=49,851 bytes=23,481,423,809

 

 

I cant omit the fstype = nfs, as bacula will fail since bacula checks for that.

 

From: Kern Sibbald [mailto:k...@sibbald.com] 
Sent: Friday, May 08, 2015 1:28 AM
To: Romer Ventura
Cc: 'bacula-users'
Subject: Re: [Bacula-users] NFS mount back ups?

 

The fstype = nfs may be restricting the directories to be backed up more than 
you expect.  You can probably see what is going on with an estimate listing 
... command.

On 07.05.2015 22:57, Romer Ventura wrote:

Well, my file set is pretty simple:

FileSet {

Name = M2KFileSet

  Include {

Options {

  signature = MD5

  compression = GZIP

  onefs = no

  fstype = nfs

}

File = /mnt/nfs/hsigux

  }

}

 

I find it hard to believe it’s compressing 33GB of data down to 3GB.. haha

 

Back up level is always full for this job, if I go into restore, it appears all 
files have been copied. It’s just there are so many I cant really easily notice 
if anything was omitted.. I did noticed some files have different owner and 
group. There are some like:

drwxrwxr-x  14 111  75

drwxrwxr-x   9 111  75  

drwxr-xr-x   2 root root  

drwxr-xr-x   3 root 75

drwxr-xr-x   9 113  ntp  

 

Maybe the root mapping on NFS is not working right, but if that was the case 
bacula would complain about it like it did before. 

 

Thanks

 

From: John Lockard [mailto:jlock...@umich.edu] 
Sent: Thursday, May 07, 2015 2:48 PM
To: Romer Ventura
Cc: bacula-users
Subject: Re: [Bacula-users] NFS mount back ups?

 

Compression?

Backup level (files not backed up because they haven't been changed)?

Exclusions?

Have you gone through a full list of files to be backed up and a full list of 
the files which were actually backed up?

 

On Thu, May 7, 2015 at 1:42 PM, Romer Ventura rvent...@h-st.com 
mailto:rvent...@h-st.com  wrote:

Hello,

 

I have 2 HP-UX 11.31 and I have ERP data I need to back up on those systems. 
Since there is no client for it, I decided to copy the files to a temp location 
every night, and export that temp folder via NFS. I mount these exports into my 
bacula server and set it up so that it backs up those mount point. 

 

Everything seems to be working, however, the total size of the ERP data is 
about 33GB, but bacula is only copying 3.2GB, I see no errors in the bacula 
app, logs or the bacula server itself. There are no errors on any of the HP-UX 
servers either..

 

Any ideas on what to do? Or detect why bacula it is stopping at 3.2GB and 
marking the job as OK..?

 

Thanks


--
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net mailto:Bacula-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/bacula-users




-- 

---
 John M. Lockard |  U of Michigan - School of Information
  Unix Sys Admin |  Suite 205 | 309 Maynard Street
  jlock...@umich.edu mailto:jlock...@umich.edu  |Ann Arbor, MI  
48104-2211
 www.umich.edu/~jlockard http://www.umich.edu

[Bacula-users] NFS mount back ups?

2015-05-07 Thread Romer Ventura
Hello,

 

I have 2 HP-UX 11.31 and I have ERP data I need to back up on those systems.
Since there is no client for it, I decided to copy the files to a temp
location every night, and export that temp folder via NFS. I mount these
exports into my bacula server and set it up so that it backs up those mount
point. 

 

Everything seems to be working, however, the total size of the ERP data is
about 33GB, but bacula is only copying 3.2GB, I see no errors in the bacula
app, logs or the bacula server itself. There are no errors on any of the
HP-UX servers either..

 

Any ideas on what to do? Or detect why bacula it is stopping at 3.2GB and
marking the job as OK..?

 

Thanks

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] NFS mount back ups?

2015-05-07 Thread Romer Ventura
Well, my file set is pretty simple:

FileSet {

Name = M2KFileSet

  Include {

Options {

  signature = MD5

  compression = GZIP

  onefs = no

  fstype = nfs

}

File = /mnt/nfs/hsigux

  }

}

 

I find it hard to believe it’s compressing 33GB of data down to 3GB.. haha

 

Back up level is always full for this job, if I go into restore, it appears all 
files have been copied. It’s just there are so many I cant really easily notice 
if anything was omitted.. I did noticed some files have different owner and 
group. There are some like:

drwxrwxr-x  14 111  75

drwxrwxr-x   9 111  75  

drwxr-xr-x   2 root root  

drwxr-xr-x   3 root 75

drwxr-xr-x   9 113  ntp  

 

Maybe the root mapping on NFS is not working right, but if that was the case 
bacula would complain about it like it did before. 

 

Thanks

 

From: John Lockard [mailto:jlock...@umich.edu] 
Sent: Thursday, May 07, 2015 2:48 PM
To: Romer Ventura
Cc: bacula-users
Subject: Re: [Bacula-users] NFS mount back ups?

 

Compression?

Backup level (files not backed up because they haven't been changed)?

Exclusions?

Have you gone through a full list of files to be backed up and a full list of 
the files which were actually backed up?

 

On Thu, May 7, 2015 at 1:42 PM, Romer Ventura rvent...@h-st.com 
mailto:rvent...@h-st.com  wrote:

Hello,

 

I have 2 HP-UX 11.31 and I have ERP data I need to back up on those systems. 
Since there is no client for it, I decided to copy the files to a temp location 
every night, and export that temp folder via NFS. I mount these exports into my 
bacula server and set it up so that it backs up those mount point. 

 

Everything seems to be working, however, the total size of the ERP data is 
about 33GB, but bacula is only copying 3.2GB, I see no errors in the bacula 
app, logs or the bacula server itself. There are no errors on any of the HP-UX 
servers either..

 

Any ideas on what to do? Or detect why bacula it is stopping at 3.2GB and 
marking the job as OK..?

 

Thanks


--
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net mailto:Bacula-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/bacula-users




-- 

---
 John M. Lockard |  U of Michigan - School of Information
  Unix Sys Admin |  Suite 205 | 309 Maynard Street
  jlock...@umich.edu mailto:jlock...@umich.edu  |Ann Arbor, MI  
48104-2211
 www.umich.edu/~jlockard http://www.umich.edu/%7Ejlockard  | 734-936-7255 
| 734-763-9677 FAX
---
- The University of Michigan will never ask you for your password -

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula job keeps using the same volume

2014-12-10 Thread Romer Ventura
Hello,

 

One of my jobs got stuck using the same volume. I have it setup so that a
new volume is created and used every time a job runs, but this one got
stuck.

 

-rw-r- 1 bacula tape   4.4G Nov 27 13:26
SERVER-H44Inc-2014-1123-1272-222

-rw-r- 1 bacula tape   1.1M Nov 27 19:18 SERVER
-H44Inc-2014-1123-1272-223

-rw-r- 1 bacula tape   1.1M Nov 28 19:19 SERVER
-H44Inc-2014-1123-1272-224

-rw-r- 1 bacula tape   310M Dec  1 19:20 SERVER
-H44Inc-2014-1123-1272-225

-rw-r- 1 bacula tape   593M Dec  2 19:21 SERVER
-H44Inc-2014-1123-1272-226

-rw-r- 1 bacula tape   315M Dec  3 19:20 SERVER
-H44Inc-2014-1123-1272-227

-rw-r- 1 bacula tape   428M Dec  4 19:20 SERVER
-H44Inc-2014-1123-1272-228

-rw-r- 1 bacula tape   291M Dec  5 19:20 SERVER
-H44Inc-2014-1123-1272-229

-rw-r- 1 bacula tape   482M Dec  8 19:20 SERVER
-H44Inc-2014-1123-1272-230

-rw-r- 1 bacula tape   332M Dec  9 19:20 SERVER
-H44Inc-2014-1123-1272-231

 

Status dir show:

Scheduled Jobs:

Level  Type Pri  Scheduled  Name   Volume


===

IncrementalBackup10  10-Dec-14 18:33H46Job *unknown*

IncrementalBackup10  10-Dec-14 18:33MimotJob   *unknown*

IncrementalBackup10  10-Dec-14 19:00H22Job *unknown*

IncrementalBackup10  10-Dec-14 19:00T70Job *unknown*

IncrementalBackup10  10-Dec-14 19:05H44Job
SERVER-H44Inc-2014-1123-1272-232

Full  Backup10  11-Dec-14 05:00CatalogBackup
*unknown*

 

Any ideas?

 

Thanks.


BR CLEAR=ALL
hr style=border: 1px solid #CCC;
p style=font-style:italic; font-size:8pt; font-family:verdana; 
color:gray;This document and attachments may contain technical data 
controlled under the U.S. International Traffic in Arms Regulations (ITAR) or 
the Export Administration Regulations (EAR) and may not be exported to a 
Foreign Person, either in the U.S. or abroad, without the proper authorization 
by the U.S. Department of State or Department of Commerce, whichever is 
applicable.
CONFIDENTIALITY NOTE: This electronic transmission, including all attachments, 
is directed in confidence solely to the person(s) to whom it is addressed, or 
an authorized recipient, and may not otherwise be distributed, copied or 
disclosed. The contents of the transmission may also be subject to intellectual 
property rights and such rights are expressly claimed and are not waived. If 
you have received this transmission in error, please notify the sender 
immediately by return electronic transmission and then immediately delete this 
transmission, including all attachments, without copying, distributing or 
disclosing same.  The recipient should check this e-mail and any attachments 
for the presence of viruses. Houston Sigma Technologies L.P. accepts no 
liability for any damage caused by any virus transmitted by this e-mail./p

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula job keeps using the same volume

2014-12-10 Thread Romer Ventura
 

 

From: Heitor Faria [mailto:hei...@bacula.com.br] 
Sent: Wednesday, December 10, 2014 12:01 PM
To: Romer Ventura
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Bacula job keeps using the same volume

 

One of my jobs got stuck using the same volume. I have it setup so that a new 
volume is created and used every time a job runs, but this one got stuck.

-rw-r- 1 bacula tape   4.4G Nov 27 13:26 SERVER-H44Inc-2014-1123-1272-222

-rw-r- 1 bacula tape   1.1M Nov 27 19:18 SERVER -H44Inc-2014-1123-1272-223

-rw-r- 1 bacula tape   1.1M Nov 28 19:19 SERVER -H44Inc-2014-1123-1272-224

-rw-r- 1 bacula tape   310M Dec  1 19:20 SERVER -H44Inc-2014-1123-1272-225

-rw-r- 1 bacula tape   593M Dec  2 19:21 SERVER -H44Inc-2014-1123-1272-226

-rw-r- 1 bacula tape   315M Dec  3 19:20 SERVER -H44Inc-2014-1123-1272-227

-rw-r- 1 bacula tape   428M Dec  4 19:20 SERVER -H44Inc-2014-1123-1272-228

-rw-r- 1 bacula tape   291M Dec  5 19:20 SERVER -H44Inc-2014-1123-1272-229

-rw-r- 1 bacula tape   482M Dec  8 19:20 SERVER -H44Inc-2014-1123-1272-230

-rw-r- 1 bacula tape   332M Dec  9 19:20 SERVER -H44Inc-2014-1123-1272-231



  _  


Hey Mr. Romer: could you please post the output of llist pool=pool_in_use 
bconsole command?

 

Regards,


Heitor Medrado de Faria - LPIC-III | ITIL-F

 tel:%2B55%2061%202021-8260 +55 61 2021-8260 |  tel:%2B55%2061%208268-4220 
8268-4220

Site:  http://www.bacula.com.br/ www.bacula.com.br | Facebook:  
http://www.facebook.com/heitor.faria heitor.faria | Gtalk:  
mailto:heitorfa...@gmail.com heitorfa...@gmail.com




Sure thing, here it is. Everything started to happen like this when a running 
job for this client and pool got stuck and lost connection to the client. I 
restarted the client and bacula, but this volume never did whst was originally 
doing.

 

*llist pool=H44Inc

  PoolId: 10

Name: H44Inc

 NumVols: 241

 MaxVols: 0

 UseOnce: 1

  UseCatalog: 1

AcceptAnyVolume: 0

VolRetention: 31,536,000

  VolUseDuration: 0

  MaxVolJobs: 1

 MaxVolBytes: 21,474,836,480

   AutoPrune: 1

 Recycle: 0

PoolType: Backup

 LabelFormat: 
${Client}-${Pool}-${Year}-${Month:p/2/0/r}${Day:p/2/0/r}-${JobId}-${NumVols+}

 Enabled: 1

   ScratchPoolId: 0

   RecyclePoolId: 0

   LabelType: 0

 

 

Thanks.


BR CLEAR=ALL
hr style=border: 1px solid #CCC;
p style=font-style:italic; font-size:8pt; font-family:verdana; 
color:gray;This document and attachments may contain technical data 
controlled under the U.S. International Traffic in Arms Regulations (ITAR) or 
the Export Administration Regulations (EAR) and may not be exported to a 
Foreign Person, either in the U.S. or abroad, without the proper authorization 
by the U.S. Department of State or Department of Commerce, whichever is 
applicable.
CONFIDENTIALITY NOTE: This electronic transmission, including all attachments, 
is directed in confidence solely to the person(s) to whom it is addressed, or 
an authorized recipient, and may not otherwise be distributed, copied or 
disclosed. The contents of the transmission may also be subject to intellectual 
property rights and such rights are expressly claimed and are not waived. If 
you have received this transmission in error, please notify the sender 
immediately by return electronic transmission and then immediately delete this 
transmission, including all attachments, without copying, distributing or 
disclosing same.  The recipient should check this e-mail and any attachments 
for the presence of viruses. Houston Sigma Technologies L.P. accepts no 
liability for any damage caused by any virus transmitted by this e-mail./p

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Ensuring backups are good

2014-04-15 Thread Romer Ventura
Hello,

 

I am trying to find an automated way to ensure my bacula backup files are
good. I read the Verify type, but that doesn't seem to work if my files are
being updated constantly, as per my understanding based on the docs. All I
would like to do is to know that my data still good and that it could be
restored at any point.

 

Thanks for any info.


BR CLEAR=ALL
hr style=border: 1px solid #CCC;
p style=font-style:italic; font-size:8pt; font-family:verdana; 
color:gray;This document and attachments may contain technical data 
controlled under the U.S. International Traffic in Arms Regulations (ITAR) or 
the Export Administration Regulations (EAR) and may not be exported to a 
Foreign Person, either in the U.S. or abroad, without the proper authorization 
by the U.S. Department of State or Department of Commerce, whichever is 
applicable.
CONFIDENTIALITY NOTE: This electronic transmission, including all attachments, 
is directed in confidence solely to the person(s) to whom it is addressed, or 
an authorized recipient, and may not otherwise be distributed, copied or 
disclosed. The contents of the transmission may also be subject to intellectual 
property rights and such rights are expressly claimed and are not waived. If 
you have received this transmission in error, please notify the sender 
immediately by return electronic transmission and then immediately delete this 
transmission, including all attachments, without copying, distributing or 
disclosing same.  The recipient should check this e-mail and any attachments 
for the presence of viruses. Houston Sigma Technologies L.P. accepts no 
liability for any damage caused by any virus transmitted by this e-mail./p

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring pruned files

2013-01-04 Thread Romer Ventura
 
  I am trying to restore some files from pruned volumes and I am having
  a bit of difficulties. I did run bscan like:
 
  bscan -b h34.bsr -h localhost -P password -v -s -m -c bacula-sd.conf
  H23- DataStore-full
 
  Bscan finished normally and I went into bconsole, there I started the
  restore and it showed this:
 
 
 Could it be that Bacula noticed that the files were old enough to be
pruned
 and so just pruned them again as soon as the bscan had finished?
 
 Try pushing out the prune date and doing the bscan again.
 
 James

Ok, well it ended up being that since I am using a somewhat older version,
 the bscan bug still present where the PrunedFiles in the DB does not
update.
 After manually updating the DB field, I was able to restore my files.
 
 Thanks


BR CLEAR=ALL
hr style=border: 1px solid #CCC;
p style=font-style:italic; font-size:8pt; font-family:verdana; 
color:gray;This document and attachments may contain technical data 
controlled under the U.S. International Traffic in Arms Regulations (ITAR) or 
the Export Administration Regulations (EAR) and may not be exported to a 
Foreign Person, either in the U.S. or abroad, without the proper authorization 
by the U.S. Department of State or Department of Commerce, whichever is 
applicable.
CONFIDENTIALITY NOTE: This electronic transmission, including all attachments, 
is directed in confidence solely to the person(s) to whom it is addressed, or 
an authorized recipient, and may not otherwise be distributed, copied or 
disclosed. The contents of the transmission may also be subject to intellectual 
property rights and such rights are expressly claimed and are not waived. If 
you have received this transmission in error, please notify the sender 
immediately by return electronic transmission and then immediately delete this 
transmission, including all attachments, without copying, distributing or 
disclosing same.  The recipient should check this e-mail and any attachments 
for the presence of viruses. Houston Sigma Technologies L.P. accepts no 
liability for any damage caused by any virus transmitted by this e-mail./p


--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restoring pruned files

2013-01-03 Thread Romer Ventura
Hello,

 

I am trying to restore some files from pruned volumes and I am having a bit
of difficulties. I did run bscan like:

bscan -b h34.bsr -h localhost -P password -v -s -m -c bacula-sd.conf
H23-DataStore-full

 

Bscan finished normally and I went into bconsole, there I started the
restore and it showed this:

Automatically selected FileSet: H34-FileServ

+---+---+--+-+-+
+

| JobId | Level | JobFiles | JobBytes| StartTime   |
VolumeName |

+---+---+--+-+-+
+

| 1,059 | F |  932,326 | 339,547,819,982 | 2012-08-05 08:23:14 |
H34-Full-0001  |

| 1,059 | F |  932,326 | 339,547,819,982 | 2012-08-05 08:23:14 |
H34-Full-0004  |

| 1,476 | D |   56,072 |  22,764,954,757 | 2012-12-19 23:29:47 |
H34-Diff-0048  |

| 1,480 | I |   13,755 |   5,235,302,531 | 2012-12-25 07:10:53 |
H34-Incre-0039 |

| 1,483 | I |   13,860 |   5,648,317,371 | 2012-12-30 14:31:32 |
H34-Incre-0042 |

+---+---+--+-+-+
+

 

But then it complained that  no files were found. When I do list volume I
see that all the above volumes list: 0 VolFiles

 

+-+---+---+-+-+-
-+--+-+--+---+---+--
---+

| MediaId | VolumeName| VolStatus | Enabled | VolBytes| VolFiles
| VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|

+-+---+---+-+-+-
-+--+-+--+---+---+--
---+

|   1 | H34-Full-0001 | Full  |   1 | 246,822,772,455 |0
|2,592,000 |   1 |0 | 0 | File  | 2012-08-08
13:33:32 |

|   4 | H34-Full-0004 | Used  |   1 |  92,807,279,173 |0
|2,592,000 |   1 |0 | 0 | File  | 2012-08-08
14:36:19 |

+-+---+---+-+-+-
-+--+-+--+---+---+--
---+

Pool: FileServPool-Diff-tape

+-+---+---+-+---+--+
--+-+--+---+---+
-+

| MediaId | VolumeName| VolStatus | Enabled | VolBytes  | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|

+-+---+---+-+---+--+
--+-+--+---+---+
-+

|  10 | H34-Diff-0010 | Used  |   1 | 5,584,694,166 |1 |
2,592,000 |   1 |0 | 0 | File  | 2012-09-24 15:59:58 |

|  29 | H34-Diff-0029 | Error |   1 | 1 |0 |
2,592,000 |   1 |0 | 0 | File  | 2011-12-17 20:49:03 |

|  48 | H34-Diff-0048 | Used  |   1 | 6,070,658,143 |0 |
2,592,000 |   1 |0 | 0 | File  | 2012-06-20 09:46:16 |


 

 

 

 

 

 

 

 

 

 

 

 

 

Any suggestions??

 

Thanks


BR CLEAR=ALL
hr style=border: 1px solid #CCC;
p style=font-style:italic; font-size:8pt; font-family:verdana; 
color:gray;This document and attachments may contain technical data 
controlled under the U.S. International Traffic in Arms Regulations (ITAR) or 
the Export Administration Regulations (EAR) and may not be exported to a 
Foreign Person, either in the U.S. or abroad, without the proper authorization 
by the U.S. Department of State or Department of Commerce, whichever is 
applicable.
CONFIDENTIALITY NOTE: This electronic transmission, including all attachments, 
is directed in confidence solely to the person(s) to whom it is addressed, or 
an authorized recipient, and may not otherwise be distributed, copied or 
disclosed. The contents of the transmission may also be subject to intellectual 
property rights and such rights are expressly claimed and are not waived. If 
you have received this transmission in error, please notify the sender 
immediately by return electronic transmission and then immediately delete this 
transmission, including all attachments, without copying, distributing or 
disclosing same.  The recipient should check this e-mail and any attachments 
for the presence of viruses. Houston Sigma Technologies L.P. accepts no 
liability for any damage caused by any virus transmitted by this e-mail./p

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:

[Bacula-users] backing up to disk - vtapes

2012-05-21 Thread Romer Ventura
Hello,

 

I am backing up to disk and I am having some issues with a particular pool.
Mail-diff-pool:

Pool {

  Name = MailPool-Diff-tape

  Pool Type = Backup

  Recycle = yes

  AutoPrune = yes

  Volume Retention = 1 months

  Maximum Volume Jobs = 1

  Label Format = H22-Diff-

  Maximum Volumes = 3

  Storage = H23-FileStore-diff

}

 

The idea is to do a differential backup every weekend where the full backup
doesn't run, this should be 3 weekends. Each of those weekends should use 1
tape.

 

The problem I am having is that it seems like the first time the
differential backup ran, it created file sizes (for the vtapes) of 4.2GB,
4.8GB and 22GB. Now that the differential backup is to run again, it used
ALL 3 vtapes for 1 job. In the job log I can see each tapes being purged and
recycled in order to be used, but then it just stops once it fills up the
last tape.

 

Are the file based backups supposed to increase and decrease the file size
for the vtape depending on what's used for a particular run or once the file
size is set there is no resize for them??

 

Thanks for any info.

 

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] backing up to disk - vtapes

2012-05-21 Thread Romer Ventura
 Are the file based backups supposed to increase and decrease the file 
 size for the vtape depending on what's used for a particular run or 
 once the file size is set there is no resize for them??


They are supposed to increase up to whatever limit were set on them when
the volume was created (or if you issued the bconsole commands to change
the volume's maximum size). That is unless you are using use volume once or
some other usage limit. Volumes will only decrease size on recycle if you
have the truncate on purge enabled.

John


Well, the volumes were purged and recycled before they were used on May-19.
But for some reason the volume did not grow in size to accommodate the new
increased size of this differential run. For this pool I have not set any
usage limit other than Maximum Volume Jobs = 1 as I want each of the 3
differential runs to be on its own vtape.

Pool: MailPool-Diff-tape
+-+---+---+-++--
+--+-+--+---+---+---
--+
| MediaId | VolumeName| VolStatus | Enabled | VolBytes   | VolFiles
| VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|
+-+---+---+-++--
+--+-+--+---+---+---
--+
|  11 | H22-Diff-0011 | Full  |   1 |  4,836,464,737 |1
|2,592,000 |   1 |0 | 0 | File  | 2012-05-19
14:18:40 |
|  30 | H22-Diff-0030 | Full  |   1 |  4,297,466,908 |1
|2,592,000 |   1 |0 | 0 | File  | 2012-05-19
14:25:44 |
|  49 | H22-Diff-0049 | Full  |   1 | 22,872,857,850 |5
|2,592,000 |   1 |0 | 0 | File  | 2012-05-19
14:11:44 |
+-+---+---+-++--
+--+-+--+---+---+---
--+

As shown above, it started with mediaId 49 and it used all of it without
ever increasing its size. And it did the same for the other 2 vtapes.

Do I need to set any max size in order for the vtape to be able to increase
its size??

Thanks


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring data after retention policy pruned volumes

2012-03-26 Thread Romer Ventura


-Original Message-
From: Martin Simmons [mailto:mar...@lispworks.com] 
Sent: Monday, March 26, 2012 4:53 AM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Restoring data after retention policy pruned
volumes

 On Fri, 23 Mar 2012 14:46:56 -0500, Romer Ventura said:
 
 -Original Message-
 From: Martin Simmons [mailto:mar...@lispworks.com]
 Sent: Friday, March 23, 2012 2:38 PM
 To: bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] Restoring data after retention policy 
 pruned volumes
 
 On Fri, 23 Mar 2012 14:12:24 -0500, Romer Ventura said:
  
  -Original Message-
  From: Joseph L. Casale [mailto:jcas...@activenetwerx.com]
  Sent: Friday, March 23, 2012 11:42 AM
  To: bacula-users@lists.sourceforge.net
  Subject: Re: [Bacula-users] Restoring data after retention policy 
  pruned volumes
  
   I need to restore some older files, the problem is that the 
   retention
  policy has already pruned the files.
  /snip
   How can I restore my files..?
  
  See the second paragraph in the bscan manual.
  jlc
  
  
  --
  --
  --
  
  I had edited the config and set Autoprune = no, however, I failed to 
  notice the Volume Retention parameter, I just uncommented it and 
  gonna redo the scan and try it again.
  
  Thanks.
  
  --
  --
  --
  
  Well still didn't work. I did another bscan, this time I made sure 
  that the Job, storage, pools in the dir.conf had Autoprune = no and 
  no retention value, after bscan completed its task, I went to the 
  console and tried to do a restore; however, it keeps saying that 
  there are no
 files found.
  
  Any ideas? Config is below.
 
 Which version of Bacula?  There was a bug in some old versions that 
 would cause this.
 
 __Martin
 
 --
 --
 --
 
 
 The version I am using is: 
 Version: 5.0.3
 
 Would this be the one affected by it?

Yes, I think it is broken in 5.0.3.  Check Job.PurgedFiles in the catalog
for the bscanned jobs.  If it is 1 then set it to 0 and restore should work.

__Martin


--

Thanks.

After updating the PurgedFiles from 1 to 0, I was able to do the restore as
normal.

Thanks again.


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restoring data after retention policy pruned volumes

2012-03-23 Thread Romer Ventura
Hello,

 

I need to restore some older files, the problem is that the retention policy
has already pruned the files. However, the volumes have not been over
written. I did a bscan with -m and -s options and when I went back to the
bconsole and did a restore I selected the most recent, option 5, however,
I keep getting:

For one or more of the JobIds selected, no files were found,

so file selection is not possible.

Most likely your retention policy pruned the files.

 

How can I restore my files..?

 

Thanks

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring data after retention policy pruned volumes

2012-03-23 Thread Romer Ventura
-Original Message-
From: Joseph L. Casale [mailto:jcas...@activenetwerx.com] 
Sent: Friday, March 23, 2012 11:42 AM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Restoring data after retention policy pruned
volumes

 I need to restore some older files, the problem is that the retention
policy has already pruned the files.
/snip
 How can I restore my files..?

See the second paragraph in the bscan manual.
jlc


--

I had edited the config and set Autoprune = no, however, I failed to notice
the Volume Retention parameter, I just uncommented it and gonna redo the
scan and try it again.

Thanks.



--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring data after retention policy pruned volumes

2012-03-23 Thread Romer Ventura
-Original Message-
From: Martin Simmons [mailto:mar...@lispworks.com] 
Sent: Friday, March 23, 2012 2:38 PM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Restoring data after retention policy pruned
volumes

 On Fri, 23 Mar 2012 14:12:24 -0500, Romer Ventura said:
 
 -Original Message-
 From: Joseph L. Casale [mailto:jcas...@activenetwerx.com]
 Sent: Friday, March 23, 2012 11:42 AM
 To: bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] Restoring data after retention policy 
 pruned volumes
 
  I need to restore some older files, the problem is that the 
  retention
 policy has already pruned the files.
 /snip
  How can I restore my files..?
 
 See the second paragraph in the bscan manual.
 jlc
 
 --
 --
 --
 
 I had edited the config and set Autoprune = no, however, I failed to 
 notice the Volume Retention parameter, I just uncommented it and gonna 
 redo the scan and try it again.
 
 Thanks.
 --
 --
 --
 
 Well still didn't work. I did another bscan, this time I made sure 
 that the Job, storage, pools in the dir.conf had Autoprune = no and no 
 retention value, after bscan completed its task, I went to the console 
 and tried to do a restore; however, it keeps saying that there are no
files found.
 
 Any ideas? Config is below.

Which version of Bacula?  There was a bug in some old versions that would
cause this.

__Martin


--


The version I am using is: 
Version: 5.0.3

Would this be the one affected by it?

Thanks


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] retention

2011-03-29 Thread Romer Ventura
Hello,

 

I wanna accomplish the following:

1.-  Full back up the first saunday of every month, incremental back up Mon
through Fri and differential backup every Sun except for the first Sun of
the month. So far I have this:

Schedule {

  Name = WeeklyCycle

  Run = Level=Full 1st sun at 18:00

  Run = Level=Differential 2nd-5th sun at 18:00

  Run = Level=Incremental mon-fri at 20:00

}

 

And jobDefs look like:

JobDefs {

  Name = H22-MailServ-def

  Type = Backup

  Level = Full

  Schedule = WeeklyCycle

  Messages = Standard

  Pool = MailPool-Full-tape

  Full Backup Pool = MailPool-Full-tape

  Differential Backup Pool = MailPool-Diff-tape

  Incremental Backup Pool = MailPool-Incre-tape

  Write Bootstrap = /var/lib/bacula/%c.bsr

  Priority = 10

}

 

2.- I have 4 sets of 7 tapes, that would give me 4 months of back ups.
Actually 3 since the last one would have to be reused. Basically I want each
set to be used every month. So far I have this:

Pool {

  Name = MailPool-Full-tape

  Pool Type = Backup

  Recycle = yes

  AutoPrune = yes

  Volume Retention = 3 months

  Maximum Volume Jobs = 1

  Maximum Volumes = 4

 Storage = SLDLTv4

}

 

Pool {

  Name = MailPool-Diff-tape

  Pool Type = Backup

  Recycle = yes

  AutoPrune = yes

  Volume Retention = 3 months

  Maximum Volumes = 4

  Storage = SLDLTv4

}

 

Pool {

  Name = MailPool-Incre-tape

  Pool Type = Backup

  Recycle = yes

  AutoPrune = yes

  Volume Retention = 3 months

  Maximum Volumes = 4

  Storage = SLDLTv4

}

 

 

Do this look about right.?

 

 

Thanks



Romer Ventura

 

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restoring to a folder?

2011-01-10 Thread Romer Ventura
Hello,

 

I was trying to do a restore and after I marked all the folder/files I
needed the process started and successfully finished, however, when I go to
the folder which where the files are suppoused to be, they are not. The
folder is empty. The client from where Bacula takes this data has not
changed so I know it didn't restore it to the remote client. 

 

Any ideas?

Here is some info:

Job {

  Name = RestoreFiles

  Type = Restore

  Client=housigma25-fd

  FileSet=Full Set

  Storage = SLDLTv4

  Pool = Default

  Messages = Standard

  Where = /srv/staging/restores

}

FileSet {

  Name = Full Set

  Include {

Options {

  signature = MD5

}

File = /usr/sbin

  }

  Exclude {

File = /var/lib/bacula

File = /nonexistant/path/to/file/archive/dir

File = /proc

File = /tmp

File = /.journal

File = /.fsck

  }

}

 

LOG FILE:

08-Jan 17:01 housigma25-dir JobId 177: Start Restore Job
RestoreFiles.2011-01-08_17.01.42_05

08-Jan 17:01 housigma25-dir JobId 177: Using Device DLTv4

08-Jan 17:01 housigma25-sd JobId 177: 3307 Issuing autochanger unload slot
7, drive 0 command.

08-Jan 17:02 housigma25-sd JobId 177: 3304 Issuing autochanger load slot 6,
drive 0 command.

08-Jan 17:05 housigma25-sd JobId 177: 3305 Autochanger load slot 6, drive
0, status is OK.

08-Jan 17:05 housigma25-sd JobId 177: Ready to read from volume CNH913 on
device DLTv4 (/dev/nst0).

08-Jan 17:05 housigma25-sd JobId 177: Forward spacing Volume CNH913 to
file:block 90:0.

08-Jan 17:32 housigma25-sd JobId 177: End of Volume at file 107 on device
DLTv4 (/dev/nst0), Volume CNH913

08-Jan 17:34 housigma25-sd JobId 177: 3307 Issuing autochanger unload slot
6, drive 0 command.

08-Jan 17:35 housigma25-sd JobId 177: 3304 Issuing autochanger load slot 5,
drive 0 command.

08-Jan 17:37 housigma25-sd JobId 177: 3305 Autochanger load slot 5, drive
0, status is OK.

08-Jan 17:37 housigma25-sd JobId 177: Ready to read from volume CNH914 on
device DLTv4 (/dev/nst0).

08-Jan 17:37 housigma25-sd JobId 177: Forward spacing Volume CNH914 to
file:block 121:0.

08-Jan 17:40 housigma25-sd JobId 177: End of Volume at file 122 on device
DLTv4 (/dev/nst0), Volume CNH914

08-Jan 17:41 housigma25-sd JobId 177: 3307 Issuing autochanger unload slot
5, drive 0 command.

08-Jan 17:42 housigma25-sd JobId 177: 3304 Issuing autochanger load slot 7,
drive 0 command.

08-Jan 17:45 housigma25-sd JobId 177: 3305 Autochanger load slot 7, drive
0, status is OK.

08-Jan 17:45 housigma25-sd JobId 177: Ready to read from volume CNH909 on
device DLTv4 (/dev/nst0).

08-Jan 17:45 housigma25-sd JobId 177: Forward spacing Volume CNH909 to
file:block 52:0.

08-Jan 17:48 housigma25-sd JobId 177: End of Volume at file 52 on device
DLTv4 (/dev/nst0), Volume CNH909

08-Jan 17:48 housigma25-sd JobId 177: End of all volumes.

08-Jan 17:48 housigma25-dir JobId 177: Bacula housigma25-dir 5.0.2
(28Apr10): 08-Jan-2011 17:48:03

  Build OS:   i486-pc-linux-gnu debian 5.0.4

  JobId:  177

  Job:RestoreFiles.2011-01-08_17.01.42_05

  Restore Client: housigma34-fd

  Start time: 08-Jan-2011 17:01:44

  End time:   08-Jan-2011 17:48:03

  Files Expected: 47,545

  Files Restored: 47,545

  Bytes Restored: 13,386,304,625

  Rate:   4817.0 KB/s

  FD Errors:  0

  FD termination status:  OK

  SD termination status:  OK

  Termination:Restore OK

 

I know that it didn't restore it to the remote client because the folder on
the server is 12.5GB and has 45,547 files, which is less that the supposed
restore.

 

Any ideas?

 

Thanks



Romer Ventura

 

--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring to a folder?

2011-01-10 Thread Romer Ventura
Housigma34-fd is a Windows server so there is no /srv/staging/restores

In addition to that, the restore job has: client= housigma25-fd which is a
debian server and also the localhost. 

Also, the available space for both server has not changed so if the restore
happened somewhere, I would notice 13GB less than reported.

Thanks

Romer Ventura


-Original Message-
From: Dan Langille [mailto:d...@langille.org] 
Sent: Monday, January 10, 2011 10:02 AM
To: Romer Ventura
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Restoring to a folder?

On 1/10/2011 10:21 AM, Romer Ventura wrote:
 Hello,

 I was trying to do a restore and after I marked all the folder/files I 
 needed the process started and successfully finished, however, when I 
 go to the folder which where the files are suppoused to be, they are not.
 The folder is empty. The client from where Bacula takes this data has 
 not changed so I know it didn't restore it to the remote client.

 Any ideas?

 Here is some info:

 Job {

 Name = RestoreFiles

 Type = Restore

 Client=housigma25-fd

 FileSet=Full Set

 Storage = SLDLTv4

 Pool = Default

 Messages = Standard

 Where = /srv/staging/restores

 }

 FileSet {

 Name = Full Set

 Include {

 Options {

 signature = MD5

 }

 File = /usr/sbin

 }

 Exclude {

 File = /var/lib/bacula

 File = /nonexistant/path/to/file/archive/dir

 File = /proc

 File = /tmp

 File = /.journal

 File = /.fsck

 }

 }

 LOG FILE:

 08-Jan 17:01 housigma25-dir JobId 177: Start Restore Job
 RestoreFiles.2011-01-08_17.01.42_05

 08-Jan 17:01 housigma25-dir JobId 177: Using Device DLTv4

 08-Jan 17:01 housigma25-sd JobId 177: 3307 Issuing autochanger unload 
 slot 7, drive 0 command.

 08-Jan 17:02 housigma25-sd JobId 177: 3304 Issuing autochanger load 
 slot 6, drive 0 command.

 08-Jan 17:05 housigma25-sd JobId 177: 3305 Autochanger load slot 6, 
 drive 0, status is OK.

 08-Jan 17:05 housigma25-sd JobId 177: Ready to read from volume CNH913
 on device DLTv4 (/dev/nst0).

 08-Jan 17:05 housigma25-sd JobId 177: Forward spacing Volume CNH913 
 to file:block 90:0.

 08-Jan 17:32 housigma25-sd JobId 177: End of Volume at file 107 on 
 device DLTv4 (/dev/nst0), Volume CNH913

 08-Jan 17:34 housigma25-sd JobId 177: 3307 Issuing autochanger unload 
 slot 6, drive 0 command.

 08-Jan 17:35 housigma25-sd JobId 177: 3304 Issuing autochanger load 
 slot 5, drive 0 command.

 08-Jan 17:37 housigma25-sd JobId 177: 3305 Autochanger load slot 5, 
 drive 0, status is OK.

 08-Jan 17:37 housigma25-sd JobId 177: Ready to read from volume CNH914
 on device DLTv4 (/dev/nst0).

 08-Jan 17:37 housigma25-sd JobId 177: Forward spacing Volume CNH914 
 to file:block 121:0.

 08-Jan 17:40 housigma25-sd JobId 177: End of Volume at file 122 on 
 device DLTv4 (/dev/nst0), Volume CNH914

 08-Jan 17:41 housigma25-sd JobId 177: 3307 Issuing autochanger unload 
 slot 5, drive 0 command.

 08-Jan 17:42 housigma25-sd JobId 177: 3304 Issuing autochanger load 
 slot 7, drive 0 command.

 08-Jan 17:45 housigma25-sd JobId 177: 3305 Autochanger load slot 7, 
 drive 0, status is OK.

 08-Jan 17:45 housigma25-sd JobId 177: Ready to read from volume CNH909
 on device DLTv4 (/dev/nst0).

 08-Jan 17:45 housigma25-sd JobId 177: Forward spacing Volume CNH909 
 to file:block 52:0.

 08-Jan 17:48 housigma25-sd JobId 177: End of Volume at file 52 on 
 device DLTv4 (/dev/nst0), Volume CNH909

 08-Jan 17:48 housigma25-sd JobId 177: End of all volumes.

 08-Jan 17:48 housigma25-dir JobId 177: Bacula housigma25-dir 5.0.2
 (28Apr10): 08-Jan-2011 17:48:03

 Build OS: i486-pc-linux-gnu debian 5.0.4

 JobId: 177

 Job: RestoreFiles.2011-01-08_17.01.42_05

 Restore Client: housigma34-fd

 Start time: 08-Jan-2011 17:01:44

 End time: 08-Jan-2011 17:48:03

 Files Expected: 47,545

 Files Restored: 47,545

 Bytes Restored: 13,386,304,625

 Rate: 4817.0 KB/s

 FD Errors: 0

 FD termination status: OK

 SD termination status: OK

 Termination: Restore OK

 I know that it didn't restore it to the remote client because the 
 folder on the server is 12.5GB and has 45,547 files, which is less 
 that the supposed restore.

 Any ideas?

Have you looked in /srv/staging/restores on housigma34-fd?

--
Dan Langille - http://langille.org/


--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring to a folder?

2011-01-10 Thread Romer Ventura


Thanks

Romer Ventura


-Original Message-
From: Dan Langille [mailto:d...@langille.org] 
Sent: Monday, January 10, 2011 11:32 AM
To: Romer Ventura
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Restoring to a folder?

On 1/10/2011 10:54 AM, Romer Ventura wrote:
 -Original Message-
 From: Dan Langille [mailto:d...@langille.org]
 Sent: Monday, January 10, 2011 10:02 AM
 To: Romer Ventura
 Cc: bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] Restoring to a folder?

 On 1/10/2011 10:21 AM, Romer Ventura wrote:
 Hello,

 I was trying to do a restore and after I marked all the folder/files 
 I needed the process started and successfully finished, however, when 
 I go to the folder which where the files are suppoused to be, they are
not.
 The folder is empty. The client from where Bacula takes this data has 
 not changed so I know it didn't restore it to the remote client.

 Any ideas?

 Here is some info:

 Job {

 Name = RestoreFiles

 Type = Restore

 Client=housigma25-fd

 FileSet=Full Set

 Storage = SLDLTv4

 Pool = Default

 Messages = Standard

 Where = /srv/staging/restores

 }

 FileSet {

 Name = Full Set

 Include {

 Options {

 signature = MD5

 }

 File = /usr/sbin

 }

 Exclude {

 File = /var/lib/bacula

 File = /nonexistant/path/to/file/archive/dir

 File = /proc

 File = /tmp

 File = /.journal

 File = /.fsck

 }

 }

 LOG FILE:

 08-Jan 17:01 housigma25-dir JobId 177: Start Restore Job
 RestoreFiles.2011-01-08_17.01.42_05

 08-Jan 17:01 housigma25-dir JobId 177: Using Device DLTv4

 08-Jan 17:01 housigma25-sd JobId 177: 3307 Issuing autochanger 
 unload slot 7, drive 0 command.

 08-Jan 17:02 housigma25-sd JobId 177: 3304 Issuing autochanger load 
 slot 6, drive 0 command.

 08-Jan 17:05 housigma25-sd JobId 177: 3305 Autochanger load slot 6, 
 drive 0, status is OK.

 08-Jan 17:05 housigma25-sd JobId 177: Ready to read from volume CNH913
 on device DLTv4 (/dev/nst0).

 08-Jan 17:05 housigma25-sd JobId 177: Forward spacing Volume CNH913
 to file:block 90:0.

 08-Jan 17:32 housigma25-sd JobId 177: End of Volume at file 107 on 
 device DLTv4 (/dev/nst0), Volume CNH913

 08-Jan 17:34 housigma25-sd JobId 177: 3307 Issuing autochanger 
 unload slot 6, drive 0 command.

 08-Jan 17:35 housigma25-sd JobId 177: 3304 Issuing autochanger load 
 slot 5, drive 0 command.

 08-Jan 17:37 housigma25-sd JobId 177: 3305 Autochanger load slot 5, 
 drive 0, status is OK.

 08-Jan 17:37 housigma25-sd JobId 177: Ready to read from volume CNH914
 on device DLTv4 (/dev/nst0).

 08-Jan 17:37 housigma25-sd JobId 177: Forward spacing Volume CNH914
 to file:block 121:0.

 08-Jan 17:40 housigma25-sd JobId 177: End of Volume at file 122 on 
 device DLTv4 (/dev/nst0), Volume CNH914

 08-Jan 17:41 housigma25-sd JobId 177: 3307 Issuing autochanger 
 unload slot 5, drive 0 command.

 08-Jan 17:42 housigma25-sd JobId 177: 3304 Issuing autochanger load 
 slot 7, drive 0 command.

 08-Jan 17:45 housigma25-sd JobId 177: 3305 Autochanger load slot 7, 
 drive 0, status is OK.

 08-Jan 17:45 housigma25-sd JobId 177: Ready to read from volume CNH909
 on device DLTv4 (/dev/nst0).

 08-Jan 17:45 housigma25-sd JobId 177: Forward spacing Volume CNH909
 to file:block 52:0.

 08-Jan 17:48 housigma25-sd JobId 177: End of Volume at file 52 on 
 device DLTv4 (/dev/nst0), Volume CNH909

 08-Jan 17:48 housigma25-sd JobId 177: End of all volumes.

 08-Jan 17:48 housigma25-dir JobId 177: Bacula housigma25-dir 5.0.2
 (28Apr10): 08-Jan-2011 17:48:03

 Build OS: i486-pc-linux-gnu debian 5.0.4

 JobId: 177

 Job: RestoreFiles.2011-01-08_17.01.42_05

 Restore Client: housigma34-fd

 Start time: 08-Jan-2011 17:01:44

 End time: 08-Jan-2011 17:48:03

 Files Expected: 47,545

 Files Restored: 47,545

 Bytes Restored: 13,386,304,625

 Rate: 4817.0 KB/s

 FD Errors: 0

 FD termination status: OK

 SD termination status: OK

 Termination: Restore OK

 I know that it didn't restore it to the remote client because the 
 folder on the server is 12.5GB and has 45,547 files, which is less 
 that the supposed restore.

 Any ideas?

 Have you looked in /srv/staging/restores on housigma34-fd?

If you top post, it makes it very difficult to follow the story... :)

  Housigma34-fd is a Windows server so there is no /srv/staging/restores

Well, that is where the job is trying to restore.  Look at the WHERE field
listed above.

 
  In addition to that, the restore job has: client= housigma25-fd 
which is a
  debian server and also the localhost.

Look at restore client in the output above.  It is not restoring where where
you think it is.

  Also, the available space for both server has not changed so if the
restore   happened somewhere, I would notice 13GB less than reported.

When you are running the restore job, you probably want to mod the job (as
opposed to y/n when prompted).  You probably want to change the restore
client and the WHERE field.


--
Dan Langille - http://langille.org/


Sorry, Outlook

Re: [Bacula-users] Ensuring Bacula uses the new tapes

2010-10-28 Thread Romer Ventura
I did forget to mention that all my tapes are labeled using label  
barcode.


Thanks
--
Romer Ventura

On Oct 28, 2010, at 8:27 AM, Bill Arlofski wrote:


On 10/27/10 12:23, Romer Ventura wrote:

Hello,

Recently i've been having a lot of problems when replacing tapes.
For example: i put in 8 tapes into scratch pool, then each job pulls
tapes from there into their respective pools, then when the month  
goes
by and i replace the tapes with 8 new tapes, bacula still wants to  
use

the tapes i removed even when i do update slots, and indicate
Autochanger = yes on the config.

So what can i do to ensure that when i replace the tapes, the new
tapes are actually used instead of getting the error manual mount  
might

be required.



Hi Romer (OOPS! I wrote a whole reply before noticing that you have  
run the
update slots command)  I'll leave my original reply below this one,  
because it
may help someone else with a similar issue,  but I suspect your  
problem is

that you are not labeling your tapes by their barcodes.

If your changer supports barcodes, you need to use the label  
barcodes
command in which case Bacula will ask a couple question (which pool  
etc) and
will then cycle each tape into the drive, label it by its barcode  
and put it

back into its slot in the changer.

You can not label them with human friendly names, since Bacula will  
query the
changer for the barcodes of the tapes in the slots and the changer  
does not
know about the human readable labels that may have been manually  
written to

the tapes.

BTW, you can do a list media to see what tapes bacula thinks are in  
which
slots.  Look at the Slot and In Changer columns to confirm that  
Bacula

knows where your tapes are.

Hope this helps.

--
Bill Arlofski
Reverse Polarity, LLC




--[original reply when I thought your question was differnt  :)  ]--

The command you are looking  for is update slots

As long as your tapes have bar codes on them, and they have been  
labeled with
the label barcodes command, the update slots command will update  
the media
database so that bacula knows which tape is currently in the  
changer and in

which slot each tape resides.

What I do is create an Update Slots job that is configured to run  
at the
same time as my nightly backups but with a higher priority so it  
always runs
first.  This way I never really have to remember to manually run  
the update
slots command unless I need to run a restore or backup job manually  
after

media replacement, and before the nightly jobs run.

The Update Slots job def looks like this:

--[snip]--
# 
# # Update Slots Job
# # 
Job {
  Name = UpDateSlots
  Client = None
  Type = Admin
  FileSet = None
  Storage = c0
  Schedule = WeeklyToOffsiteDisk
  Messages = Standard
  Priority = 8
  SpoolData = no
  Pool = Default

  RunScript {
RunsWhen = Before
RunsOnClient = no
Fail Job On Error = no
Command = /usr/local/sbin/runbefore-updateslots.sh
  }
}
--[snip]--

and /usr/local/sbin/runbefore-updateslots.sh looks like this:


--[snip]--
#!/bin/bash
#
BC=/usr/sbin/bconsole
CONF=/etc/bacula/include/bconsole-SITENAME.conf
STORAGE=c0

$BC -c $CONF  EOF
update slots storage=$STORAGE
quit
EOF
--[snip]--


Hope this helps.

--
Bill Arlofski
Reverse Polarity, LLC

-- 

Nokia and ATT present the 2010 Calling All Innovators-North  
America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and  
Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in  
marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi  
Store

http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] No medium found.. How to force it?

2010-10-06 Thread Romer Ventura

I do have that:
Autochanger {
  Name = Autochanger
  Device = DLTv4
  Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d
  Changer Device = /dev/sg4
}

Device {
  Name = DLTv4
  Drive Index = 0
  Media Type = tape
  Archive Device = /dev/nst0
  AutomaticMount = yes
  LabelMedia = yes
  AlwaysOpen = yes
  Autoselect = yes
  RemovableMedia = yes
  RandomAccess = no
  AutoChanger = yes
  Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
}

It just tries to use the media that has been removed, even after  
update slots had been issued. Perhaps the retention period?? But  
should it just pull it from the scratch media since the tape is not  
there..?


Pool {
  Name = FileServPool-Full-tape
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 months
  Maximum Volume Jobs = 1
  Maximum Volumes = 12
  Storage = SLDLTv4
}

Pool {
  Name = FileServPool-Diff-tape
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 months
  Maximum Volumes = 1
  Storage = SLDLTv4
}

Pool {
  Name = FileServPool-Incre-tape
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 5 days
  Maximum Volumes = 1
  Storage = SLDLTv4
}

Thanks
--
Romer Ventura

On Oct 6, 2010, at 2:46 PM, Bob Hetzel wrote:




Isnt it?supposed?to pull media from scratch pool?


I believe it will pull from the scratch pool if only if there are no
acceptable volumes in the pool. CNH895 was an acceptable volume even
though it was not in the changer so it picked that over grabbing one
from the scratch.

There may be some configuration setting to prevent bacula from  
wanting

a volume that is not in the changer but I do not know. Some one else
will have to help with that..

John



In your Storage section of your bacula-dir.conf file, if you are  
using an
autochanger you need to specify 'Autochanger = yes' so bacula will  
check

the InChanger field when it works with media.

Bob


-- 


Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating  
great

experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] No medium found.. How to force it?

2010-10-05 Thread Romer Ventura

Hello,

I recently change the set of tapes for the month and for some reason  
i am getting errors when backing up data since bacula keeps asking  
about a tape that was previously used. How can i get bacula to use  
the new set? i've done the updata slots and label barcode, etc and  
nothing seems to be working. Here is the message i get:


05-Oct 10:53 housigma25-sd JobId 118: Invalid slot=0 defined in  
catalog for Volume CNH895 on DLTv4 (/dev/nst0). Manual load may  
be required.
05-Oct 10:53 housigma25-sd JobId 118: 3301 Issuing autochanger  
loaded? drive 0 command.
05-Oct 10:53 housigma25-sd JobId 118: 3302 Autochanger loaded? drive  
0, result: nothing loaded.
05-Oct 10:53 housigma25-sd JobId 118: 3301 Issuing autochanger  
loaded? drive 0 command.
05-Oct 10:53 housigma25-sd JobId 118: 3302 Autochanger loaded? drive  
0, result: nothing loaded.
05-Oct 10:53 housigma25-sd JobId 118: Warning: mount.c:221 Open  
device DLTv4 (/dev/nst0) Volume CNH895 failed: ERR=dev.c:491  
Unable to open device DLTv4 (/dev/nst0): ERR=No medium found



CNH895 is no longer in the loader since it was used last month..

Any ideas..?

Thanks
--
Romer Ventura

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Repeated attempts to load non-present tape

2010-10-05 Thread Romer Ventura
I have the same problem, please let me know if you have found a  
solution.


Thanks
--
Romer Ventura

On Aug 9, 2010, at 8:23 PM, Craig Miskell wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

	This past weekend, a weekly job decided it didn't want to use the  
volumes that were available in the autochanger.
Consequently, bacula tried to load a tape that was in the catalog,  
but wasn't present.  Unfortunately, it tried to do

this repeatedly, logging the following set of logs every few seconds:
	ausv01-sd JobId 350: Invalid slot=0 defined in catalog for Volume  
20L4 on Drive-1 (/dev/nst0). Manual load may

be required.
ausv01-sd JobId 350: 3301 Issuing autochanger loaded? drive 0  
command.
ausv01-sd JobId 350: 3302 Autochanger loaded? drive 0, result:  
nothing loaded.
ausv01-sd JobId 350: 3301 Issuing autochanger loaded? drive 0  
command.
ausv01-sd JobId 350: 3302 Autochanger loaded? drive 0, result:  
nothing loaded.
ausv01-sd JobId 350: Warning: mount.c:227 Open device Drive-1 (/ 
dev/nst0) Volume 20L4 failed: ERR=dev.c:491

Unable to open device Drive-1
 (/dev/nst0): ERR=No medium found

By Monday, there were  1million log records there.  I would expect  
it to realise that the tape isn't available, report
that once, with reminders, and otherwise sit quietly waiting for  
operator intervention to provide the tape it wanted.
It's done similar before but I've never quite nailed down the  
scenario (there were some situations where the operator

hadn't run update slots).

Has anyone else seen this behaviour?  If so, is there a simple  
known fix?  Alternatively, any suggestions/guesses as to
why this might happen would be gratefully received, as I might then  
be able to come up with some sort of fix.


Bacula version is 5.0.0.

Thanks,

- --
Craig Miskell
Senior Systems Administrator
Opus International Consultants
Phone: +64 4 471 7209
Criticizing a man for not holding political office is like  
criticizing a
dog for not humping your leg. Both have the ability to do the deed  
but the

superior ones choose not to.
-- ronniecat, in rec.arts.comics.strips

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxgqgQACgkQmDveRtxWqnYwXgCfWPN8yx65zPFfRw+yTv0/SEH/
VkUAoKb2TDGRCUE9V3OH/BGtN9e6L0oW
=oac3
-END PGP SIGNATURE-

-- 


This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] No medium found.. How to force it?

2010-10-05 Thread Romer Ventura

I have done update slots
*update slots
Automatically selected Catalog: MyCatalog
Using Catalog MyCatalog
The defined Storage resources are:
 1: SLDLTv4
 2: File
Select Storage resource (1-2): 1
Connecting to Storage daemon SLDLTv4 at housigma25.h-st.com:9103 ...
3306 Issuing autochanger slots command.
Device DLTv4 has 16 slots.
Connecting to Storage daemon SLDLTv4 at housigma25.h-st.com:9103 ...
3306 Issuing autochanger list command.
Catalog record for Volume CNH902 updated to reference slot 1.
Catalog record for Volume CNH903 updated to reference slot 2.
Catalog record for Volume CNH904 updated to reference slot 3.
Catalog record for Volume CNH905 updated to reference slot 4.
Catalog record for Volume CNH906 updated to reference slot 5.
Catalog record for Volume CNH907 updated to reference slot 6.
Catalog record for Volume CNH908 updated to reference slot 7.

It just doesnt get the change. For some reason bacula still thinks  
that the tape still needs to be used. Maybe is my retention settings  
that it is screwing it up.


I am gonna try to mark it as used and see what happens.

Thanks
--
Romer Ventura

On Oct 5, 2010, at 11:34 AM, Phil Stracchino wrote:


On 10/05/10 11:59, Romer Ventura wrote:

Hello,

I recently change the set of tapes for the month and for some  
reason i
am getting errors when backing up data since bacula keeps asking  
about a
tape that was previously used. How can i get bacula to use the new  
set?
i've done the updata slots and label barcode, etc and nothing  
seems to

be working. Here is the message i get:

05-Oct 10:53 housigma25-sd JobId 118: Invalid slot=0 defined in  
catalog
for Volume CNH895 on DLTv4 (/dev/nst0). Manual load may be  
required.
05-Oct 10:53 housigma25-sd JobId 118: 3301 Issuing autochanger  
loaded?

drive 0 command.
05-Oct 10:53 housigma25-sd JobId 118: 3302 Autochanger loaded? drive
0, result: nothing loaded.
05-Oct 10:53 housigma25-sd JobId 118: 3301 Issuing autochanger  
loaded?

drive 0 command.
05-Oct 10:53 housigma25-sd JobId 118: 3302 Autochanger loaded? drive
0, result: nothing loaded.
05-Oct 10:53 housigma25-sd JobId 118: Warning: mount.c:221 Open  
device
DLTv4 (/dev/nst0) Volume CNH895 failed: ERR=dev.c:491 Unable  
to open

device DLTv4 (/dev/nst0): ERR=No medium found


CNH895 is no longer in the loader since it was used last month..


This looks like you need to issue an Update Slots command.


--
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

-- 


Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating  
great

experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] No medium found.. How to force it?

2010-10-05 Thread Romer Ventura
 | MediaType |  
LastWritten |
+-++---+-+-+-- 
+--+-+--+---+--- 
+-+
|  21 | CNH901 | Append|   1 | 751,822,848 |1  
|   10,368,000 |   1 |0 | 0 | tape  | 2010-08-29  
18:23:52 |
+-++---+-+-+-- 
+--+-+--+---+--- 
+-+

Thanks
--
Romer Ventura

On Oct 5, 2010, at 12:02 PM, John Drescher wrote:


2010/10/5 Romer Ventura rvent...@h-st.com:

I have done update slots
*update slots
Automatically selected Catalog: MyCatalog
Using Catalog MyCatalog
The defined Storage resources are:
 1: SLDLTv4
 2: File
Select Storage resource (1-2): 1
Connecting to Storage daemon SLDLTv4 at housigma25.h-st.com:9103 ...
3306 Issuing autochanger slots command.
Device DLTv4 has 16 slots.
Connecting to Storage daemon SLDLTv4 at housigma25.h-st.com:9103 ...
3306 Issuing autochanger list command.
Catalog record for Volume CNH902 updated to reference slot 1.
Catalog record for Volume CNH903 updated to reference slot 2.
Catalog record for Volume CNH904 updated to reference slot 3.
Catalog record for Volume CNH905 updated to reference slot 4.
Catalog record for Volume CNH906 updated to reference slot 5.
Catalog record for Volume CNH907 updated to reference slot 6.
Catalog record for Volume CNH908 updated to reference slot 7.
It just doesnt get the change. For some reason bacula still thinks  
that the
tape still needs to be used. Maybe is my retention settings that  
it is

screwing it up.
I am gonna try to mark it as used and see what happens.
Thanks
--


Look at the output of list media.

John


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] No medium found.. How to force it?

2010-10-05 Thread Romer Ventura

Isnt it supposed to pull media from scratch pool?

Based on the info bellow, does it mean i should set Pool to  
scratch...? What i would like to have is first sunday of the month do  
a full back up, weekdays do an incremental, then every sunday (except  
1st sunday of the month) do a differential back up.


Everything worked fine, till i had to replace the monthly set. How  
can i get pass this?


bacula-dir.conf

JobDefs {
  Name = H34-FileServ-def
  Type = Backup
  Level = Full
  Schedule = WeeklyCycle
  Messages = Standard
  Pool = FileServPool-Full-tape
  Full Backup Pool = FileServPool-Full-tape
  Differential Backup Pool = FileServPool-Diff-tape
  Incremental Backup Pool = FileServPool-Incre-tape
  Write Bootstrap = /var/lib/bacula/%c.bsr
  Priority = 10
}

Job {
  Name = H34-FileServer
  JobDefs = H34-FileServ-def
  Client = housigma34-fd
  FileSet = H34-FileServ
}

Schedule {
  Name = WeeklyCycle
  Run = Level=Full 1st sun at 18:00
  Run = Level=Differential 2nd-5th sun at 18:00
  Run = Level=Incremental mon-fri at 20:00
}

Pool {
  Name = FileServPool-Full-tape
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 months
  Maximum Volume Jobs = 1
#  Label Format = Full-
  Maximum Volumes = 12
  Storage = SLDLTv4
}

Pool {
  Name = FileServPool-Diff-tape
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 months
#  Maximum Volume Jobs = 1
#  Label Format = Full-
  Maximum Volumes = 1
  Storage = SLDLTv4
}

Pool {
  Name = FileServPool-Incre-tape
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 5 days
#  Maximum Volume Jobs = 1
#  Label Format = IncreFileServ-
  Maximum Volumes = 1
  Storage = SLDLTv4
}

Thanks
--
Romer Ventura

On Oct 5, 2010, at 12:41 PM, John Drescher wrote:


Pool: FileServPool-Full-tape
+-++---+-+- 
+--+--+-+--+---+--- 
+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes|  
VolFiles |

VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|
+-++---+-+- 
+--+--+-+--+---+--- 
+-+
|  15 | CNH895 | Recycle   |   1 |   1  
|0 |
   2,592,000 |   1 |0 | 0 | tape  | 2010-08-25  
14:31:09

|
|  16 | CNH896 | Used  |   1 | 139,932,721,152  
|  140 |
   2,592,000 |   1 |0 | 0 | tape  | 2010-08-25  
18:27:05

|
+-++---+-+- 
+--+--+-+


So the reason for the problem is the tape CNH895 that bacula wants is
the only available tape in the FileServPool-Full-tape pool

John


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] No medium found.. How to force it?

2010-10-05 Thread Romer Ventura
How can i manually mark the tape as Used...? I havent been able to  
find it in the docs.


Thanks
--
Romer Ventura

On Oct 5, 2010, at 11:35 AM, John Drescher wrote:


2010/10/5 Romer Ventura rvent...@h-st.com:

Hello,
I recently change the set of tapes for the month and for some  
reason i am
getting errors when backing up data since bacula keeps asking  
about a tape
that was previously used. How can i get bacula to use the new set?  
i've done
the updata slots and label barcode, etc and nothing seems to be  
working.

Here is the message i get:
05-Oct 10:53 housigma25-sd JobId 118: Invalid slot=0 defined in  
catalog for

Volume CNH895 on DLTv4 (/dev/nst0). Manual load may be required.
05-Oct 10:53 housigma25-sd JobId 118: 3301 Issuing autochanger  
loaded?

drive 0 command.
05-Oct 10:53 housigma25-sd JobId 118: 3302 Autochanger loaded?  
drive 0,

result: nothing loaded.
05-Oct 10:53 housigma25-sd JobId 118: 3301 Issuing autochanger  
loaded?

drive 0 command.
05-Oct 10:53 housigma25-sd JobId 118: 3302 Autochanger loaded?  
drive 0,

result: nothing loaded.
05-Oct 10:53 housigma25-sd JobId 118: Warning: mount.c:221 Open  
device
DLTv4 (/dev/nst0) Volume CNH895 failed: ERR=dev.c:491 Unable  
to open

device DLTv4 (/dev/nst0): ERR=No medium found

CNH895 is no longer in the loader since it was used last month..
Any ideas..?
Thanks


Mark the removed tape as Full, Used or if you totally want bacula to
ignore it Archive.

John


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] job waiting for a mount request

2010-09-09 Thread Romer Ventura

Hello,

	So i have a Quantum Super Loader, which library holds 8 tapes.  
Yesterday i removed the old tapes and put in new tapes for the month.  
I then proceeded to do update and since they are new tapes for  
bacula i issued label barcode.


Last night's jobs did not run and status shows:
Running Jobs:
Console connected at 08-Sep-10 10:22
 JobId Level   Name   Status
==
83 Increme  H34-FileServer.2010-09-08_20.00.00_46 is waiting for  
a mount request
84 Increme  H22-MailServer.2010-09-08_20.00.00_47 is waiting  
execution
85 FullBackupCatalog.2010-09-08_23.10.00_48 is waiting  
execution


Device status:
Autochanger Autochanger with devices:
   DLTv4 (/dev/nst0)
Device FileStorage (/srv/staging/backups) is not open.
Device DLTv4 (/dev/nst0) is not open.
Device is BLOCKED waiting for mount of volume CNH897,
   Pool:FileServPool-Incre-tape
   Media type:  tape
Drive 0 status unknown.


Used Volume status:
CNH897 on device DLTv4 (/dev/nst0)
Reader=0 writers=0 devres=1 volinuse=0


That volume is no longer in the library, what can i do?


Thanks
--
Romer Ventura

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Question about jobs and pools

2010-08-30 Thread Romer Ventura
 | 831,946,752 |2  
|   10,368,000 |   1 |5 | 1 | tape  | 2010-08-27  
20:24:00 |
+-++---+-+-+-- 
+--+-+--+---+--- 
+-+

Pool: MailPool-Diff-tape
+-++---+-+-+-- 
+--+-+--+---+--- 
+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles  
| VolRetention | Recycle | Slot | InChanger | MediaType |  
LastWritten |
+-++---+-+-+-- 
+--+-+--+---+--- 
+-+
|  21 | CNH901 | Append|   1 | 751,822,848 |1  
|   10,368,000 |   1 |7 | 1 | tape  | 2010-08-29  
18:23:52 |
+-++---+-+-+-- 
+--+-+--+---+--- 
+-+


Thanks
--
Romer Ventura

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Add pre-labeled volumes to a pool

2010-08-26 Thread Romer Ventura

Yep, i agree with John.

Put all the tapes in Scratch Pool, then whenever jobs run they'll be  
taken out of scratch into the job's pool as needed.



Thanks
--
Romer Ventura

On Aug 26, 2010, at 10:16 AM, John Drescher wrote:


On Thu, Aug 26, 2010 at 11:04 AM, Rory Campbell-Lange
r...@campbell-lange.net wrote:

On 26/08/10, Willians Vivanco (willian...@infomed.sld.cu) wrote:
Hi, i'm having a trouble... I'm using Bacula 2.4.4 and a HP  
TapeLibrary

MSL6000 with LTO3 tapes. My situation is: in the beginning, i'm just
have 4 tapes in use and works right, now i'm received new tapes, but
they're pre-labeled. I put them into the TapeLibrary magazines,  
after

the 4 tapes in use but i don't know how add them to my pool.  Can
anybody help me?


If you use the label command from bconsole, you are asked for which
pool the relevant tape should be added to.



You should not use the label command for an autochanger with barcodes.

use label barcodes instead

and put all tapes in the Scratch Pool.

John

-- 


Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook  
users
worldwide. Take advantage of special opportunities to increase  
revenue and

speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula using old tapes instead of the loaded ones.

2010-08-25 Thread Romer Ventura
+-++---+-+--+-- 
+--+-+--+---+--- 
+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |  
VolRetention | Recycle | Slot | InChanger | MediaType |  
LastWritten |
+-++---+-+--+-- 
+--+-+--+---+--- 
+-+
|   6 | CNH912 | Append|   1 |   64,512 |0  
|2,592,000 |   1 |0 | 0 | tape  | -00-00  
00:00:00 |
+-++---+-+--+-- 
+--+-+--+---+--- 
+-+

Pool: Diff-Pool-dsk-tpe
No results to list.
Pool: Incre-Pool-dsk-dsk

But CNH914 is on my hands... It's not in the super loader WTF..?

I did run update command on the pools but nothing changed. Any  
ideas...?


Thanks
--
Romer Ventura

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Backup plan - Pool errors

2010-08-25 Thread Romer Ventura

Hello,

So what i want to do is:
1.- Full backups run first sunday of the month.
2.- Incremental backups run monday through friday
3.- Differential backups run 2dn-5th sundays of the month.

At the moment i am backing up 2 servers; file server and mail server.  
File server has 310GB of data and it would?certainly?fit in 2 VS1  
tapes. Mail server is 100GB so 1 VS1 tape will be enough.


I dont want the full backup jobs to exceed those amount so i want to  
set file server job to use 2 tapes and mail server 1 tape. Then use  
the?remaining?tapes for incremental and?differential?(we have 7 tapes  
in the super loader). So file server job would use 2 tapes for full  
and 1 tape for incremental and differential (3 tapes total). Mail  
server 1 tape for full and 1 tape for incremental and differential.


We also have 5 sets of 7 tapes and i plan to use 1 set per month so  
that we have 5 months of backups and be able to restore data from any  
point in time during the past 5 months. I would like to have the full  
backup tapes to be written once until the whole ?cycle runs and it's  
time to use them again.


The problem i am having is that when the file server job runs, it  
adds 2 tapes to the Full-pool, then the mail server job runs it says  
i cant add anymore tapes to the pool.


Do that mean that i have to define more pools if i want to separate  
the mail server and file server tapes...?


Here are my pool definitions:
Pool {
  Name = Full-Pool-dsk-tpe
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 months
  Maximum Volume Jobs = 1
#  Label Format = Full-
  Maximum Volumes = 2
  Storage = SLDLTv4
}

Pool {
  Name = Diff-Pool-dsk-tpe
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 months
#  Maximum Volume Jobs = 1
#  Label Format = Full-
  Maximum Volumes = 1
  Storage = SLDLTv4
}

Pool {
  Name = Incre-Pool-dsk-dsk
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 5 days
#  Maximum Volume Jobs = 1
#  Label Format = IncreFileServ-
  Maximum Volumes = 1
  Storage = SLDLTv4
}

Thanks
--
Romer Ventura

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backup plan - Pool errors

2010-08-25 Thread Romer Ventura
 |
+-+--+---+-+- 
+--+--+-+--+---+--- 
+-+

Pool: MailPool-Full-tape
No results to list.
Pool: MailPool-Incre-tape
No results to list.
Pool: FileServPool-Full-tape
+-++---+-+--- 
+--+--+-+--+---+--- 
+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes  |  
VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType |  
LastWritten |
+-++---+-+--- 
+--+--+-+--+---+--- 
+-+
|  15 | CNH895 | Used  |   1 | 2,999,808,000 | 
3 |2,592,000 |   1 |1 | 1 | tape  |  
2010-08-25 09:59:25 |
+-++---+-+--- 
+--+--+-+--+---+--- 
+-+

Pool: FileServPool-Diff-tape
No results to list.
Pool: FileServPool-Incre-tape
No results to list.
Pool: MailPool-Diff-tape
No results to list.


Thanks
--
Romer Ventura

On Aug 25, 2010, at 10:02 AM, John Drescher wrote:


So what i want to do is:
1.- Full backups run first sunday of the month.
2.- Incremental backups run monday through friday
3.- Differential backups run 2dn-5th sundays of the month.
At the moment i am backing up 2 servers; file server and mail  
server. File

server has 310GB of data and it would?certainly?fit in 2 VS1 tapes.


Not necessarily. VS1 tapes are 80GB native each. There is no guarantee
that you will get the overly optimistic 2:1 compression rate. More
likely you will fit 120GB on each 80GB tape with compression enabled.


Mail
server is 100GB so 1 VS1 tape will be enough.
I dont want the full backup jobs to exceed those amount so i want  
to set

file server job to use 2 tapes and mail server 1 tape. Then use
the?remaining?tapes for incremental and?differential?(we have 7  
tapes in the
super loader). So file server job would use 2 tapes for full and 1  
tape for
incremental and differential (3 tapes total). Mail server 1 tape  
for full

and 1 tape for incremental and differential.
We also have 5 sets of 7 tapes and i plan to use 1 set per month  
so that we
have 5 months of backups and be able to restore data from any  
point in time
during the past 5 months. I would like to have the full backup  
tapes to be
written once until the whole ?cycle runs and it's time to use them  
again.
The problem i am having is that when the file server job runs, it  
adds 2
tapes to the Full-pool, then the mail server job runs it says i  
cant add

anymore tapes to the pool.
Do that mean that i have to define more pools if i want to  
separate the mail

server and file server tapes...?



Post the output of list media

John


--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backup plan - Pool errors

2010-08-25 Thread Romer Ventura
I dont want to have a single full backup. I want a single full backup  
per set. I have 5 sets and each set has 7 tapes.


I want to keep the full backup and it;s differential and incremental  
backups for 4 months or 5 months before a set can be over written.  
Does that mean that the Full-Pool will have to have a maxVol = 10 to  
account 2 tapes for each month?



Thanks
--
Romer Ventura

On Aug 25, 2010, at 11:19 AM, Phil Stracchino wrote:


On 08/25/10 11:00, Romer Ventura wrote:

Tapes are 120GB native capacity and 320GB with compression.


2.75:1 compression?  Only if you have unusually compressible data.  I
assume you meant 160GB native; still, 1.3:1 to 1.5:1 is a much more
likely overall compression ratio with real-world data.


But the short answer is, if you expect your fileserver to fill two
tapes, and your mailserver to fill one, and the pool your fileserver
tapes go in have a two-tape limit, then yes, you're going to need to
back up your mailserver to a separate pool unless you're willing to
increase that volume limit.  And if your fileserver backup runs  
over two

tapes, you have a problem.

But then, you have a problem anyway with this plan.  Because if your
fileserver takes two tapes to back up, and is backed up to a pool  
with a
two-tape limit, then you've got to erase each full backup before  
you can

start a new one.  Then, if there's a problem with the new backup (even
if it just runs beyond the two-tape pool limit, which will cause it to
fail), you don't have a backup.  And then if there's a problem on the
server before you can make a new backup, you're dead in the water.

This is how Microsoft managed to lose thousands of Sidekick customers'
data.  Microsoft's Danger unit only had room for a single full backup,
and had to delete it in order to begin a new backup; then they  
cancelled
the new backup in progress, because the manager was impatient and  
didn't

want to wait the three days for the backup to complete; then the major
system update they were backing up in preparation for went south.

Any backup plan that calls for having only a single full backup that
must be purged to begin a new one, is a bad plan.


Prudent planning would call for your full backup pool to hold AT LEAST
sufficient tapes for two complete cycles of your Full backups,  
allowing
a 50% safety margin on the expected tape usage for each one.  So,  
if you
*expect* your full backup to take two tapes, based on your  
expectations

of compression, allow for at least six tapes in your pool.

Remember, tape is cheap, and un-backed-up data may be irreplaceable.


--
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

-- 


Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook  
users
worldwide. Take advantage of special opportunities to increase  
revenue and

speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Enabling hardware compression

2010-08-18 Thread Romer Ventura

Hello,

	I am running Bacula 5.0.2 with a Quantum SuperLoader 3 with DLTv4  
tape drive. If i want to enable hardware compression so i can use  
320GB from my VS1 tapes all i would need to do is run this command:  
mt -f /dev/nst0 defcompression 1, correct?


	Is there any way to enable and disable hardware compression using  
bacula before a job starts..?


Thanks
--
Romer Ventura

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backup too slow

2010-08-17 Thread Romer Ventura

See my post at citrix forums.
http://forums.citrix.com/thread.jspa?threadID=271590tstart=0

Do the registry fix and you'll be good to go.

Thanks
--
Romer Ventura

On Aug 17, 2010, at 10:00 AM, Alípio Luiz wrote:


Hello guys.
I'm running the director in a Linux system. So I'm trying to backup  
a client running Win2k3 (virtualized in a Citrix XenServer)..  
However the copy is too slow..


Server Bacula DIR version 5.0.1 (x86_64-suse-linux-gnu)
Client FD version: 5.0.1

Take a look:
** 
***
SECITEC.srvarq05 Version: 5.0.1 (24 February 2010)  VSS Linux Cross- 
compile Win32

Daemon started 17-Aug-10 10:12, 0 Jobs run since started.
 Heap: heap=0 smbytes=162,577 max_bytes=162,577 bufs=100 max_bufs=100
 Sizeof: boffset_t=8 size_t=4 debug=0 trace=1

Running Jobs:
JobId 833 Job SECITEC.srvarq05.2010-08-17_10.15.34_58 is running.
VSS Full Backup Job started: 17-Aug-10 10:20
Files=2 Bytes=128,341,723 Bytes/sec=166,245 Errors=0
Files Examined=2
Processing file: C:/SYSTEMSTATE/SECITEC-srvarq05-SYSTEMSTATE.BKF
SDReadSeqNo=5 fd=624


Terminated Jobs:

** 
***

Bytes/sec=166,245 (tooo slow)

May you help me?
Thanks in advance.

--
Alípio Luiz [Squidy] | Brasil - Cuiabá/MT
Email: alipio.luizΘgmail.com
Linux User #251497
-- 


This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev  
___

Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] update bacula

2010-08-17 Thread Romer Ventura

./configure
make
make install

???

I think i read somewhere in the docs that it would not replace your  
conf files. The only thing you need to check out is the database  
part, it should be in the docs.


Thanks
--
Romer Ventura

On Aug 17, 2010, at 2:38 PM, nizam wrote:


Hi All,
I have in the server bacula version 2.0.2. Does anybody know how to  
update  to 5.03 which is the current version


Regards,

Nizam

+- 
-

|This was sent by nizam.ahm...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+- 
-




-- 


This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Job Def for multiple job levels not working

2010-08-12 Thread Romer Ventura

Hello,

	I am trying to have 1Job definition and have it run Full,  
Incremental and Differential backups to different media depending on  
the schedule set, but i cant get it to work. What i want to do is do  
full backups 1st sunday of every month and write it to tape, then do  
incremental backups monday-friday and write it to disk, finally do  
differential backups every sunday except for the 1st sun of the month  
and write it to tape.


The job H34-FileServ-dsk-tap keeps running every night when it  
should just run on sundays


Here is what i got:

JobDefs {
  Name = H34-FileServ-def
  Type = Backup
  Level = Incremental
  Client = housigma34-fd
  FileSet = H34-FileServ
  Schedule = WeeklyCycle
  Messages = Standard
#  Pool = Default
  Full Backup Pool = Full-Pool-dsk-tpe
  Differential Backup Pool = Diff-Pool-dsk-tpe
  Incremental Backup Pool = Incre-Pool-dsk-dsk
  Write Bootstrap = /var/lib/bacula/%c.bsr
  Priority = 10
}

Job {
  Name = H34-FileServ-dsk-tap
  JobDefs = H34-FileServ-def
  Pool = Default
  Storage = SLDLTv4
}

Job {
  Name = H34-FileServ-dsk-dsk
  JobDefs = H34-FileServ-def
  Pool = Default
  Storage = File
}

Schedule {
  Name = WeeklyCycle
  Run = Level=Full Pool=Full-Pool-dsk-tpe 1st sun at 20:00
  Run = Level=Differential Pool=Diff-Pool-dsk-tpe 2nd-5th sun at 20:00
  Run = Level=Incremental Pool=Incre-Pool-dsk-dsk mon-fri at 22:00
}

Schedule {
  Name = WeeklyCycleAfterBackup
  Run = Full sun-sat at 23:10
}

Storage {
  Name = SLDLTv4
# Do not use localhost here
  Address = housigma25.DOMAIN.com# N.B. Use a fully  
qualified name here

  SDPort = 9103
  Password = asfasdfsdasdaf
  Device = DLTv4
  Media Type = tape
}

Storage {
  Name = File
  Address = housigma25.DOMAIN.com
  SDPort = 9103
  Password = asdfsadfadsfadsf
  Device = FileStorage
  Media Type = File
}

Pool {
  Name = Scratch
  Pool Type = Backup
}

Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically  
recycle Volumes

  AutoPrune = yes # Prune expired volumes
  Volume Retention = 14 days # one year
  Maximum Volume Jobs = 1
}

Pool {
  Name = Full-Pool-dsk-tpe
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 months
  Maximum Volume Jobs = 1
#  Label Format = Full-
  Maximum Volumes = 2
}

Pool {
  Name = Diff-Pool-dsk-tpe
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 months
  Maximum Volume Jobs = 1
#  Label Format = Full-
  Maximum Volumes = 3
}

Pool {
  Name = Incre-Pool-dsk-dsk
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 5 days
  Maximum Volume Jobs = 1
  Label Format = IncreFileServ-
  Maximum Volumes = 5
}

Thanks
--
Romer Ventura

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job Def for multiple job levels not working

2010-08-12 Thread Romer Ventura
After the changes, i try to restart bacula and it complaints about  
No storage for job:

# /etc/init.d/bacula-director restart
Stopping Bacula Director...:.
Starting Bacula Director...:12-Aug 13:16 bacula-dir JobId 0: Fatal  
error: No storage specified in Job H34-FileServ-dsk-tap nor in Pool.

12-Aug 13:16 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/bacula-dir.conf
 failed!

Here are what it looks like:

JobDefs {
  Name = H34-FileServ-def
  Type = Backup
  Level = Full
  Schedule = WeeklyCycle
  Messages = Standard
  Pool = Full-Pool-dsk-tpe
  Full Backup Pool = Full-Pool-dsk-tpe
  Differential Backup Pool = Diff-Pool-dsk-tpe
  Incremental Backup Pool = Incre-Pool-dsk-dsk
  Write Bootstrap = /var/lib/bacula/%c.bsr
  Priority = 10
}

Job {
  Name = H34-FileServ-dsk-tap
  JobDefs = H34-FileServ-def
  Client = housigma34-fd
  FileSet = H34-FileServ
}

Schedule {
  Name = WeeklyCycle
  Run = Level=Full 1st sun at 20:00
  Run = Level=Differential 2nd-5th sun at 20:00
  Run = Level=Incremental mon-fri at 22:00
}

Storage {
  Name = SLDLTv4
# Do not use localhost here
  Address = housigma25.domain.com# N.B. Use a fully  
qualified name here

  SDPort = 9103
  Password = adsfsdfsdf
  Device = DLTv4
  Media Type = tape
}

Storage {
  Name = File
  Address = housigma25.domain.com
  SDPort = 9103
  Password = asdfsdfasd
  Device = FileStorage
  Media Type = File
}

Pool {
  Name = Scratch
  Pool Type = Backup
}

Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically  
recycle Volumes

  AutoPrune = yes # Prune expired volumes
  Volume Retention = 14 days # one year
  Maximum Volume Jobs = 1
}

Pool {
  Name = Full-Pool-dsk-tpe
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 months
  Maximum Volume Jobs = 1
#  Label Format = Full-
  Maximum Volumes = 2
}

Pool {
  Name = Diff-Pool-dsk-tpe
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 months
  Maximum Volume Jobs = 1
#  Label Format = Full-
  Maximum Volumes = 3
}

Pool {
  Name = Incre-Pool-dsk-dsk
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 5 days
  Maximum Volume Jobs = 1
  Label Format = IncreFileServ-
  Maximum Volumes = 5
}

Thanks
--
Romer Ventura

On Aug 12, 2010, at 12:44 PM, Phil Stracchino wrote:


On 08/12/10 10:03, Romer Ventura wrote:

Hello,

I am trying to have 1Job definition and have it run Full, Incremental
and Differential backups to different media depending on the schedule
set, but i cant get it to work. What i want to do is do full  
backups 1st
sunday of every month and write it to tape, then do incremental  
backups

monday-friday and write it to disk, finally do differential backups
every sunday except for the 1st sun of the month and write it to  
tape.


The job H34-FileServ-dsk-tap keeps running every night when it  
should

just run on sundays

Here is what i got:


You're doing this wrong.  You've defined two separate Jobs for the  
same

backup, you've forced the level in your JobDefs, and you have two
redundant sets of Pool overrides.



JobDefs {
  Name = H34-FileServ-def
  Type = Backup
  Level = Incremental
  Client = housigma34-fd
  FileSet = H34-FileServ
  Schedule = WeeklyCycle
  Messages = Standard
#  Pool = Default
  Full Backup Pool = Full-Pool-dsk-tpe
  Differential Backup Pool = Diff-Pool-dsk-tpe
  Incremental Backup Pool = Incre-Pool-dsk-dsk
  Write Bootstrap = /var/lib/bacula/%c.bsr
  Priority = 10
}


Remove the Fileset and Client specificiation from this JobDefs  
resource.
 They belong in the Job resource; otherwise, you've tied this  
JobDefs to

a single client and completely defeated the point of JobDefs by making
it non-reusable.  I'd advise making the default level in the JobDefs
Full, and the default Pool your full pool.


Job {
  Name = H34-FileServ-dsk-tap
  JobDefs = H34-FileServ-def
  Pool = Default
  Storage = SLDLTv4
}


Don't specify the Storage in the Job definition.  Let Bacula figure  
out

which Storage to use.  Your FileSet and your Client directives belong
here.  You're also specifying a static default Pool in your Job  
which is

better left in the JobDefs.


Job {
  Name = H34-FileServ-dsk-dsk
  JobDefs = H34-FileServ-def
  Pool = Default
  Storage = File
}


Get rid of this second Job definition.  It's doing you no good
whatsoever and just confusing the issue.



Schedule {
  Name = WeeklyCycle
  Run = Level=Full Pool=Full-Pool-dsk-tpe 1st sun at 20:00
  Run = Level=Differential Pool=Diff-Pool-dsk-tpe 2nd-5th sun at  
20:00

  Run = Level=Incremental Pool=Incre-Pool-dsk-dsk mon-fri at 22:00
}


Remove the Pool overrides from this Schedule.  Pool overrides in the
Schedule are deprecated because they don't work reliably and cannot be
made to work reliably.  Having two sets of overrides for the same  
job is

likely confusing Bacula.  Keep the ones in your JobDefs; lose

Re: [Bacula-users] Job Def for multiple job levels not working

2010-08-12 Thread Romer Ventura

Sorry, i just realized that i can define storage in the pools..

I'll give this a shot and see how it works.

Thanks
--
Romer Ventura

On Aug 12, 2010, at 12:44 PM, Phil Stracchino wrote:


On 08/12/10 10:03, Romer Ventura wrote:

Hello,

I am trying to have 1Job definition and have it run Full, Incremental
and Differential backups to different media depending on the schedule
set, but i cant get it to work. What i want to do is do full  
backups 1st
sunday of every month and write it to tape, then do incremental  
backups

monday-friday and write it to disk, finally do differential backups
every sunday except for the 1st sun of the month and write it to  
tape.


The job H34-FileServ-dsk-tap keeps running every night when it  
should

just run on sundays

Here is what i got:


You're doing this wrong.  You've defined two separate Jobs for the  
same

backup, you've forced the level in your JobDefs, and you have two
redundant sets of Pool overrides.



JobDefs {
  Name = H34-FileServ-def
  Type = Backup
  Level = Incremental
  Client = housigma34-fd
  FileSet = H34-FileServ
  Schedule = WeeklyCycle
  Messages = Standard
#  Pool = Default
  Full Backup Pool = Full-Pool-dsk-tpe
  Differential Backup Pool = Diff-Pool-dsk-tpe
  Incremental Backup Pool = Incre-Pool-dsk-dsk
  Write Bootstrap = /var/lib/bacula/%c.bsr
  Priority = 10
}


Remove the Fileset and Client specificiation from this JobDefs  
resource.
 They belong in the Job resource; otherwise, you've tied this  
JobDefs to

a single client and completely defeated the point of JobDefs by making
it non-reusable.  I'd advise making the default level in the JobDefs
Full, and the default Pool your full pool.


Job {
  Name = H34-FileServ-dsk-tap
  JobDefs = H34-FileServ-def
  Pool = Default
  Storage = SLDLTv4
}


Don't specify the Storage in the Job definition.  Let Bacula figure  
out

which Storage to use.  Your FileSet and your Client directives belong
here.  You're also specifying a static default Pool in your Job  
which is

better left in the JobDefs.


Job {
  Name = H34-FileServ-dsk-dsk
  JobDefs = H34-FileServ-def
  Pool = Default
  Storage = File
}


Get rid of this second Job definition.  It's doing you no good
whatsoever and just confusing the issue.



Schedule {
  Name = WeeklyCycle
  Run = Level=Full Pool=Full-Pool-dsk-tpe 1st sun at 20:00
  Run = Level=Differential Pool=Diff-Pool-dsk-tpe 2nd-5th sun at  
20:00

  Run = Level=Incremental Pool=Incre-Pool-dsk-dsk mon-fri at 22:00
}


Remove the Pool overrides from this Schedule.  Pool overrides in the
Schedule are deprecated because they don't work reliably and cannot be
made to work reliably.  Having two sets of overrides for the same  
job is

likely confusing Bacula.  Keep the ones in your JobDefs; lose the ones
in the Schedule.



After those changes, you should be looking at something pretty much  
like

this:

JobDefs {
  Name = H34-FileServ-def
  Type = Backup
  Level = Full
  Schedule = WeeklyCycle
  Messages = Standard
  Pool = Full-Pool-dsk-tpe
  Full Backup Pool = Full-Pool-dsk-tpe
  Differential Backup Pool = Diff-Pool-dsk-tpe
  Incremental Backup Pool = Incre-Pool-dsk-dsk
  Write Bootstrap = /var/lib/bacula/%c.bsr
  Priority = 10
}

Job {
  Name = H34-FileServ-dsk-tap
  JobDefs = H34-FileServ-def
  Client = housigma34-fd
  FileSet = H34-FileServ
}

Schedule {
  Name = WeeklyCycle
  Run = Level=Full 1st sun at 20:00
  Run = Level=Differential 2nd-5th sun at 20:00
  Run = Level=Incremental mon-fri at 22:00
}


Give that a shot and see if it works for you.

--
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

-- 


This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] tape has room, but Bacula warning unable to add scratch volume

2010-08-11 Thread Romer Ventura

Hello,

	I am running a full back up with a size of  estimate files=983,529  
bytes=306,761,539,624, the backup started normally and used up 1  
full tape 160GB (uncompressed), then it switched tapes and continued  
to copy data to the second tape, but all of the sudden it stops and  
bacula starts complaining with: JobId 2: Warning: Unable add Scratch  
Volume, Pool Full-Pool-dsk-tpe full MaxVols=2


list media shows:
+-++---+-+- 
+--+--+-+--+---+--- 
+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes|  
VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType |  
LastWritten |
+-++---+-+- 
+--+--+-+--+---+--- 
+-+
|   1 | CNH910 | Full  |   1 | 164,989,504,512 |   
166 |2,592,000 |   1 |1 | 1 | tape  |  
2010-08-10 20:53:33 |
|   2 | CNH911 | Used  |   1 | 142,552,940,544 |   
143 |2,592,000 |   1 |2 | 1 | tape  |  
2010-08-11 00:53:24 |
+-++---+-+- 
+--+--+-+--+---+--- 
+-+


Both tapes are the same, both of them are capable of storing 160GB of  
uncompressed data. Why is it still asking for more tapes?


Also, status on director shows:
Running Jobs:
Console connected at 10-Aug-10 16:13
 JobId Level   Name   Status
==
 2 FullH34-FileServ-dsk-tap.2010-08-10_22.00.00_08 is  
waiting for an appendable Volume
 3 FullH34-FileServ-dsk-dsk.2010-08-10_22.00.00_09 is  
waiting on max Client jobs
 4 FullBackupCatalog.2010-08-10_23.10.00_10 is waiting for  
higher priority jobs to finish



Terminated Jobs:
 JobId  LevelFiles  Bytes   Status   FinishedName

 1  Full983,490307.0 G  OK   11-Aug-10 00:55 H34- 
FileServ-dsk-tap


Why is the backup still running even when it is shown in Terminated  
Jobs with OK status..?


Thanks
--
Romer Ventura

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] tape has room, but Bacula warning unable to add scratch volume

2010-08-11 Thread Romer Ventura
Yes, i understand that, but when the tape CNH910 got full, bacula  
unloaded the tape and loaded CNH911, when loading the tape, bacula  
marked it as used before writing any data to it. It did the same  
with CNH910. Here is the list of tapes before the job started:

Pool: Scratch
+-++---+-+--+-- 
+--+-+--+---+--- 
+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |  
VolRetention | Recycle | Slot | InChanger | MediaType |  
LastWritten |
+-++---+-+--+-- 
+--+-+--+---+--- 
+-+
|   1 | CNH910 | Append|   1 |   64,512 |0  
|   31,536,000 |   1 |1 | 1 | tape  | -00-00  
00:00:00 |
|   2 | CNH911 | Append|   1 |   64,512 |0  
|   31,536,000 |   1 |2 | 1 | tape  | -00-00  
00:00:00 |
|   3 | CNH912 | Append|   1 |   64,512 |0  
|   31,536,000 |   1 |3 | 1 | tape  | -00-00  
00:00:00 |
|   4 | CNH913 | Append|   1 |   64,512 |0  
|   31,536,000 |   1 |4 | 1 | tape  | -00-00  
00:00:00 |
|   5 | CNH914 | Append|   1 |   64,512 |0  
|   31,536,000 |   1 |5 | 1 | tape  | -00-00  
00:00:00 |
+-++---+-+--+-- 
+--+-+--+---+--- 
+-+


Bacula loaded CNH910, marked as used and started to write data,  
CNH910 got full, tape was unloaded, CNH911 was loaded, marked as used  
and started to write data. Only that this time it didnt write as much  
data as with the first tape, even when both of them have the same  
capacity.


Thanks
--
Romer Ventura

On Aug 11, 2010, at 9:20 AM, John Drescher wrote:


2010/8/11 Romer Ventura rvent...@h-st.com:

Hello,
I am running a full back up with a size of  estimate files=983,529
bytes=306,761,539,624, the backup started normally and used up 1  
full tape
160GB (uncompressed), then it switched tapes and continued to copy  
data to

the second tape, but all of the sudden it stops and bacula starts
complaining with: JobId 2: Warning: Unable add Scratch Volume, Pool
Full-Pool-dsk-tpe full MaxVols=2
list media shows:
+-++---+-+- 
+--+--+-+--+---+--- 
+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes|  
VolFiles |

VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|
+-++---+-+- 
+--+--+-+--+---+--- 
+-+
|   1 | CNH910 | Full  |   1 | 164,989,504,512  
|  166 |
   2,592,000 |   1 |1 | 1 | tape  | 2010-08-10  
20:53:33

|
|   2 | CNH911 | Used  |   1 | 142,552,940,544  
|  143 |
   2,592,000 |   1 |2 | 1 | tape  | 2010-08-11  
00:53:24

|
+-++---+-+- 
+--+--+-+--+---+--- 
+-+

Both tapes are the same, both of them are capable of storing 160GB of
uncompressed data. Why is it still asking for more tapes?
Also, status on director shows:



One is marked Full the other is marked Used so neither tape is usable.

Full means the tape is full. Used means that you have configured
bacula to restrict the volume usage in some way (maximum volume jobs,
maximum use duration ...)

John


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] simple question about volumen

2010-08-11 Thread Romer Ventura
if you are using file storage, i think it would be ok to create a  
volume per client. However, having 1000 volumes as opposed to 100 big  
volumes would make a difference..



Thanks
--
Romer Ventura

On Aug 11, 2010, at 9:14 AM, rpere...@lavabit.com wrote:


hello

I'm a newbie bacula user.

A simple first question.

I should create a backup volumen per client backuped ?

Bacula may have many client's backups in only one volumen ?

I going to use file storage (not tape)

Thanks

roberto



-- 


This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] tape has room, but Bacula warning unable to add scratch volume

2010-08-11 Thread Romer Ventura
Could it be the schedule..? Well since i havent got a full backup, i  
manually ran the full backup job. Does this mean that since the job  
scheduled for the 1st sunday hadnt run, bacula scheduled and tried to  
run it as if it was the 1st sun?


Shouldnt bacula check for the a full backup for the same job and then  
just do the incremental job? or manually ran jobs do not count on  
this checks bacula does...?


Well the schedule is:
Schedule {
  Name = WeeklyCycle
  Run = Level=Full Pool=Full-Pool-dsk-tpe 1st sun at 20:00
  Run = Level=Differential Pool=Diff-Pool-dsk-tpe 2nd-5th sun at 20:00
  Run = Level=Incremental Pool=Incre-Pool-dsk-dsk mon-fri at 22:00
}

And the pools:
Pool {
  Name = Full-Pool-dsk-tpe
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 months
  Maximum Volume Jobs = 1
#  Label Format = Full-
  Maximum Volumes = 2
}

Pool {
  Name = Diff-Pool-dsk-tpe
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 months
  Maximum Volume Jobs = 1
#  Label Format = Full-
  Maximum Volumes = 3
}

Pool {
  Name = Incre-Pool-dsk-dsk
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 5 days
  Maximum Volume Jobs = 1
  Label Format = IncreFileServ-
  Maximum Volumes = 5
}

Thanks
--
Romer Ventura

On Aug 11, 2010, at 9:36 AM, John Drescher wrote:


2010/8/11 Romer Ventura rvent...@h-st.com:

Hello,
I am running a full back up with a size of  estimate files=983,529
bytes=306,761,539,624, the backup started normally and used up 1  
full tape
160GB (uncompressed), then it switched tapes and continued to copy  
data to

the second tape, but all of the sudden it stops and bacula starts
complaining with: JobId 2: Warning: Unable add Scratch Volume, Pool
Full-Pool-dsk-tpe full MaxVols=2
list media shows:
+-++---+-+- 
+--+--+-+--+---+--- 
+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes|  
VolFiles |

VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|
+-++---+-+- 
+--+--+-+--+---+--- 
+-+
|   1 | CNH910 | Full  |   1 | 164,989,504,512  
|  166 |
   2,592,000 |   1 |1 | 1 | tape  | 2010-08-10  
20:53:33

|
|   2 | CNH911 | Used  |   1 | 142,552,940,544  
|  143 |
   2,592,000 |   1 |2 | 1 | tape  | 2010-08-11  
00:53:24

|
+-++---+-+- 
+--+--+-+--+---+--- 
+-+

Both tapes are the same, both of them are capable of storing 160GB of
uncompressed data. Why is it still asking for more tapes?
Also, status on director shows:
Running Jobs:
Console connected at 10-Aug-10 16:13
 JobId Level   Name   Status
= 
=
 2 FullH34-FileServ-dsk-tap.2010-08-10_22.00.00_08 is  
waiting for an

appendable Volume
 3 FullH34-FileServ-dsk-dsk.2010-08-10_22.00.00_09 is  
waiting on max

Client jobs
 4 FullBackupCatalog.2010-08-10_23.10.00_10 is waiting for  
higher

priority jobs to finish

Terminated Jobs:
 JobId  LevelFiles  Bytes   Status   FinishedName

 1  Full983,490307.0 G  OK   11-Aug-10 00:55
H34-FileServ-dsk-tap
Why is the backup still running even when it is shown in  
Terminated Jobs

with OK status..?
Thanks


That is a different job. Job 1 finished and wrote 307GB. For some
reason you are running the H34-FileServ-dsk-tap job 2 times.

John


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] tape has room, but Bacula warning unable to add scratch volume

2010-08-11 Thread Romer Ventura
No, there was no data in the tape. All tapes were label barcode and  
placed in the scratch pool. The 142GB were written by that job. Like  
you said, it seems the same job is running 2 times. I ll wait and see..


Prior to starting the job:
Pool: Scratch
+-++---+-+--+-- 
+--+-+--+---+--- 
+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |  
VolRetention | Recycle | Slot | InChanger | MediaType |  
LastWritten |
+-++---+-+--+-- 
+--+-+--+---+--- 
+-+
|   1 | CNH910 | Append|   1 |   64,512 |0  
|   31,536,000 |   1 |1 | 1 | tape  | -00-00  
00:00:00 |
|   2 | CNH911 | Append|   1 |   64,512 |0  
|   31,536,000 |   1 |2 | 1 | tape  | -00-00  
00:00:00 |
|   3 | CNH912 | Append|   1 |   64,512 |0  
|   31,536,000 |   1 |3 | 1 | tape  | -00-00  
00:00:00 |
|   4 | CNH913 | Append|   1 |   64,512 |0  
|   31,536,000 |   1 |4 | 1 | tape  | -00-00  
00:00:00 |
|   5 | CNH914 | Append|   1 |   64,512 |0  
|   31,536,000 |   1 |5 | 1 | tape  | -00-00  
00:00:00 |
+-++---+-+--+-- 
+--+-+--+---+--- 
+-+


After the job was ran:
Pool: Scratch
+-++---+-+--+-- 
+--+-+--+---+--- 
+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |  
VolRetention | Recycle | Slot | InChanger | MediaType |  
LastWritten |
+-++---+-+--+-- 
+--+-+--+---+--- 
+-+
|   3 | CNH912 | Append|   1 |   64,512 |0  
|   31,536,000 |   1 |3 | 1 | tape  | -00-00  
00:00:00 |
|   4 | CNH913 | Append|   1 |   64,512 |0  
|   31,536,000 |   1 |4 | 1 | tape  | -00-00  
00:00:00 |
|   5 | CNH914 | Append|   1 |   64,512 |0  
|   31,536,000 |   1 |5 | 1 | tape  | -00-00  
00:00:00 |
+-++---+-+--+-- 
+--+-+--+---+--- 
+-+

Pool: Full-Pool-dsk-tpe
+-++---+-+- 
+--+--+-+--+---+--- 
+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes|  
VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType |  
LastWritten |
+-++---+-+- 
+--+--+-+--+---+--- 
+-+
|   1 | CNH910 | Full  |   1 | 164,989,504,512 |   
166 |2,592,000 |   1 |1 | 1 | tape  |  
2010-08-10 20:53:33 |
|   2 | CNH911 | Used  |   1 | 142,552,940,544 |   
143 |2,592,000 |   1 |2 | 1 | tape  |  
2010-08-11 00:53:24 |
+-++---+-+- 
+--+--+-+--+---+--- 
+-+




Thanks
--
Romer Ventura

On Aug 11, 2010, at 9:32 AM, John Drescher wrote:

Yes, i understand that, but when the tape CNH910 got full, bacula  
unloaded
the tape and loaded CNH911, when loading the tape, bacula marked  
it as

used before writing any data to it.


So you are saying there was 148GB of data on CNH911 before the job
started. Then bacula loaded the volume, marked it used and then
determined it could not write to a used volume so it asked for a
different volume?

John


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula backups running extremely slowly

2010-08-11 Thread Romer Ventura
I had the same problem: refer to: http://support.citrix.com/article/ 
CTX124456


Or my post:
http://forums.citrix.com/thread.jspa?threadID=271590tstart=0

Thanks
--
Romer Ventura

On Aug 11, 2010, at 2:14 PM, frozensolid wrote:

I have my first backup job running on a Suse Enterprise 10.3 VM.  I  
started the backup at 1:30 am last night, and at noon it was still  
running and had only made about a 7 GB backup file.  The system's  
CPU load is 0.28 or less while the backup is running, and I've yet  
to see it go above 2% cpu usage.


The job reports it's running at around 300,000 Bytes/sec, though it  
starts out at around 2,000,000 before I see it start dropping and  
eventually averages out there.


I've tried messing with the Maximum Network Buffer Size but every  
change I made seem to make matters worse instead of better.  I've  
turned on and off GZIP and it didn't make a difference.  I'm not  
sure what else to consider.  It's almost entirely default settings.


The Director, Client, and Storage are all running on the same VM.   
I have the files I'm backing up mounted as network shares, and it's  
saving the backup file to a diferent network share.  The whole  
network is setup on gigabit, but even on a 100 megabit network I  
should be seeing more speed than I'm getting.  What might I be  
doing wrong?


+- 
-

|This was sent by fro...@frozen-solid.net via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+- 
-




-- 


This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula backups running extremely slowly

2010-08-11 Thread Romer Ventura

Sorry i missed the Suse part...

Thanks
--
Romer Ventura

On Aug 11, 2010, at 2:14 PM, frozensolid wrote:

I have my first backup job running on a Suse Enterprise 10.3 VM.  I  
started the backup at 1:30 am last night, and at noon it was still  
running and had only made about a 7 GB backup file.  The system's  
CPU load is 0.28 or less while the backup is running, and I've yet  
to see it go above 2% cpu usage.


The job reports it's running at around 300,000 Bytes/sec, though it  
starts out at around 2,000,000 before I see it start dropping and  
eventually averages out there.


I've tried messing with the Maximum Network Buffer Size but every  
change I made seem to make matters worse instead of better.  I've  
turned on and off GZIP and it didn't make a difference.  I'm not  
sure what else to consider.  It's almost entirely default settings.


The Director, Client, and Storage are all running on the same VM.   
I have the files I'm backing up mounted as network shares, and it's  
saving the backup file to a diferent network share.  The whole  
network is setup on gigabit, but even on a 100 megabit network I  
should be seeing more speed than I'm getting.  What might I be  
doing wrong?


+- 
-

|This was sent by fro...@frozen-solid.net via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+- 
-




-- 


This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Recommendation about backups scheduling

2010-08-09 Thread Romer Ventura

What i just started doing is:
Full back up the first Sun of every month directly to tape
incremental backup mon-fri directly to disk
differential backup every sunday except for the 1st sunday directly  
to tape


Our data is about 300GB which will fit fine in 2 tapes, i dont feel  
like writing daily small sets of data to time is worth the time so i  
write that to disk and consolidate the changes with the differential  
backup. This will use 5 tapes per month (of course without current  
data demands) and allowing me to keep 4 months worth of data with the  
differential tapes allowing me to go back i time in a weekly manner.


Thanks
--
Romer Ventura

On Aug 8, 2010, at 12:03 PM, Daniel Bareiro wrote:


http://en.wikipedia.org/wiki/Backup_rotation_scheme


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Slow backups under XenServer with Windows2003 SP1/R2 guests

2010-08-05 Thread Romer Ventura
Hello,

So i am trying to back up my file server with Bacula and i am having  
a difficult time getting it to work. I am able to back up desktops at  
7MB/s, non-virtualized windows servers at 4.7MB/s, virtualized  
desktops at 4.7MB/s and virtualized windows servers at 100KB/s.??

The servers are any of Windows 2003 SP1 or Windows 2003 R2, the  
desktops (virtualized or not) are Windows XP SP3/SP2. My hosts server  
all run Citrix XenServer Enterprise, running on HP blades  with 8GB  
of RAM and dual quad core CPUs on SAS HDDs. The VMs storage resides  
in an HP EVA4400 connected via fiber.

If i mount server1's (virtualized windows 2003) share on the bacula  
server and copy the same amount of data(3.1GB) it gets done in about  
6min. If i copy the data via scp it gets done in about 5min at a  
rate of 11MB/s.

But when i run bacula on any virtualized windows 2003 server the  
data rate doesnt go higher than 200KB/s.

NOTE: That i am backing all this up to disk.

Here are the relevant config files:

bacula-dir.conf:
Job {
   Name = test1
   Type = Backup
   Level = Full
   Client = I USE ANY OF THE CLIENTS BELLOW TO TEST THE SAME SETTINGS
   FileSet = wintest
   Schedule = WeeklyCycle
   Storage = File
   Messages = Standard
   Pool = Default
   Write Bootstrap = /var/lib/bacula/%c.bsr
   Priority = 10
}

Client {
   Name = vir-server1-fd
   Address = vir-server1.DOMAIN.COM
   FDPort = 9102
   Catalog = MyCatalog
   Password = asdfasdfsadfaf  # password for FileDaemon
   File Retention = 14 days# 30 days
   Job Retention = 1 months# six months
   AutoPrune = yes # Prune expired Jobs/Files
}

# Client (File Services) to backup

Client {
   Name = ph-desktop1-fd
   Address = ph-desktop1.DOMAIN.COM
   FDPort = 9102
   Catalog = MyCatalog
   Password = asdfsadfdsafsdafasd  # password for FileDaemon
   File Retention = 30 days# 30 days
   Job Retention = 6 months# six months
   AutoPrune = yes # Prune expired Jobs/Files
}

# Client (File Services) to backup

Client {
   Name = vir-desktop2-fd
   Address = vir-desktop2.DOMAIN.COM
   FDPort = 9102
   Catalog = MyCatalog
   Password = asdfsdfdsfsadfa/  # password for FileDaemon
   File Retention = 30 days# 30 days
   Job Retention = 6 months# six months
   AutoPrune = yes # Prune expired Jobs/Files
}

Pool {
   Name = Default
   Pool Type = Backup
   Recycle = yes   # Bacula can automatically  
recycle Volumes
   AutoPrune = yes # Prune expired volumes
   Volume Retention = 3 days # one year
   Maximum Volume Jobs = 1
   LabelFormat = File-
}

bacula-sd.conf:
Device {
   Name = FileStorage
   Media Type = File
   Archive Device = /bacula-staging/backups
   LabelMedia = yes   # lets Bacula label unlabeled  
media
   Random Access = Yes;
   AutomaticMount = yes;   # when device opened, read it
   RemovableMedia = no;
   Maximum Network Buffer Size = 13107200
   AlwaysOpen = no;
}

Thanks
--
Romer Ventura


--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users