Re: [Bacula-users] Invalid path given in windows backups

2011-06-06 Thread John Drescher
> That was not the solution, but it lights one idea,
>
>
>
> I tried with the double \\ and it Works
>

Both / or \\ should have worked since bacula internally uses *nix
paths instead of windows paths.

John

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Invalid path given in windows backups

2011-06-06 Thread John Drescher
2011/6/6 Arnau Coll 

>  Hi all!
>
>
>
> I wonder if anyone knows that.
>
> When I try to restore by command line (bconsole) or webmin app for bacula
> on a Windows server, it seems that bacula doesn’t like Windows paths:
>
>
>
> That’s the bconsole tries and errors:
>
>
>
> cwd is: /
>
> $ ls
>
> C:\BackupBD/
>
> C:\Webs/
>
> C:\php/
>
>
>
> $ cd C:\Webs/
>
> Invalid path given.
>
> cwd is: /
>
>
>
> $ cd Webs
>
> Invalid path given.
>
> cwd is: /
>
>
>
> $ cd C:Webs
>
> Invalid path given.
>
> cwd is: /
>
>
>
> $ cd "C:\Webs/"
>
> Invalid path given.
>
> cwd is: /
>
>
>
> $ cd /Webs
>
> Invalid path given.
>
> cwd is: /
>
>
>
> I try to google it but i didn’t find the good answer.
>
>
>
>
Use / instead of \

John
--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] diff between last backup and actual filesystem content

2011-06-03 Thread John Drescher
> So, now I have some more questions :
> 1) Using a tape is slow,
What kind of tape do you have?  LTO4 and above net over 100MB/s.

>is it possible to use a disk storage as backup
> device with bacula ??
Yes.

> 2) if 1) is possible, can we use concurrent accesses to the catalog in order
> being able to restore some data , while we are backing up other ones 
>
Yes that will work with tape or disk.

John

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Newbie question about labelling tapes for certain days

2011-06-03 Thread John Drescher
> Schedule {
>  Name = "Daily"
>  Run = Level = Incremental Pool = Monday  mon at 18:00
>  Run = Level = Incremental Pool = Tuesday tue at 18:00
>  Run = Level = Incremental Pool = Wednesday  wed at 18:00
>  Run = Level = Incremental Pool = Thursday thu at 18:00
>  Run = Level = Incremental Pool = Friday  wed at 18:00
>  Run = Level = Incremental Pool = Satuday  sat at 18:00
>  Run = Level = Full  Pool = Sunday  sun at 18:00
>  }
>

Oops I messed up the schedule for the Friday Pool...


John

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Newbie question about labelling tapes for certain days

2011-06-03 Thread John Drescher
2011/6/3 "Stefan Günther" :
> Hi,
>
>>If you do label each day I would use separate pools otherwise at some
>>point (holiday, missed backup ...) you will get out of sync and bacula
>>will ask for a Friday tape on Monday..
>>
> just to sum it up:
>
> 1. I would have to create separate pools for everyday.
Yes

> 2. I would have to create an entry of every week day in the schedule.
Yes, You can create a single schedule with a line per day

> 3. I would have to create one job for every week day because I have to use 
> the pool parameter/name in the definition of the job and to use different 
> pools and I have to define different jobs.

No. A single job with the schedule that has a line for each day and
sets the pool on each line

Schedule {
  Name = "Daily"
  Run = Level = Incremental Pool = Monday  mon at 18:00
  Run = Level = Incremental Pool = Tuesday tue at 18:00
  Run = Level = Incremental Pool = Wednesday  wed at 18:00
  Run = Level = Incremental Pool = Thursday thu at 18:00
  Run = Level = Incremental Pool = Friday  wed at 18:00
  Run = Level = Incremental Pool = Satuday  sat at 18:00
  Run = Level = Full  Pool = Sunday  sun at 18:00
 }

Job {
  Name = "MyBackup"
  Type = Backup
  Level = Incremental # default
  Client = Minou
  FileSet="Minou Full Set"
  Storage = DLTDrive
  Pool = Default
  Schedule = Daily
  Messages = Standard
}

Remember that the schedule will override the Pool and Level in the job.

http://bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html#SECTION00185


> That's a lot to type!
>
> BTW: Can I combine the two schedules "Daily" and "Weekly "into the new 
> schedule "Backup", since they deal with different days?

Yes.

> Schedule {
>   Name = "Daily"
>   Run = Level = Incremental Pool = Daily mon-fri at 18:00
>     }
>
> Schedule {
>   Name= "Weekly"
>   Run = Level = Full Pool = Weekly sun at 00:01
>     }
>
> Schedule {
>   Name = "Backup"
>   Run = Level = Incremental Pool = Daily mon-fri at 18:00
>   Run = Level = Full Pool = Weekly sun at 00:01
>     }
>
> Thanks,
>
> Stefan
> ___
> Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
> Toolbar eingebaut! http://produkte.web.de/go/toolbar
>



-- 
John M. Drescher

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] LTO 5 Autoloader Support.

2011-06-02 Thread John Drescher
On Thu, Jun 2, 2011 at 2:01 AM, derbysig  wrote:
> Anybody helping in this? I am very interested to know about this too, as I am 
> using a LTO3 and will most likely be upgrading to a LTO5 somewhere end of 
> this year.
> Hope to learn from the replies from the knowledgeable people here!

Remember that the bacula relies on OS support so if the st device and
mt and mtx work reliably under whatever os you use then the autoloader
should work in bacula.

John

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Verify Catalog

2011-06-02 Thread John Drescher
2011/6/2 Rickifer Barros :
> A bad backup is the same that none backup. Verifying is very important,
> nevertheless, is not 100% safe. The only and almost impracticable way would
> be often make disaster recovery simulations.

I see that some users do test restores periodically. I have done that
a few times but not as often as I want. I also make sure that the most
important data is backed up more than 1 time. In the past I did that
to 2 different media types but now since my dataset has grown and the
DLT tape drives are not working reliably I use the same LTO2
autochanger. When I get some money in the budget I am thinking of
adding an LTO5 (or by then LTO6) tape drive to make these alternate
backups.

John

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Verify Catalog

2011-06-02 Thread John Drescher
On Thu, Jun 2, 2011 at 5:20 AM, John Drescher  wrote:
> On Thu, Jun 2, 2011 at 5:10 AM, Ralf Gross  wrote:
>> John Drescher schrieb:
>>> On Thu, Jun 2, 2011 at 4:05 AM, Ralf Gross  wrote:
>>> > Rickifer Barros schrieb:
>>> >> Yes John...
>>> >>
>>> >> Now, I think that I understood perfectly and I have tested it too.
>>> >>
>>> >> VolumeToCatalog = Compares the files in a Storage Volume with the 
>>> >> Catalog;
>>> >
>>> >
>>> > VolumeToCatalog does not read the file content and compares it, it just
>>> > reads the attributs and compares them (md5sum).
>>> >
>>> > quote:
>>> > http://www.bacula.org/en/dev-manual/main/main/Configuring_Director.html
>>> >
>>> > VolumeToCatalog
>>> >    This level causes Bacula to read the file attribute data written
>>> > to the Volume from the last Job. The file attribute data are compared
>>> > to the values saved in the Catalog database and any differences are
>>> > reported. This is similar to the Catalog level except that instead of
>>> > comparing the disk file attributes to the catalog database, the
>>> > attribute data written to the Volume is read and compared to the
>>> > catalog database.
>>>
>>> This part to me says it does compare the data on the volume with the
>>> hash MD5/SHA1 that is stored in the database.
>>
>>
>> I always thought that a VolumeToCatalog job would not read the
>> data written to the volume and calculate the md5sum again. Instead it
>> would just read the file attributes that were written to the volume and
>> compare that with the attributes in the catalog.
>>
>> At least the volume format described in developers.pdf suggest that the 
>> md5sum
>> information is part of the data stream.
>>
>> 10.7 Record Header
>>
>> #define STREAM_UNIX_ATTRIBUTES 1 /* Generic Unix attributes */
>> #define STREAM_FILE_DATA 2 /* Standard uncompressed data */
>> #define STREAM_MD5_SIGNATURE 3 /* MD5 signature for the file */
>> #define STREAM_GZIP_DATA 4 /* GZip compressed file data */
>> /* Extended Unix attributes with Win32 Extended data. Deprecated. */
>> #define STREAM_UNIX_ATTRIBUTES_EX 5 /* Extended Unix attr for Win32 EX */
>> #define STREAM_SPARSE_DATA 6 /* Sparse data stream */
>> #define STREAM_SPARSE_GZIP_DATA 7
>> #define STREAM_PROGRAM_NAMES 8 /* program names for program data */
>> #define STREAM_PROGRAM_DATA 9 /* Data needing program */
>> #define STREAM_SHA1_SIGNATURE 10 /* SHA1 signature for the file */
>> #define STREAM_WIN32_DATA 11 /* Win32 BackupRead data */
>> #define STREAM_WIN32_GZIP_DATA 12 /* Gzipped Win32 BackupRead data */
>> #define STREAM_MACOS_FORK_DATA 13 /* Mac resource fork */
>> #define STREAM_HFSPLUS_ATTRIBUTES 14 /* Mac OS extra attributes */
>> #define STREAM_UNIX_ATTRIBUTES_ACCESS_ACL 15 /* Standard ACL attributes on 
>> UNIX */
>> #define STREAM_UNIX_ATTRIBUTES_DEFAULT_ACL 16 /* Default ACL attributes on 
>> UNIX */
>>
>>
>>
>> So I think that only the md5sums on the volume are compared with the md5sums 
>> in
>> the catalog. If the file data on the volume was damaged somehow this could 
>> not
>> be detected.
>>
>
> The reason I think it is reading the volume is the comparison to the
> Catalog level which has to read the filesystem data to compare that to
> the md5sum in the catalog.
>
> http://bacula.org/5.0.x-manuals/en/main/main/Using_Bacula_Improve_Comput.html
>

I guess I can test this by creating an uncompressed disk volume for a
fileset containing a single text file then corrupting the data part of
the bacula volume and see what it does..

John

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Verify Catalog

2011-06-02 Thread John Drescher
On Thu, Jun 2, 2011 at 5:10 AM, Ralf Gross  wrote:
> John Drescher schrieb:
>> On Thu, Jun 2, 2011 at 4:05 AM, Ralf Gross  wrote:
>> > Rickifer Barros schrieb:
>> >> Yes John...
>> >>
>> >> Now, I think that I understood perfectly and I have tested it too.
>> >>
>> >> VolumeToCatalog = Compares the files in a Storage Volume with the Catalog;
>> >
>> >
>> > VolumeToCatalog does not read the file content and compares it, it just
>> > reads the attributs and compares them (md5sum).
>> >
>> > quote:
>> > http://www.bacula.org/en/dev-manual/main/main/Configuring_Director.html
>> >
>> > VolumeToCatalog
>> >    This level causes Bacula to read the file attribute data written
>> > to the Volume from the last Job. The file attribute data are compared
>> > to the values saved in the Catalog database and any differences are
>> > reported. This is similar to the Catalog level except that instead of
>> > comparing the disk file attributes to the catalog database, the
>> > attribute data written to the Volume is read and compared to the
>> > catalog database.
>>
>> This part to me says it does compare the data on the volume with the
>> hash MD5/SHA1 that is stored in the database.
>
>
> I always thought that a VolumeToCatalog job would not read the
> data written to the volume and calculate the md5sum again. Instead it
> would just read the file attributes that were written to the volume and
> compare that with the attributes in the catalog.
>
> At least the volume format described in developers.pdf suggest that the md5sum
> information is part of the data stream.
>
> 10.7 Record Header
>
> #define STREAM_UNIX_ATTRIBUTES 1 /* Generic Unix attributes */
> #define STREAM_FILE_DATA 2 /* Standard uncompressed data */
> #define STREAM_MD5_SIGNATURE 3 /* MD5 signature for the file */
> #define STREAM_GZIP_DATA 4 /* GZip compressed file data */
> /* Extended Unix attributes with Win32 Extended data. Deprecated. */
> #define STREAM_UNIX_ATTRIBUTES_EX 5 /* Extended Unix attr for Win32 EX */
> #define STREAM_SPARSE_DATA 6 /* Sparse data stream */
> #define STREAM_SPARSE_GZIP_DATA 7
> #define STREAM_PROGRAM_NAMES 8 /* program names for program data */
> #define STREAM_PROGRAM_DATA 9 /* Data needing program */
> #define STREAM_SHA1_SIGNATURE 10 /* SHA1 signature for the file */
> #define STREAM_WIN32_DATA 11 /* Win32 BackupRead data */
> #define STREAM_WIN32_GZIP_DATA 12 /* Gzipped Win32 BackupRead data */
> #define STREAM_MACOS_FORK_DATA 13 /* Mac resource fork */
> #define STREAM_HFSPLUS_ATTRIBUTES 14 /* Mac OS extra attributes */
> #define STREAM_UNIX_ATTRIBUTES_ACCESS_ACL 15 /* Standard ACL attributes on 
> UNIX */
> #define STREAM_UNIX_ATTRIBUTES_DEFAULT_ACL 16 /* Default ACL attributes on 
> UNIX */
>
>
>
> So I think that only the md5sums on the volume are compared with the md5sums 
> in
> the catalog. If the file data on the volume was damaged somehow this could not
> be detected.
>

The reason I think it is reading the volume is the comparison to the
Catalog level which has to read the filesystem data to compare that to
the md5sum in the catalog.

http://bacula.org/5.0.x-manuals/en/main/main/Using_Bacula_Improve_Comput.html

John

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Verify Catalog

2011-06-02 Thread John Drescher
On Thu, Jun 2, 2011 at 4:05 AM, Ralf Gross  wrote:
> Rickifer Barros schrieb:
>> Yes John...
>>
>> Now, I think that I understood perfectly and I have tested it too.
>>
>> VolumeToCatalog = Compares the files in a Storage Volume with the Catalog;
>
>
> VolumeToCatalog does not read the file content and compares it, it just
> reads the attributs and compares them (md5sum).
>
> quote:
> http://www.bacula.org/en/dev-manual/main/main/Configuring_Director.html
>
> VolumeToCatalog
>    This level causes Bacula to read the file attribute data written
> to the Volume from the last Job. The file attribute data are compared
> to the values saved in the Catalog database and any differences are
> reported. This is similar to the Catalog level except that instead of
> comparing the disk file attributes to the catalog database, the
> attribute data written to the Volume is read and compared to the
> catalog database.

This part to me says it does compare the data on the volume with the
hash MD5/SHA1 that is stored in the database.

> Although the attribute data including the signatures
> (MD5 or SHA1) are compared, the actual file data is not compared (it
> is not in the catalog).

Of course it can only compare the hash of the data since it would be
silly to store an entire copy of the data in the database..

John


John

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Verify Catalog

2011-06-01 Thread John Drescher
On Tue, May 31, 2011 at 11:45 PM, Rickifer Barros
 wrote:
> Yes John...
>
> Now, I think that I understood perfectly and I have tested it too.
>
> VolumeToCatalog = Compares the files in a Storage Volume with the Catalog;
>
> DiskToCatalog = Compares the files of the File Deamon's File Set with
> the Catalog;
>
> Catalog   = Like the DiskToCatalog but for Catalogs that don't
> must change because the files are usually system files, so, must be an
> isolated Catalog and the Job with Level = InitCatalog must be run before the
> proper Job with Level = Catalog , in order to clean it and receive the new
> records.
>
> Am I Right, now?
>
I believe so.
>
> One detail is...I thought that in a VolumeToCatalog I could do the
> verification even without the FD connection, because, in my example, the
> Catalog and the Volume are in the same server machine, but, anyway, I needed
> the FD. I know that, if my files were encrypted in the Volume, I would need
> the FD to decryption, but, in this case, they weren't.
>
> Anyway, my real question was solved, Thank you.
>
> On Tue, May 31, 2011 at 6:34 PM, John Drescher  wrote:
>>
>> > Hi John,
>> >
>> > Well, I've tested like the way you said me and it worked.
>> > I used the Level DiskToCatalog cause is a Backup in Disk,
>>
>> That level compares what is on your source filesystem currently with
>> what the MD5/SHA1 was recorded in your catalog. You wanted
>> "VolumeToCatalog" to compare what is in your bacula disk volumes
>> versus the catalog.
>>
>> > so, I've
>> > noticed that it always do the "verify" with the last job written on
>> > the Catalog. Thus, I couldn't check an older backup.
>> >
>> > Another thing...in this test I got two .txt files with nothing write
>> > in them, i.e, they were 0 KB. Bacula considered them, either with MD5
>> > or SHA1, like inconsistent files with those in the Catalog. When I
>> > wrote something in them and redid the test, so, the verification was
>> > OK.
>> >
>> > Thank you John, for your explanation.
>> >
>> > Just one more question for nowit seems such obvious, but, the
>> > Level VolumeToCatalog would be when I use Tapes? Is that right?
>>
>> No that is for tape, disk, dvd or whatever other storage you use in
>> bacula. Remember everything in bacula is stored in a volume. See my
>> previous answer.
>>
>> John
>>
>>
>> --
>> Simplify data backup and recovery for your virtual environment with
>> vRanger.
>> Installation's a snap, and flexible recovery options mean your data is
>> safe,
>> secure and there when you need it. Data protection magic?
>> Nope - It's vRanger. Get your free trial download today.
>> http://p.sf.net/sfu/quest-sfdev2dev
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>



-- 
John M. Drescher

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Verify Catalog

2011-05-31 Thread John Drescher
> Hi John,
>
> Well, I've tested like the way you said me and it worked.
> I used the Level DiskToCatalog cause is a Backup in Disk,

That level compares what is on your source filesystem currently with
what the MD5/SHA1 was recorded in your catalog. You wanted
"VolumeToCatalog" to compare what is in your bacula disk volumes
versus the catalog.

> so, I've
> noticed that it always do the "verify" with the last job written on
> the Catalog. Thus, I couldn't check an older backup.
>
> Another thing...in this test I got two .txt files with nothing write
> in them, i.e, they were 0 KB. Bacula considered them, either with MD5
> or SHA1, like inconsistent files with those in the Catalog. When I
> wrote something in them and redid the test, so, the verification was
> OK.
>
> Thank you John, for your explanation.
>
> Just one more question for nowit seems such obvious, but, the
> Level VolumeToCatalog would be when I use Tapes? Is that right?

No that is for tape, disk, dvd or whatever other storage you use in
bacula. Remember everything in bacula is stored in a volume. See my
previous answer.

John

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fwd: Verify Catalog

2011-05-31 Thread John Drescher
Please try to always email the list..


-- Forwarded message --
From: Rickifer Barros 
Date: Tue, May 31, 2011 at 5:28 PM
Subject: Re: [Bacula-users] Verify Catalog
To: John Drescher 


Hi John,

Well, I've tested like the way you said me and it worked.
I used the Level DiskToCatalog cause is a Backup in Disk, so, I've
noticed that it always do the "verify" with the last job written on
the Catalog. Thus, I couldn't check an older backup.

Another thing...in this test I got two .txt files with nothing write
in them, i.e, they were 0 KB. Bacula considered them, either with MD5
or SHA1, like inconsistent files with those in the Catalog. When I
wrote something in them and redid the test, so, the verification was
OK.

Thank you John, for your explanation.

Just one more question for nowit seems such obvious, but, the
Level VolumeToCatalog would be when I use Tapes? Is that right?

On Tue, May 31, 2011 at 5:06 PM, John Drescher  wrote:
>
> 2011/5/31 Rickifer Barros :
> > Hello Bacula Users,
> >
> > I'm trying to test the Verify Job but, how I could understand, I have to
> > create another catalog just for verifications, but I'm not getting do this.
> > I have installed Bacula on Debian through the aptitude with PostGre. Now I
> > dont know how create this catalog. I've tried create a db called "verify"
> > and configured the Director:
> >
> > Catalog {
> >   Name = Verification
> >   dbname = verify; DB Address = ""; dbuser = "bacula"; dbpassword = "###"
> > }
> >
>
> No you do not want a separate catalog for verify. The example in the
> manual is for using Bacula to track changes in files that are not part
> of your backups.
>
>
>
> > ...so, I cannot even connect at the Director via console.
> >
> > What I need to do to use this Verify Job.
> >
>
> Just the job definition. And the job levels "VolumeToCatalog" or 
> "DiskToCatalog"
>
> Be careful however. The last time I checked this Verify did not work
> correctly. And what I mean about that is I had more than 1 job for a
> client and in the verify command I specified the fileset for the first
> job ran and bacula tried to verify the fileset for the second job
> instead. It seems like it ignores the fileset in the verify Job and
> uses whatever Job was last run on the client instead of what I told it
> to do.
>
> John




-- 
John M. Drescher

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Verify Catalog

2011-05-31 Thread John Drescher
2011/5/31 Rickifer Barros :
> Hello Bacula Users,
>
> I'm trying to test the Verify Job but, how I could understand, I have to
> create another catalog just for verifications, but I'm not getting do this.
> I have installed Bacula on Debian through the aptitude with PostGre. Now I
> dont know how create this catalog. I've tried create a db called "verify"
> and configured the Director:
>
> Catalog {
>   Name = Verification
>   dbname = verify; DB Address = ""; dbuser = "bacula"; dbpassword = "###"
> }
>

No you do not want a separate catalog for verify. The example in the
manual is for using Bacula to track changes in files that are not part
of your backups.



> ...so, I cannot even connect at the Director via console.
>
> What I need to do to use this Verify Job.
>

Just the job definition. And the job levels "VolumeToCatalog" or "DiskToCatalog"

Be careful however. The last time I checked this Verify did not work
correctly. And what I mean about that is I had more than 1 job for a
client and in the verify command I specified the fileset for the first
job ran and bacula tried to verify the fileset for the second job
instead. It seems like it ignores the fileset in the verify Job and
uses whatever Job was last run on the client instead of what I told it
to do.

John

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Newbie question about labelling tapes for certain days

2011-05-31 Thread John Drescher
2011/5/31 "Stefan Günther" :
> Hi,
>
> °Why do you want to do that? Lets Bacula manages all the tapes.
> °
> Well, I would, but my client want's to have a visible prove that the monday 
> backup has been saved on the corresponding tape.
>
> °° Do I have to create a single pool for every single day together with a 
> single entry for every day in the schedule definition?
> °°That would mean, that during labelling, I would assign the volume name 
> "monday", slot number "1" and pool "monday" ?
> °
> °IMHO - It is not required.
> °
> But how does Bacula then know which tape/volume it has to use? Just by 
> starting with the tape in slot1 on monday?
>

If you do label each day I would use separate pools otherwise at some
point (holiday, missed backup ...) you will get out of sync and bacula
will ask for a Friday tape on Monday..

John

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] backing up windows via SMB ?

2011-05-31 Thread John Drescher
On Tue, May 31, 2011 at 12:15 PM, SSzretter
 wrote:
> According to the bacula feature set it supports backing up a windows machine 
> via SMB file share.  How do you configure this?
>
> For example, I would imagine somewhere I need to specify \\machinename\c$
>

You can mount the windows share on a linux box (or other *nix variant)
and back that up. On linux you probably want mount.cifs that is unless
you have an old distro.

John

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: diff between last backup and actual filesystem content

2011-05-31 Thread John Drescher
On Tue, May 31, 2011 at 11:56 AM, Phil Stracchino  wrote:
> On 05/31/11 10:44, John Drescher wrote:
>> On Tue, May 31, 2011 at 10:11 AM, s ancelot  wrote:
>>> Hi everybody !
>>> I accidentally deleted some parts of a filesystem that is backed up
>>> periodically, but I do not know exactly which files have been dropped
>>> (rm -rf ,and CTRL C...)
>>>
>>> So, Is there is a way to compare what changed from the last backup and
>>> the actual disk filesystem content in order to restore only these files
>>> in a folder ?
>>>
>>
>> How about restoring the folder to a different location then doing a
>> diff to see what is different between the two locations?
>
> There's another, simpler approach:  Restore the entire damaged
> filesystem, with REPLACE set to 'only if newer'.
>

Hmm. I forgot about that. I do not restore often. Sorry about the wrong advice..

John

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] diff between last backup and actual filesystem content

2011-05-31 Thread John Drescher
On Tue, May 31, 2011 at 10:43 AM, s ancelot  wrote:
> On 31/05/2011 16:43, John Drescher wrote:
>> On Tue, May 31, 2011 at 10:11 AM, s ancelot  wrote:
>>
>>> Hi everybody !
>>>
>>>
>>> I have had following problem :
>>>
>>> I accidentally deleted some parts of a filesystem that is backed up
>>> periodically, but I do not know exactly which files have been dropped
>>> (rm -rf ,and CTRL C...)
>>>
>>> So, Is there is a way to compare what changed from the last backup and
>>> the actual disk filesystem content in order to restore only these files
>>> in a folder ?
>>>
>>>
>> How about restoring the folder to a different location then doing a
>> diff to see what is different between the two locations?
>>
>> John
>>
> Yes, I agrea it would be a solution, but it sounds to me an old and long
> method, and need some disk space.
> I had seen more powerful backups system in the past, are you sure there
> are no other ways  
>

You could also do a verify level disktocatalog. However I believe that
would only work if the last backup you ran on client was the backup
you want to compare. That is unless bacula fixed this bug.

John

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fwd: diff between last backup and actual filesystem content

2011-05-31 Thread John Drescher
-- Forwarded message --
From: John Drescher 
Date: Tue, May 31, 2011 at 10:43 AM
Subject: Re: [Bacula-users] diff between last backup and actual
filesystem content
To: s ancelot 


On Tue, May 31, 2011 at 10:11 AM, s ancelot  wrote:
> Hi everybody !
>
>
> I have had following problem :
>
> I accidentally deleted some parts of a filesystem that is backed up
> periodically, but I do not know exactly which files have been dropped
> (rm -rf ,and CTRL C...)
>
> So, Is there is a way to compare what changed from the last backup and
> the actual disk filesystem content in order to restore only these files
> in a folder ?
>

How about restoring the folder to a different location then doing a
diff to see what is different between the two locations?

John



-- 
John M. Drescher

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Network timeouts while running enormous backup

2011-05-30 Thread John Drescher
> I added a network interface to the backup server on the same segment
> as the client and the timeout disappeared, so it seems my firewall was
> expiring a TCP session somewhere along the line. Unsure whether it's a
> configuration problem on the Bacula or firewall side -- I expected the
> heartbeat to prevent this.
>
> Anyhow, I'm not sure Bacula is the right solution for this type of
> backup: the attribute despool has been running for nearly three days
> straight now.

That is not normal. I have seen 30 minutes for 5 or so TB backup with
a few million files but never days. Do you have your database on a
server with at least 8GB of ram? Is your database on a raid 10 or SSD?

> Does anybody else have experience backing up tons of
> files?

There are users that backup 30 TB containing millions of files in one
job on this list.

>Any recommendations on making it not suck?
>
Not without any system information.


John

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula slow transfer

2011-05-30 Thread John Drescher
On Mon, May 30, 2011 at 3:11 PM, reiserfs
 wrote:
> Hello, im new with Bacula scene, i have used the HP Dataprotector with a HP 
> Library fiber channel backup.
>
> With the Dataprotector i got 1gbps interfaces and switch and all jobs get 
> done very fast, with transfer like 50-80MB/s.
>
> Now im using Bacula with a DELL TL2000 iSCSI, and with my first experience i 
> got only 6MB/s transfer with 1gbps interfaces and switch.
>
> So what im missing
>

Do you have software compression turned on? If so remove that for a tape drive.

John

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] LTO5 not filling

2011-05-30 Thread John Drescher
> First my apologize for such a newbbie thing. I had my pool configured for
> 50GB which was the size bacula used in the tapes.
> Thanks Ralf for your appreciation, you where right!! :-).

I am glad he thought of that. I would have had to ask you for your
complete configs before figuring that out...

John

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] purging part of a tape?

2011-05-29 Thread John Drescher
> I feel like I've come a long way learning bacula, and am starting to "use" it!
>
> After using several autochanger tapes in a single job, the job failed, so I'd 
> like to reclaim that used space and rerun the job.
>
> I can use "purge jobs volume=xxx" for the _whole_ tapes used, but is there a 
> way I can "reclaim" the space it used on the first tape (which had other data 
> from a different job on it)?
>

No you can not do this. Purging is an entire volume or nothing.

John

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Concurrent Jobs from differents clients to the same tape

2011-05-29 Thread John Drescher
>> I am not using spoolfile because of lack of disk space, i will see
>> performance this night without this file, cross my fingers.
>>
>
> When you use a backup to tape it is _always_ recommended to use a data
> spooling unless your local disks are slower then backup network and remote
> clients.
>
I agree. Even a 1 or 2 GB spool file would work.

John

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Compatibility with HP Dat

2011-05-28 Thread John Drescher
>   I'd like to know whether anybody has had any Bacula experience with this 
> media:
>  HP StorageWorks DAT 320 USB Internal Tape Drive AJ825A
>   We are planning to buy one and would like to be sure it will work with 
> Bacula (On a Linux or a BSD).
>   The Bacula Wiki mentions one, but it is a previous model (DAT 160).
>

Compatibility in bacula is about os support. If the mt driver works
reliably for your tape drive then bacula can use it.

John

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula using tape from the wrong pool

2011-05-27 Thread John Drescher
On Fri, May 27, 2011 at 3:45 AM, maaarcooose
 wrote:
> Bit of a weird one here that I'm having trouble figuring out.
>
> I have 3 pools of tapes set in my backup setup.
>
> Backup1 is a full / differential week A Rotation. 1 Tape Mon-Thu, 2 for 
> weekend full
> Backup2 is a full / differential week B Rotation. 1 Tape Mon-Thu, 2 for 
> weekend full
>
> Backup3 set is a full backup of a different area done only on a Wed each week.
>
> So on a wednesday, I have a tape from Backup1 in slot 1 and a tape for 
> Backup3 in slot 2.
> My prejob does an update slots scan and then the backup kicks off. Backup1 
> first, then backup3 after.
>
> For some reason a tape from the Backup3 pool has been recycled and used in 
> the Backup1 pool and job.
>
> How is is possible for it to use a tape from the wrong pool and move it to 
> the Backup1 pool?
>

Are you using the Recycle pool or Scratch pool?

Can you post your bacula-dir.conf (you can zap out the passwords and
ip addresses if you want)?

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Archive function ?

2011-05-27 Thread John Drescher
2011/5/27 Robert Kromoser :
> Hi folks.
>
>
>
> Does exist any archive function in bacula.
>
> What do I mean?
>
>
>
> On a Backup the backed up data from a Fileset will stay on the filesystem
> after the backup.
>
> With an archive function the backed up data from the Fileset will be removed
> from the filesystem.
>
>
>
> Does exist any configuration option for that?
>
No.

John

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] remote Tape import

2011-05-27 Thread John Drescher
On Fri, May 27, 2011 at 9:27 AM, Tobias Dinse
 wrote:
> I want to Import an old tape to our new Backup Server.
>
> Now I executed the follow line on the old Server(target database is from the
> new server):
>
> bscan -n bacula -u bacula -P x -h 192.168.xxx.xxx -c bacula-sd.conf
> /dev/tape/by-path/pci-:08:08.0-scsi-0:0:1:0-nst-nst -V DIHP01
>
> bscan: butil.c:281 Using device:
> "/dev/tape/by-path/pci-:08:08.0-scsi-0:0:1:0-nst-nst" for reading.
> 27-May 15:19 bscan JobId 0: Invalid slot=0 defined in catalog for Volume
> "DIHP01" on "IBM-LTO2"
> (/dev/tape/by-path/pci-:08:08.0-scsi-0:0:1:0-nst-nst). Manual load may
> be required.
> 27-May 15:19 bscan JobId 0: 3301 Issuing autochanger "loaded? drive 0"
> command.
> 27-May 15:19 bscan JobId 0: 3302 Autochanger "loaded? drive 0", result is
> Slot 2.
> 27-May 15:19 bscan JobId 0: Ready to read from volume "DIHP01" on device
> "IBM-LTO2" (/dev/tape/by-path/pci-:08:08.0-scsi-0:0:1:0-nst-nst).
> bscan: bscan.c:482 VOL_LABEL: Media record not found for Volume: DIHP01
> bscan: bscan.c:502 VOL_LABEL: OK for Volume: DIHP01
> bscan: bscan.c:526 SOS_LABEL: Job record not found for JobId: 0
> bscan: bscan.c:1006 Could not get Client record. ERR=Client record not found
> in Catalog.
>

I have not seen that error when I have used bscan however it looks
like you need to add the old client to your bacula-dir.conf and reload
the bacula-dir configuration before the bscan.

john

John

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] update slots scan

2011-05-27 Thread John Drescher
On Fri, May 27, 2011 at 8:00 AM, Andre Lorenz  wrote:
>
> mtx -f /dev/sg5 unload 11 0
> Unloading drive 0 into Storage Element 11...mtx: Request Sense: Long
> Report=yes
> mtx: Request Sense: Valid Residual=no
> mtx: Request Sense: Error Code=70 (Current)
> mtx: Request Sense: Sense Key=Illegal Request
> mtx: Request Sense: FileMark=no
> mtx: Request Sense: EOM=no
> mtx: Request Sense: ILI=no
> mtx: Request Sense: Additional Sense Code = 3B
> mtx: Request Sense: Additional Sense Qualifier = 83
> mtx: Request Sense: Field in Error = 00
> mtx: Request Sense: BPV=no
> mtx: Request Sense: Error in CDB=yes
> mtx: Request Sense: SKSV=yes
> mtx: Request Sense: Field Pointer = 00 04
> MOVE MEDIUM from Element Address 257 to 11 Failed
>

Is bacula-sd running? If so stop it. If that does not work you may
need to reboot, power cycling the changer and stop bacula-sd.

John

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] LTO5 not filling

2011-05-27 Thread John Drescher
> I'm new to bacula and I'm using LTO 5 of 1,5 TB uncompressed to backup. The
> thing is that I only can get it to write 50GB and it sets to full.

check your dmesg for tape, scsi or other hardware errors.

Bacula assumes that a tape is full when it hits a write error.

John

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] update slots scan

2011-05-27 Thread John Drescher
On Fri, May 27, 2011 at 7:51 AM, Andre Lorenz  wrote:
>
> On 27.05.2011 09:41, Mauro Colorio wrote:
>> what's the result of tapeinfo -f /dev/sg6 ?
>>
>> ciao
>> Mauro
> i changed something ;-)
> reconfigured some stuff but noc change :-(
>
> lsscsi -g
> ...
> [1:0:0:0]    mediumx NEC      LL0101H-0A       0002  /dev/sch0  /dev/sg2
> [1:0:1:0]    tape    IBM      ULTRIUM-TD2      38D0  /dev/st0  /dev/sg3
> 
> [2:0:0:0]    tape    IBM      ULTRIUM-TD4      7A31  /dev/st1
> /dev/sg4      <- Drive 1
> [2:0:0:1]    mediumx NEC      T40A2            0005  /dev/sch1
> /dev/sg5     <-- Changer device
> [2:0:1:0]    tape    IBM      ULTRIUM-TD4      7A31  /dev/st2
> /dev/sg6        <-- Drive 2
>
>
> tapeinfo -f /dev/sg5
> Product Type: Medium Changer
> Vendor ID: 'NEC     '
> Product ID: 'T40A2           '
> Revision: '0005'
> Attached Changer API: No
> SerialNumber: '1Y09BB0033'
> SCSI ID: 0
> SCSI LUN: 1
> Ready: yes
>
>
>  tapeinfo -f /dev/sg4
> Product Type: Tape Drive
> Vendor ID: 'IBM     '
> Product ID: 'ULTRIUM-TD4     '
> Revision: '7A31'
> Attached Changer API: No
> SerialNumber: '1310065549'
> MinBlock: 1
> MaxBlock: 16777215
> SCSI ID: 0
> SCSI LUN: 0
> Ready: no
>
> tapeinfo -f /dev/sg6
> Product Type: Tape Drive
> Vendor ID: 'IBM     '
> Product ID: 'ULTRIUM-TD4     '
> Revision: '7A31'
> Attached Changer API: No
> SerialNumber: '1310043810'
> MinBlock: 1
> MaxBlock: 16777215
> SCSI ID: 1
> SCSI LUN: 0
> Ready: yes
> BufferedMode: yes
> Medium Type: 0x48
> Density Code: 0x46
> BlockSize: 0
> DataCompEnabled: yes
> DataCompCapable: yes
> DataDeCompEnabled: yes
> CompType: 0x1
> DeCompType: 0x1
> BOP: yes
> Block Position: 0
> Partition 0 Remaining Kbytes: -1
> Partition 0 Size in Kbytes: -1
> ActivePartition: 0
> EarlyWarningSize: 0
>
>
> mtx -f /dev/sg5 status
>
>  Storage Changer /dev/sg5:2 Drives, 40 Slots ( 0 Import/Export )
> Data Transfer Element 0:Full (Storage Element 11 Loaded)
> Data Transfer Element 1:Empty
>      Storage Element 1:Full
>      Storage Element 2:Full
>      Storage Element 3:Full
>      Storage Element 4:Full
>      Storage Element 5:Full
>      Storage Element 6:Full
>      Storage Element 7:Full
>      Storage Element 8:Full
>      Storage Element 9:Full
>      Storage Element 10:Full
>      Storage Element 11:Empty
>      Storage Element 12:Full
>      Storage Element 13:Full
>   (all 40 slots)
>

So was /dev/sg5 listed as your changer device in bacula-sd.conf. If
not did you fix that and restart bacula-sd.conf

John

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] remote Tape import

2011-05-27 Thread John Drescher
On Fri, May 27, 2011 at 6:08 AM, Tobias Dinse
 wrote:
> Hi,
>
> I want to import some Tapes from our old Autoloader (on a remote System)
> into our new Backup Server Database.
>
> The Database of the new Backup Server isnt empty. I have added the
> remote Autoloader to bacula-sd.conf and status storage works fine.
>
> How can I import the Tape Data? I took a look @bscan but i dont know how
> I can use it to import from a Remote Storage.
>
> Example:
>
> ./bscan -V TestVolume1 -v -s -m -c bacula-sd.conf /dev/nst0
>
>
> /dev/nst0 doesnt work because its a remote Storage.
>

If the tape exists on the remote device can't you add the remote
bacula-sd to the new director. Or am I missing something?

John

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Concurrent Jobs from differents clients to the same tape

2011-05-26 Thread John Drescher
> I am backing up 7 servers in daily basis, one of the servers take 5
> hours to backup (the other 6 take 2 hours), so i want to backup the
> large server at the same time i am backuping the others servers.
> I have one LTO4 drive, and the backups are running secuencially, one
> after another from differents servers to the same tape.
> I need to know:
>
> - ¿Is is possible to backup concurrently to the same tape?, i will be
> satisfied if two jobs are running at the same time.
>
Yes, I do that all the time. I believe I run 5 to 10 concurrent
clients to the same tape.

> I have set up this configuration but the jobs remains to run
> secuencially (server files):
>
> bacula-dir.conf:
>
> Director {
>  Name = acaiasnew.acasalud.com.ar-dir
>  DIRport = 9101
>  QueryFile = "/usr/local/bacula/etc/query.sql"
>  WorkingDirectory = "/usr/local/bacula/var/bacula/working"
>  PidDirectory = "/var/run"
>  Maximum Concurrent Jobs = 2
>  Password = x
>  Messages = Daemon
> }
>
> JobDefs {
>  Name = "JobTapeDiario"
>  Type = Backup
>  Level = Full
>  Storage = LIBRERIA
>  Messages = Standard
>  Pool = POOL_DIARIO
>  Schedule = "MadrugadaDiario"
>  Write Bootstrap = "/usr/local/bacula/var/bacula/working/%c_%n.bsr"
> }
>
> Job {
>  Name = "BackupAcamailDiario"
>  Client = acamail.acasalud.com.ar-fd
>  JobDefs = "JobTapeDiario"
>  FileSet = "Acamail Set"
>  Enabled = True
>  Priority = 1
>  #Spool Data = yes
> }
>
> Job {
>  Name = "BackupAcadbDiario"
>  Client = acadb.acasalud.com.ar-fd
>  JobDefs = "JobTapeDiario"
>  FileSet = "Acadb Set"
>  Enabled = True
>  Priority = 2
> }
>
> Job {
>  Name = "BackupAcaiasnewDiario"
>  Client = acaiasnew.acasalud.com.ar-fd
>  JobDefs = "JobTapeDiario"
>  FileSet = "Acaiasnew Set"
>  Enabled = True
>  Priority = 3
> }

What about your storage part of bacula-dir.conf. You need to set
"Maximum Concurrent Jobs" for the storage resource. Also I would
enable spooling with a 10GB or similar spool file.

> .
>
> bacula-sd.conf:
>
> Storage {                             # definition of myself
>  Name = acaiasnew.acasalud.com.ar-sd
>  SDPort = 9103                  # Director's port
>  WorkingDirectory = "/usr/local/bacula/var/bacula/working"
>  Pid Directory = "/var/run"
>  Maximum Concurrent Jobs = 2
> }
>
>
> bacula-fd.conf
>
> FileDaemon {                          # this is me
>  Name = acaiasnew.acasalud.com.ar-fd
>  FDport = 9102                  # where we listen for the director
>  WorkingDirectory = /usr/local/bacula/var/bacula/working
>  Pid Directory = /var/run
>  Maximum Concurrent Jobs = 2
>  Maximum Network Buffer Size = 65536
> }
>
> What else do i need if it possibly?
> Thanks a lot,
>
> --
>
> *Andrés Fernando Yacopino*
>
> --
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>



-- 
John M. Drescher

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] help = Problem with webacula - no grafical output

2011-05-25 Thread John Drescher
2011/5/25 Joris Heinrich :
> Hello list,
>
> im planing currently an backup strategy for our company, i have daily full
> backups from many sql machines. these backups should saved in different
> pools:
>
You should start a new thread. This has nothing at all to do with
"help = Problem with webacula - no grafical output"

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] update slots scan

2011-05-25 Thread John Drescher
On Wed, May 25, 2011 at 10:27 AM, Andre Lorenz  wrote:
> Hello together,
>
> i have a NEC-LTO4  (FC) 40 slots changer, and 8 slot LTO2 (8 Slots)
> changer (SCSI).
>
> this one was working perfectly.
>
> after physical move of the changers and servers i cant run anymore
> update slots scan on the LTO4 :-(
> on the old LTO2 i can run it without any problems.
>
> lsscsi will show both both devices.
> [1:0:0:0]    mediumx NEC      LL0101H-0A       0002  /dev/sch0
> [1:0:1:0]    tape    IBM      ULTRIUM-TD2      38D0  /dev/st0
> [2:0:0:0]    tape    IBM      ULTRIUM-TD4      7A31  /dev/st1
> [2:0:1:0]    tape    IBM      ULTRIUM-TD4      7A31  /dev/st2
> [2:0:1:1]    mediumx NEC      T40A2            0005  /dev/sch1
>
> i also checked config if device-name changed, 
>
> on the lto2 the command runs without any problems.
>
> on the LTO4 i am getting following msg:
>
> Connecting to Storage daemon NEC-LTO4 at frabackup01:9103 ...
> 3306 Issuing autochanger "slots" command.
> Device "ULTRIUM-TD4-1" has 0 slots.
> No slots in changer to scan.
>
> i also rebooted / restarted changer, server,services ...
>
> there is also no output inside logs.
>
> now is there somebody with an idea?
>

I believe it could be a permissions problem or you have the wrong
device for the autochanger in your config. I would execute the
mtx-changer script directly logged in as user bacula and examine the
output..

John

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to backups and restore works

2011-05-24 Thread John Drescher
2011/5/24 Eduardo Júnior :
> Hi all,
>
>
> When bacula is configured to backp a client
> according to a File Set and the below option is activated:
>
>            compression = GZIP
>
>
> How the backup is done?
>
> First the data is compressed and sent or is sent before
> and compressed in the storage (bacula-sd)?
>

The data is compressed on the client before it is sent.
>
> And in the restore process?
>

The data is decompressed on the client before it is written to disk,

> Any reference?
>
>
> Thanks in advance.
>
> --
> Eduardo Júnior
> GNU/Linux user #423272
>
> :wq
>
> --
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>



-- 
John M. Drescher

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] new hard drive mounted into ntfs filesystem of old hard drive

2011-05-23 Thread John Drescher
> I added a hard drive to a system due to the old one filling up. In addition
> to the drive getting a new drive letter (D:), I also mounted it into a
> directory of my old hard drive (C:\MyNewHardDrive) in order to keep getting
> the contents backed up since I have backups configured to only do drive C:.
>
>
>
> Last night the differential backups ran and from listing the files of that
> backup job it appears that bacula ignored C:\MyNewHardDrive. Is bacula
> “smart” enough to recognize that the directory is physically a separate
> drive and that’s why it was ignored? Is it possible to get bacula to back up
> this directory aside from adding drive D: to the list of drives to back up
> (which I prefer not to do)? Or is adding drive D: my only option?
>

This is the onefs=yes default option. However I would not change that
setting to onefs=no because it will cause problems with ntfs junction
points especially if you use Vista or above.

John

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Full weekly backup setup [SEC=UNCLASSIFIED]

2011-05-23 Thread John Drescher
> I guess I need to load 12 -16 tapes into my pool and set the retention
> period to a month?

Remember that the retention period is counted from the time the last
job was run on the volume after it was marked Used or Full so a month
may be too long.

> Once the full backup is completed each week take out
> the tapes that have been written to and allow Bacula to write to the
> next tape in the pool? I wouldn't want the last tape to be appendable,
> so would have to mark that tape as Full some how?
>
Specify Volume Use Duration and/or Maximum Volume Jobs

to have the tapes automatically marked used after your backup completes.

http://bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html#SECTION001815

>

I left out the other questions because I do not have time to address
those at the moment.

John

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problems

2011-05-23 Thread John Drescher
> I'm trying to restore a 3 month old backup, but the database says there
> are no files to restore.
>
> The strange thing is, I can _see_ the entries in the database for that
> date and the full backup 10 days before.
>
> Has anyone seen this kind of behaviour?
>

Do you have different file and job retentions?

John

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Questions about how bacula works

2011-05-21 Thread John Drescher
2011/5/21 Daniel O'Neal 
>
> Does bacula do “Open File Backups” similar to Windows VSS?  I know that on 
> Windows backup, it’ll do a shadow copy of open files.  What happens when you 
> are currently backing up a file that is already open?  Can someone describe 
> how this works so I can explain this better?
>

Yes bacula uses VSS on windows.

John

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Maximum Volume Bytes

2011-05-20 Thread John Drescher
> Am 20.05.2011 19:48, schrieb Mike Seda:
>> I'm currently setting up a disk-based storage pool in Bacula and am
>> wondering what I should set "Maximum Volume Bytes" to. I was thinking of
>> setting it to "100G", but am just wondering if this is sane.
>

I think 100G will be fine. The size depends on your situation. You
want to have more than a few volumes (for better recycling efficiency)
but less than a few thousand volumes.

>
> i think you should use the parameter "Volume Use Duration" or "Use
> Volume Once". The Parameter "Maximum Volume Bytes" make only sense if
> your are using a DVD as media.
>

I think that is just a different strategy, either will work. I use
"Maximum Volume Bytes" for disk volumes at home and at work. For me I
limit the size to 5GB and use the disk volumes with the bacula virtual
changer but I do not have many disk volumes. At work I use disk
volumes mainly for the catalogs and have the real 30+ TB backup to LTO
tape.

John

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fwd: Recycling volumes

2011-05-20 Thread John Drescher
-- Forwarded message --
From: Cleuson Alves 
Date: Fri, May 20, 2011 at 1:44 PM
Subject: Re: [Bacula-users] Recycling volumes
To: John Drescher 


Thanks
Is to change the date and time when the volume is recycled?



2011/5/20 John Drescher 
>
> > Good afternoon everyone, I'm new to this list, but I need help.
> > if I set a pool in this way the label format will keep the name and recycle
> > automatically changing only the date and year, and need not create it again?
> > The seventh volume in the incremental backup will be recycled as they are
> > only 6 days of retention?
> >
> > Below the pool:
> >
> > Pool {
> > Name = Incremental
> > Pool type = backup
> > Storage = HD
> > Recycle = yes
> > AutoPrune = yes
> > Volume Use Duration = 20 hours
> > Volume Retention = 6 days
> > Label Format = "Client - $ {Day: p/2/0/r} - $ {Month: p/2/0/r} - $ {Year}"
> > MaximumVolume = 900G
> > }
>
> I believe that bacula on the next week will reuse the volume from the
> previous week but leave the volume name to be whatever it was when it
> was first labeled.
>
> I may be wrong. I use mostly 100+ LTO tapes with and an autochanger.
> With this the lables are what is on the barcode for the lifetime of
> the tape.
>
> Also I believe "MaximumVolume" should be changed to "Maximum Volume Bytes"
>
> John



--
Cleuson de Oliveira Alves
Analista de Suporte
Rio de Janeiro - RJ




-- 
John M. Drescher

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Recycling volumes

2011-05-20 Thread John Drescher
> Good afternoon everyone, I'm new to this list, but I need help.
> if I set a pool in this way the label format will keep the name and recycle
> automatically changing only the date and year, and need not create it again?
> The seventh volume in the incremental backup will be recycled as they are
> only 6 days of retention?
>
> Below the pool:
>
> Pool {
> Name = Incremental
> Pool type = backup
> Storage = HD
> Recycle = yes
> AutoPrune = yes
> Volume Use Duration = 20 hours
> Volume Retention = 6 days
> Label Format = "Client - $ {Day: p/2/0/r} - $ {Month: p/2/0/r} - $ {Year}"
> MaximumVolume = 900G
> }

I believe that bacula on the next week will reuse the volume from the
previous week but leave the volume name to be whatever it was when it
was first labeled.

I may be wrong. I use mostly 100+ LTO tapes with and an autochanger.
With this the lables are what is on the barcode for the lifetime of
the tape.

Also I believe "MaximumVolume" should be changed to "Maximum Volume Bytes"

John

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Data Spooling and Drive HW Compression

2011-05-19 Thread John Drescher
> I'm a long time bacula adherent, and for the first time find myself stumped
> with a data storage problem, I hope someone on the list can help.
> I'm running a fairly small site, HP 8x1 LTO3 supporting 12 clients for full
> disaster recovery.
> One of my heaviest use clients  just moved to a new network segment, and was
> causing huge delays and poor tape performance due to a bad network bottle
> neck.
> I re-enabled Data and Attribute spooling for all my clients, and the drive
> now happily writes out its large chunks and is no longer trying to chew up
> tapes.
> But the catch, my average volume capacity has gone from ~760G to ~580G 
> Where is the other 25% of my volume ?
> I'm recording the same data, on the same tapes, but getting less
> compression.

Are you sure there is not a higher percentage of already compressed
files in the fileset now than before? Remember that already compressed
files do not compress a second time so these will basically be stored
1:1 on your tape drive.


John

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] 5.0.3 Win 32 - Bacula/bacula-fd.conf

2011-05-19 Thread John Drescher
On Thu, May 19, 2011 at 12:25 PM,   wrote:
> In trying to get Windows XP 32 bit running with the 5.0.3 client at the
> command line it reported:
>
> 19-May 01:14 bacula-fd: ERROR TERMINATION at 
> /home/kern/bacula/k/bacula/src/lib/
> parse_conf.c:898
> Config error: Cannot open config file "C:\Documents and Settings\All 
> Users\Appli
> cation Data\Bacula/bacula-fd.conf": no such file or directory
>
> Running bacula / shows options - none for declaring a location for the
> configuration file.   Older versions used -c and that did not work.
>
> Anyone have ideas how to address this matter?
>

Put the configuraton file in the location it wants..

John

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backup NAS Storage

2011-05-19 Thread John Drescher
>
> We have Terra NAS Storage boxes using the Windows Configuration on the NAS.
>

Can't you install a bacula-fd on the NAS or at least use a linux box
to connect to the NAS via nfs and backup that?

> The NAS shared folders are connected to a Windows Server 2003 server.
>
>
>
> I created a fileset for Windows with the associate drive letters but the
> backup don’t
>
> begins  run. No files will be backed up.
>
> I know that under windows I have to activate the VSS but I cannot do that
> for a
>
> Windows share and so I cannot enable VSS on this NAS shared folders.
>
>
>
> Does anyone has an idea why this don’t work?
>
>

Does the local SYSTEM user have the drives mounted? Remember that the
SYSTEM user will not get the network drives that the logged in user
has.

John

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fwd: Full backup will not be idendtified

2011-05-17 Thread John Drescher
-- Forwarded message --
From: Robert Kromoser 
Date: Tue, May 17, 2011 at 2:17 AM
Subject: RE: [Bacula-users] Full backup will not be idendtified
To: John Drescher 


Hi John.

The Bacula documentation says the following:

Incremental A backup that includes all files changed since the last
Full,
Differential, or Incremental backup started. It is normally specified on
the Level directive within the Job resource definition, or in a Schedule
resource.

So it must be possible to define an own job with Level = Incremental and
it
has to run as Incremental if an Full or Differential already exists.

Do you think that is wrong?

br Robert



-Original Message-
From: John Drescher [mailto:dresche...@gmail.com]
Sent: Montag, 16. Mai 2011 17:48
To: Robert Kromoser
Subject: Re: [Bacula-users] Full backup will not be idendtified

> Hi John, hi Wouter.
>
> As you can see in the mail from Graham,
> the problem is solved, because when I wait for some minutes the 3 jobs
> works fine and the works as Full, Diff and Incr.
> But I you say that this can not be work then I am a little confused.
> What do you mean by having only one job and just let the level decide
> into the schedule then I don't know how to
> define this.
> Can you give me a short example?
>

It's not supposed to work this way (unless something changed in bacula
that I am not aware of).

What I believe made this work for you was the last differential was
upgraded to full so for the SugarCRM_xxx_Diff had a previous Full in
the last SugarCRM_xxx_Diff job that ran. If you delete the
SugarCRM_xxx_Full the SugarCRM_xxx_Diff should still run as a
differential. At least that is what I expect to happen.



John



-- 
John M. Drescher

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Full backup will not be idendtified

2011-05-16 Thread John Drescher
On Mon, May 16, 2011 at 11:12 AM, Wouter Verhelst  wrote:
> On Mon, May 16, 2011 at 08:43:51AM +0200, Robert Kromoser wrote:
>> Hi folks.
>>
>> In my configuration I have 2 files per client.
>> One file contains the storage definition (Archive Device)
>> and one file contains the directory directives.
>> I use one fileset definition named "SugarCRM__Fileset" for
>> my three backup jobs SugarCRM_xxx_Full, SugarCRM_xxx_Diff
>> and SugarCRM_xxx_Incr where xxx is the name of the client.
>
> You should have one backup job, where you vary the level in the
> Schedule, not have three backup jobs with different levels. When bacula
> wants to do an incremental or differential backup job based on a full
> one which you did earlier, it will look for a job with the same name on
> which to base the backup; since you have different jobs, that doesn't
> work.

Yes. Agreed. It will not work  with 3 different Jobs.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] SHA1 digest warning on Copy Jobs

2011-05-16 Thread John Drescher
> Any thoughts on this? It is still happening and I have no idea why...
>

Do a test restore if possible from the original source and see if it
complains about SHA1 mismatches.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-sd dmesg output

2011-05-16 Thread John Drescher
On Mon, May 16, 2011 at 8:45 AM, Uwe Schuerkamp
 wrote:
> On Mon, May 16, 2011 at 08:39:38AM -0400, John Drescher wrote:
>>
>> Maybe do what it says.
>>
>> echo 0 > /proc/sys/kernel/hung_task_timeout_secs
>>
>> John
>
> Hi John,
>
> thanks for your reply, I was wondering if it's an error that I need to
> look info or bacula's "expected behaviour" in those circumstances.
>

Do you have a tape drive that sometimes takes more than 2 minutes to rewind?

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-sd dmesg output

2011-05-16 Thread John Drescher
On Mon, May 16, 2011 at 2:14 AM, Uwe Schuerkamp
 wrote:
> Hi folks,
>
> for a couple of weeks now I occasionally see messages like these in
> the kernel log or our bacula server (bacula 5.0.3 compiled from source
> on centos 5.6 64bit):
>
> ##
> INFO: task bacula-sd:12467 blocked for more than 120 seconds.
> "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
> message.
> bacula-sd     D 81000102e4a0     0 12467      1
> 27666 (NOTLB)
>  810248521cd8 0086 81042e88 810248521db8
>  0001 000a 810428a1e7e0 81042fea0100
>  0001ce40568d4933 000224fb 810428a1e9c8 00058002e2e3
> Call Trace:
>  [] wait_for_completion+0x79/0xa2
>  [] default_wake_function+0x0/0xe
>  [] :st:st_do_scsi+0x1f4/0x221
>  [] :st:st_int_ioctl+0x5ea/0x923
>  [] :st:st_ioctl+0xaa5/0xe1f
>  [] autoremove_wake_function+0x0/0x2e
>  [] do_ioctl+0x55/0x6b
>  [] vfs_ioctl+0x457/0x4b9
>  [] audit_syscall_entry+0x1a4/0x1cf
>  [] sys_ioctl+0x59/0x78
>  [] tracesys+0xd5/0xe0
> ##
>
> Should I worry about these, and if so, what can be done to fix this
> issue?
>

Maybe do what it says.

echo 0 > /proc/sys/kernel/hung_task_timeout_secs

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Client machine browsing only it's backups

2011-05-13 Thread John Drescher
> There is ACL support in the client. However I am not too familiar with
> that (and what it prevents access to) since I do not use it on my
> network. You may want to use a separate database per client. That way
> the client will only see their stuff. This however will make it harder
> to manage your bacula volumes since I do not believe you can safely
> use the same bacula database in more than one catalog.
>

One correction. I messed up the last sentence... Replace database with
volume and it makes sense..

It should read "This however will make it harder to manage your bacula
volumes since I do not believe you can safely use the same bacula
volume in more than one catalog."

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] backup to dvd not working

2011-05-13 Thread John Drescher
> I was trying to set up bacula on my parents' laptop the other day so
> that they could do proper backups to DVD+RW disks. Only it isn't
> working.
>
All I can say is the dvd writing code is alpha quality or even worse
since the developer working on that quit the project many years ago.
On top of that the developers (including Kern) also have discussed
removing that feature entirely. I would suggest that you just make 4GB
disk volumes and externally burn these to dvd media then delete the
4GB disk volumes from your server.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fwd: Archive Devices not created

2011-05-13 Thread John Drescher
-- Forwarded message --
From: Robert Kromoser 
Date: Fri, May 13, 2011 at 12:10 PM
Subject: RE: [Bacula-users] Archive Devices not created
To: John Drescher 


Hi John.

I don't know what you mean?
What's wrong about the bacula-sd.conf?
The bacula-dir and the bacula-sd are running on the same host and so
they are using the same /etc/hosts file.
As you can see use I the hostname CBCK0001 in bacula-sd.conf.
I think that might be OK.

#
# Default Bacula Storage Daemon Configuration file
#
#  For Bacula release 5.0.3 (04 August 2010) -- redhat
#
# You may need to change the name of your tape drive
#   on the "Archive Device" directive in the Device
#   resource.  If you change the Name and/or the
#   "Media Type" in the Device resource, please ensure
#   that dird.conf has corresponding changes.
#

Storage {                             # definition of myself
 Name = CBCK0001-sd
 # Name = 192.168.100.93
 SDPort = 9103                  # Director's port
 WorkingDirectory = "/usr/local/bacula"
 Pid Directory = "/usr/local/bacula/bin/working"
 Maximum Concurrent Jobs = 20
}

#
# List Directors who are permitted to contact Storage daemon
#
Director {
 Name = CBCK0001-dir
 # Name = 192.168.100.93
 Password = "geheim"
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the storage daemon
#
Director {
 Name = CBCK0001-mon
 Password = "oTYjmRTxaFv4yI99RAtNI9NNNKC3sqRgGR3jpZptIK5T"
 Monitor = yes
}

#
# Note, for a list of additional Device templates please
#  see the directory /examples/devices
# Or follow the following link:
#
http://bacula.svn.sourceforge.net/viewvc/bacula/trunk/bacula/examples/de
vices/
#

#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
#  same Name and MediaType.
#

Device {
 Name = FileStorage
 Media Type = File
 Archive Device = /tmp
 LabelMedia = yes;                   # lets Bacula label unlabeled
media
 Random Access = Yes;
 AutomaticMount = yes;               # when device opened, read it
 RemovableMedia = no;
 AlwaysOpen = no;
}

# #
# # Kinamu Device fuer Catalog Backup
# #

Device {
 Name = CBCK0001_Backup_Catalog
 Media Type = File
 Archive Device = /tmp/backup/itself/cbck0001
 LabelMedia = yes;                   # lets Bacula label unlabeled
media
 Random Access = Yes;
 AutomaticMount = yes;               # when device opened, read it
 RemovableMedia = no;
 AlwaysOpen = no;
}


#
# An autochanger device with two drives
#
#Autochanger {
#  Name = Autochanger
#  Device = Drive-1
#  Device = Drive-2
#  Changer Command = "/usr/local/bacula/bin/mtx-changer %c %o %S %a %d"
#  Changer Device = /dev/sg0
#}

#Device {
#  Name = Drive-1                      #
#  Drive Index = 0
#  Media Type = DLT-8000
#  Archive Device = /dev/nst0
#  AutomaticMount = yes;               # when device opened, read it
#  AlwaysOpen = yes;
#  RemovableMedia = yes;
#  RandomAccess = no;
#  AutoChanger = yes
#  #
#  # Enable the Alert command only if you have the mtx package loaded
#  # Note, apparently on some systems, tapeinfo resets the SCSI
controller
#  #  thus if you turn this on, make sure it does not reset your SCSI
#  #  controller.  I have never had any problems, and smartctl does
#  #  not seem to cause such problems.
#  #
#  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
#  If you have smartctl, enable this, it has more info than tapeinfo
#  Alert Command = "sh -c 'smartctl -H -l error %c'"
#}

#Device {
#  Name = Drive-2                      #
#  Drive Index = 1
#  Media Type = DLT-8000
#  Archive Device = /dev/nst1
#  AutomaticMount = yes;               # when device opened, read it
#  AlwaysOpen = yes;
#  RemovableMedia = yes;
#  RandomAccess = no;
#  AutoChanger = yes
#  # Enable the Alert command only if you have the mtx package loaded
#  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
#  If you have smartctl, enable this, it has more info than tapeinfo
#  Alert Command = "sh -c 'smartctl -H -l error %c'"
#}

#
# A Linux or Solaris LTO-2 tape drive
#
#Device {
#  Name = LTO-2
#  Media Type = LTO-2
#  Archive Device = /dev/nst0
#  AutomaticMount = yes;               # when device opened, read it
#  AlwaysOpen = yes;
#  RemovableMedia = yes;
#  RandomAccess = no;
#  Maximum File Size = 3GB
## Changer Command = "/usr/local/bacula/bin/mtx-changer %c %o %S %a %d"
## Changer Device = /dev/sg0
## AutoChanger = yes
#  # Enable the Alert command only if you have the mtx package loaded
## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
## If you have smartctl, enable this, it has more info than tapeinfo
## Alert Command = "sh -c 'smartctl -H -l error %c'"
#}

#
# A Linux o

Re: [Bacula-users] Client machine browsing only it's backups

2011-05-13 Thread John Drescher
2011/5/13 Paul Pathiakis :
> Hi,
> I'm new on the list and I don't know if this question has been addressed.
> I'm looking to provide an offsite backup service to my clients and I'd like
> to use Bacula as the product. (I love it for enterprise backups.)
> I have clients that would like, as part of their EDR, to send backups
> offsite to my company.  This is easily done by installing a bacula-fd
> client.
> However, I don't want to incur the overhead of a backup
> operator/administrator to service these requests.  I'd like the
> customer/client to be able to do this.  My question is whether I can
> configure bacula BAT or the Web interface to allow the client to only see
> his site's backups?  I don't want all customers to see all other customers'
> backups.
> Is there a way to do this?

There is ACL support in the client. However I am not too familiar with
that (and what it prevents access to) since I do not use it on my
network. You may want to use a separate database per client. That way
the client will only see their stuff. This however will make it harder
to manage your bacula volumes since I do not believe you can safely
use the same bacula database in more than one catalog.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fwd: Archive Devices not created

2011-05-13 Thread John Drescher
-- Forwarded message --
From: John Drescher 
Date: Fri, May 13, 2011 at 12:04 PM
Subject: Re: [Bacula-users] Archive Devices not created
To: Robert Kromoser 


On Fri, May 13, 2011 at 11:54 AM, Robert Kromoser
 wrote:
> Hi John.
>
> Yes it was configured using 127.0.0.1 on CBCK0001 see the hosts file:
>

What about the bacula-sd.conf?

John



-- 
John M. Drescher

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Archive Devices not created

2011-05-13 Thread John Drescher
> 13-May 15:37 CBCK0001-dir JobId 4: Start Backup JobId 4,
> Job=CCRM0004_01_Backup_Full.2011-05-13_15.37.39_03
> 13-May 15:37 CBCK0001-dir JobId 4: Using Device "SugarCRM_CCRM0004_Full"
> 13-May 14:31 CCRM0004-fd JobId 4: Warning: bsock.c:128 Could not connect
> to Storage daemon on CBCK0001:9103. ERR=No route to host
> Retrying ...
> 13-May 14:37 CCRM0004-fd JobId 4: Warning: bsock.c:128 Could not connect
> to Storage daemon on CBCK0001:9103. ERR=No route to host
> Retrying ...

This is the problem. The client can not connect to the server. Do you
have a firewall or do you have 127.0.0.1 or localhost configured in
your bacula configs. Remember that using 127.0.0.1 or localhost
prevents bacula from working as a network backup program.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Archive Devices not created

2011-05-13 Thread John Drescher
2011/5/13 Robert Kromoser :
> Hi Everybody.
>
>
>
> I installed a new bacula 5.0.3 server on CentOS 5.5.
>
> In my configuration I use only disk backups.
>
> When I start a backup with bconsole run command, the volumes will be created
> in the catalog
>
> but won’t be created on the filesystem and the jobs are remaining with
> status R.
>

Does the bacula user have write access to your storage location on
your filesystem? That is assuming bacula-sd is running as user bacula
like it does on many linux operating systems.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Archive Devices not created

2011-05-13 Thread John Drescher
> Does the bacula user have write access to your storage location on
> your filesystem? That is assuming bacula-sd is running as user bacula
> like it does on many linux operating systems.
>

Also what do the messages say in the bacula console?

The output of

status dir

status st

and status client


would be helpful

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] MaximumVolJobs not working!!!

2011-05-13 Thread John Drescher
On Fri, May 13, 2011 at 4:54 AM, Bacula  wrote:
> Hi Pedro,
>
>>   dolume Retention = 180 days
> This is should read "Volume Retention = 180 days"
>

If that is what is in the file. Use the bconsole commands

update "pool from resource"

then

update "all volumes in pool"

Again I am going from memory so the commands may be not exactly what I posted..

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backup Progress

2011-05-12 Thread John Drescher
> Ok, but, I would like to see a estimated time for the end of the backup or
> even the transfer rate, but, if there's no way, ok.
>

There is no way inside bacula.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backup Progress

2011-05-12 Thread John Drescher
2011/5/12 Rickifer Barros :
> Hello Bacula Users,
>
> There's some way to see the progress of a Backup or Restore during your
> execution? Because with the "status dir" command, I can just see the "backup
> is running" and nothing more. I didn't found nothing in the Manual about
> that too.
>

There is no progress. The reason is to determine the progress would
add a large amount of time to the every backup. Basically the estimate
command would have to be run before the job and then compare the total
to the current.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] MaximumVolJobs not working!!!

2011-05-12 Thread John Drescher
On Thu, May 12, 2011 at 1:14 PM, pedro moreno  wrote:
> On Wed, May 11, 2011 at 6:08 PM, John Drescher  wrote:
>>> That restart doesn't work.
>>
>> Then we will need some more information. I need the output of
>>
>> list media pool=YourPoolName
>>
>> Also the bacula messages that are displayed when you run your job.
>>
>> John
>>
>
> *list media pool=MyDiffTape
> +-+--+---+-++--+--+-+--+---+---+-+
> | MediaId | VolumeName   | VolStatus | Enabled | VolBytes       |
> VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType |
> LastWritten         |
> +-+--+---+-++--+--+-+--+---+---+-+
> |     384 | TapeDiff-001 | Error     |       1 | 77,209,380,864 |
>  86 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> 2011-04-28 22:35:43 |
> |     385 | TapeDiff-002 | Error     |       1 | 79,410,981,888 |
>  88 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> 2011-05-05 22:37:11 |
> |     386 | TapeDiff-003 | Append    |       1 | 27,190,130,688 |
>  31 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> 2011-05-11 22:36:01 |
> |     387 | TapeDiff-004 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> -00-00 00:00:00 |
> |     388 | TapeDiff-005 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> -00-00 00:00:00 |
> |     389 | TapeDiff-006 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> -00-00 00:00:00 |
> |     390 | TapeDiff-007 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> -00-00 00:00:00 |
> |     391 | TapeDiff-008 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> -00-00 00:00:00 |
> |     392 | TapeDiff-009 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> -00-00 00:00:00 |
> |     393 | TapeDiff-010 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> -00-00 00:00:00 |
> |     394 | TapeDiff-011 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> -00-00 00:00:00 |
> |     395 | TapeDiff-012 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> -00-00 00:00:00 |
> |     396 | TapeDiff-013 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> -00-00 00:00:00 |
> |     397 | TapeDiff-014 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> -00-00 00:00:00 |
> |     398 | TapeDiff-015 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> -00-00 00:00:00 |
> |     399 | TapeDiff-016 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> -00-00 00:00:00 |
> |     400 | TapeDiff-017 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> -00-00 00:00:00 |
> |     401 | TapeDiff-018 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> -00-00 00:00:00 |
> |     402 | TapeDiff-019 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> -00-00 00:00:00 |
> |     403 | TapeDiff-020 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> -00-00 00:00:00 |
> |     404 | TapeDiff-021 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> -00-00 00:00:00 |
> |     405 | TapeDiff-022 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> -00-00 00:00:00 |
> |     406 | TapeDiff-023 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> -00-00 00:00:00 |
> |     407 | TapeDiff-024 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | LTO-2     |
> -00-00 00:00:00 |
> |     408 | TapeDiff-025 | Append    |       1 |         64,512 |
>  0 |   15,552,000 |       1 |    0 |         0 | L

Re: [Bacula-users] Jobs won't start

2011-05-12 Thread John Drescher
On Thu, May 12, 2011 at 11:35 AM, Jake Debord  wrote:
> Sure, here you go:
>
> #
> # Default Bacula Director Configuration file
> #
> #  The only thing that MUST be changed is to add one or more
> #   file or directory names in the Include directive of the
> #   FileSet resource.
> #
> #  For Bacula release 5.0.2 (28 April 2010) -- ubuntu 10.10
> #
> #  You might also want to change the default email address
> #   from root to your address.  See the "mail" and "operator"
> #   directives in the Messages resource.
> #
>
> Director {                            # define myself
>  Name = DoraleeII-dir
>  DIRport = 9101                # where we listen for UA connections
>  QueryFile = "/etc/bacula/scripts/query.sql"
>  WorkingDirectory = "/var/lib/bacula"
>  PidDirectory = "/var/run/bacula"
>  Maximum Concurrent Jobs = 1
>  Password = "*"         # Console password
>  Messages = Daemon
>  #DirAddress = 127.0.0.1
> }
>
> JobDefs {
>  Name = "DefaultJob"
>  Type = Backup
>  Level = Incremental
>  Client = DoraleeII-fd
>  FileSet = "Full Set"
>  Schedule = "WeeklyCycle"
>  Storage = File
>  Messages = Standard
>  Pool = File
>  Priority = 10
>  Write Bootstrap = "/var/lib/bacula/%c.bsr"
> }
>
>
> #
> # Define the main nightly save backup job
> #   By default, this job will back up to disk in
> /nonexistant/path/to/file/archive/dir
> Job {
>  Name = "BackupClient1"
>  JobDefs = "DefaultJob"
> }
>
> #Job {
> #  Name = "BackupClient2"
> #  Client = DoraleeII2-fd
> #  JobDefs = "DefaultJob"
> #}
>
> # Backup the catalog database (after the nightly save)
> Job {
>  Name = "BackupCatalog"
>  JobDefs = "DefaultJob"
>  Level = Full
>  FileSet="Catalog"
>  Schedule = "WeeklyCycleAfterBackup"
>  # This creates an ASCII copy of the catalog
>  # Arguments to make_catalog_backup.pl are:
>  #  make_catalog_backup.pl 
>  RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog"
>  # This deletes the copy of the catalog
>  RunAfterJob  = "/etc/bacula/scripts/delete_catalog_backup"
>  Write Bootstrap = "/var/lib/bacula/%n.bsr"
>  Priority = 11                   # run after main backup
> }
>
> #
> # Standard Restore template, to be changed by Console program
> #  Only one such job is needed for all Jobs/Clients/Storage ...
> #
> Job {
>  Name = "RestoreFiles"
>  Type = Restore
>  Client=DoraleeII-fd
>  FileSet="Full Set"
>  Storage = File
>  Pool = Default
>  Messages = Standard
>  Where = /nonexistant/path/to/file/archive/dir/bacula-restores
> }
>
>
> # List of files to be backed up
> FileSet {
>  Name = "Full Set"
>  Include {
>    Options {
>      signature = MD5
>    }
> #
> #  Put your list of files here, preceded by 'File =', one per line
> #    or include an external list with:
> #
> #    File =  #
> #  Note: / backs up everything on the root partition.
> #    if you have other partitions such as /usr or /home
> #    you will probably want to add them too.
> #
> #  By default this is defined to point to the Bacula binary
> #    directory to give a reasonable FileSet to backup to
> #    disk storage during initial testing.
> #
> #    File = /usr/sbin
>  }
>
> #
> # If you backup the root directory, the following two excluded
> #   files can be useful
> #
>  Exclude {
>    File = /var/lib/bacula
>    File = /nonexistant/path/to/file/archive/dir
>    File = /proc
>    File = /tmp
>    File = /.journal
>    File = /.fsck
>  }
> }
>

There is nothing in the "Full Set"

> #
> # When to do the backups, full backup on first sunday of the month,
> #  differential (i.e. incremental since full) every other sunday,
> #  and incremental backups other days
> Schedule {
>  Name = "WeeklyCycle"
>  Run = Full 1st sun at 23:05
>  Run = Differential 2nd-5th sun at 23:05
>  Run = Incremental mon-sat at 23:05
> }
>
> # This schedule does the catalog. It starts after the WeeklyCycle
> Schedule {
>  Name = "WeeklyCycleAfterBackup"
>  Run = Full sun-sat at 23:10
> }
>
> # This is the backup of the catalog
> FileSet {
>  Name = "Catalog"
>  Include {
>    Options {
>      signature = MD5
>    }
>    File = "/var/lib/bacula/bacula.sql"
>  }
> }
>
> # Client (File Services) to backup
> Client {
>  Name = DoraleeII-fd
>  Address = localhost
>  FDPort = 9102
>  Catalog = MyCatalog
>  Password = "**"          # password for FileDaemon
>  File Retention = 30 days            # 30 days
>  Job Retention = 6 months            # six months
>  AutoPrune = yes                     # Prune expired Jobs/Files
> }
>
> #
> # Second Client (File Services) to backup
> #  You should change Name, Address, and Password before using
> #
> #Client {
> #  Name = DoraleeII2-fd
> #  Address = localhost2
> #  FDPort = 9102
> #  Catalog = MyCatalog
> #  Password = "uDZsFQvCq2wvRs986stkk77AEKvrEoWL-2"         # password
> for FileDaemon 2
> #  File Retention = 30 days            # 30 days
> #  Job Retention = 6 months            # six months
> #  AutoPrune = yes                     # Prune expired Jobs/Files
> #}
>
>
> # Definition of file storage dev

Re: [Bacula-users] Jobs won't start

2011-05-12 Thread John Drescher
On Thu, May 12, 2011 at 11:28 AM, Jake Debord  wrote:
> Ok edited the conf directly and reloaded through bconsole.
> Any other Ideas?
> Same error:
>

Can you post your bacula-dir.conf?

You can zap the passwords if you want.


John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Jobs won't start

2011-05-12 Thread John Drescher
> I am using webmin to edit Bacula. I went to file sets, and changed the
> files and directories to backup
>
> Everytime I change it to c:/jaketestfolder  when I save it, it reverts
> it back to c:\jaketestfolder
>
> That normal?

No. But by your second question you are not editing the configuration
file directly but using some program.

>Should I just change it in the conf?
>

Yes. I always edit the conf files directly. Remember to issue the
reload command in bconsole after changing the configuration.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Jobs won't start

2011-05-12 Thread John Drescher
> The file I have setup to backup is: C:\jaketestfolder   It isn't a
> network share or anything, just a folder I created with a couple .mpeg
> in there so give it something to backup.
>

Okay. I searched the archives for "No drive letters found for
generating VSS snapshots." but did not find any solutions. I will try
to look at this later if no one else has ideas.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Jobs won't start

2011-05-12 Thread John Drescher
> I am setting up Bacula for the first time. I am attempting to test it
> by backing up a test folder on an XP machine.
> Here are the messages I get when I try to run my job:
>
> 12-May 08:45 DoraleeII-dir JobId 26: No prior Full backup Job record found.
> 12-May 08:45 DoraleeII-dir JobId 26: No prior or suitable Full backup
> found in catalog. Doing FULL backup.
> 12-May 08:45 DoraleeII-dir JobId 26: Start Backup JobId 26,
> Job=XPtest.2011-05-12_08.45.37_04
> 12-May 08:45 DoraleeII-dir JobId 26: Using Device "FileStorage"
> 12-May 08:45 DoraleeII-sd JobId 26: Volume "Volume1" previously
> written, moving to end of data.
> 12-May 08:45 DoraleeII-sd JobId 26: Ready to append to end of Volume
> "Volume1" size=2137
> 12-May 08:45 jake-laptop-fd JobId 26: No drive letters found for
> generating VSS snapshots.


Are you backing up network shares or some drive that can not be
accessed by the SYSTEM user? Remember the SYSTEM user will not have
the network drives that the logged in user has. Each user will have
its own profile.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] MaximumVolJobs not working!!!

2011-05-11 Thread John Drescher
> That restart doesn't work.

Then we will need some more information. I need the output of

list media pool=YourPoolName

Also the bacula messages that are displayed when you run your job.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] MaximumVolJobs not working!!!

2011-05-11 Thread John Drescher
On Wed, May 11, 2011 at 2:06 PM, pedro moreno  wrote:
> On Wed, May 11, 2011 at 10:23 AM, John Drescher  wrote:
>> On Wed, May 11, 2011 at 1:10 PM, pedro moreno  wrote:
>>>  Hi.
>>>
>>>  Want to understand why bacula 5.0.2 don't want to use my tape until
>>> it reach the MaximumVolJobs.
>>>
>>> I have 2 pools:
>>>
>>> Full-Backups
>>> Diff-Backups
>>>
>>> I will focus on Diff tapes.
>>>
>>> Storage: Tape.
>>>
>>> Pool Diff:
>>>
>>> Pool {
>>>  Name = CompanyDiffTape
>>>  Pool Type = Backup
>>>  Use Volume Once = no
>>>  Maximum Volume Jobs = 72
>>>  Maximum Volume Files = 0
>>>  Maximum Volume Bytes = 0
>>>  Volume Use Duration = 0
>>>  Catalog Files = yes
>>>  Recycle = yes
>>>  AutoPrune = yes
>>>  dolume Retention = 180 days
>>>  Label Format = TapeDiff-
>>> }
>>>
>>> U can see that I want to have 72 jobs on each tape and save the tape
>>> for 180 days. The problem is that bacula is using the tape just 1
>>> week, next week he wants a new volume, in one week I can 36 jobs, with
>>> 72 I can save 2 weeks.
>>>
>>> Reading the db, I see that tape-a have just 36 jobs for 72 maximum,
>>> them why on earth he want a new volume and not finish this one.
>>>
>>> This happen every week.
>>>
>>> Some could point me if I had issues with my settings?
>>>
>>
>> If you changed the settings after volumes were created the changes are
>> not applied to existing volumes.
>>
>> Use bconsole
>>
>> update "pool from resource"
>>
>> then
>>
>> update "all volumes in pool"
>>
>> commands. I believe those are the commands or the wording is similar.
>>
>> John
>>
>
> I had done that, my volume have the info from the pool.
> Even if I change my volume status from error to append,
>
> VolJobs=36
> MaxVolJob=72
>
> run a job manually, he wants a new volumen, he doesn't want the current 
> volumen.
> I want to understand this behavior of bacula.

Restart bacula-dir after making this change from Error to append.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] MaximumVolJobs not working!!!

2011-05-11 Thread John Drescher
On Wed, May 11, 2011 at 1:10 PM, pedro moreno  wrote:
>  Hi.
>
>  Want to understand why bacula 5.0.2 don't want to use my tape until
> it reach the MaximumVolJobs.
>
> I have 2 pools:
>
> Full-Backups
> Diff-Backups
>
> I will focus on Diff tapes.
>
> Storage: Tape.
>
> Pool Diff:
>
> Pool {
>  Name = CompanyDiffTape
>  Pool Type = Backup
>  Use Volume Once = no
>  Maximum Volume Jobs = 72
>  Maximum Volume Files = 0
>  Maximum Volume Bytes = 0
>  Volume Use Duration = 0
>  Catalog Files = yes
>  Recycle = yes
>  AutoPrune = yes
>  dolume Retention = 180 days
>  Label Format = TapeDiff-
> }
>
> U can see that I want to have 72 jobs on each tape and save the tape
> for 180 days. The problem is that bacula is using the tape just 1
> week, next week he wants a new volume, in one week I can 36 jobs, with
> 72 I can save 2 weeks.
>
> Reading the db, I see that tape-a have just 36 jobs for 72 maximum,
> them why on earth he want a new volume and not finish this one.
>
> This happen every week.
>
> Some could point me if I had issues with my settings?
>

If you changed the settings after volumes were created the changes are
not applied to existing volumes.

Use bconsole

update "pool from resource"

then

update "all volumes in pool"

commands. I believe those are the commands or the wording is similar.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Run out of disk space

2011-05-11 Thread John Drescher
> I set my retention periods too long and now have run out of disk space.  If
> I want to start over (after I have edited the conf files for a good
> retention period) and blow away the old volumes, what do I need to do?  Just
> delete the files or do I need to do something in the database?
>

You would need to delete each volume in the database. I would just
change the retention period on the pool and then use bconsole to apply
that to the existing volumes.

I think the commands are

update "Pool from resource"

then

update " all volumes in pool"

or similar.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula sabe se atingiu a capacidade máxima de uma fita?

2011-05-11 Thread John Drescher
> And if the tapel fill 2.4TB?
>

That is totally fine. Remember compression is variable.On a text only
data set you can get greater than  5 to 1 compression. On a dataset
with already compressed data you will likely get no compression at all
so the tape will be full at ~400 GB. The 800 number quoted by the
maufacturer is only the manufacturer expected value. Its not any kind
of limit. Also in most real world data sets you will not actually
achieve that.

-- 
John M. Drescher

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula sabe se atingiu a capacidade máxima de uma fita?

2011-05-11 Thread John Drescher
> Thanks for the replies. Most of the recorded data are text files. Then it
> can really happen to use the tapes over 800GB and it does not mean that my
> tape library has a problem?

There is no problem filling more than 800 GB on a tape. This is
expected for data that is mostly text.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] BACULA: free space on tape

2011-05-10 Thread John Drescher
On Tue, May 10, 2011 at 3:36 AM, mulle78  wrote:
> Hello @all, I've purged a volume and appended a new back up to the tape. Is 
> there a way to find out the free space on a tape to be shure that a reorg of 
> a tap has be done successfully?!
>

list media pool=WhateverPoolYourTapeIsIn

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fwd: Automatic Recycling Methods

2011-05-06 Thread John Drescher
-- Forwarded message --
From: John Drescher 
Date: 2011/5/6
Subject: Re: [Bacula-users] Automatic Recycling Methods
To: João Alberto Kuchnier 


2011/5/6 João Alberto Kuchnier :
> Hi everyone!
>
> I was having to many problems working with one pool for each day of the
> week. So, recently, I reconfigure all my bacula director to use ten
> tapes with only one pool. It's working fine now. I don't have a tape
> library, so manual changes are done every day (except weekends). From
> Monday to Saturday, I run differential jobs. On Sunday, only full jobs.
> However, the Monday's tapes are doing the Saturday diff, Sunday full and
> Monday diff jobs. Obviously, I need more space for this. These three day
> tapes (the two Monday one's) aren't capable of doing more than one
> backup. So, every Friday I have the delete one of the Monday's volume
> and rewind the tape manually. I can't use Maximum Volume Jobs option. I
> tough in the Maximum Volume Bytes instead. The other tapes, I can handle
> for up to two or three months
>

Maximum Volume Bytes really is not meant to be used with tapes at all.

> My doubt is if that will work properly or not. For example: Maximum
> Volume Bytes is 150g. In one three day tape jobs, it consumes 140g. Next
> time the tape will be used, it will erase before passing the 150g

No, bacula will not erase the tape unless the tape was already marked
as Full or Used and the retention period expired.

>or it
> will ask for a new tape when the job that overlaps the 150g ends?

It will ask for a new tape.

> I need
> bacula to detect this proximity to the volume bytes limit and recycle
> the tape before having and error or asking for another volume.
>
> Maybe I will have problems when a new holiday come-up, however, that
> will be another case to think and fix.
>
> Any suggestions?
>
Go back to using 1 pool per day.

John



-- 
John M. Drescher

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Device Error

2011-05-06 Thread John Drescher
On Fri, May 6, 2011 at 12:42 PM, Robert Longfield
 wrote:
> yes the tape drive has a barcode scanner. i tried the 'update slots' message
> and i got the following error:
>
> Automatically selected Storage: PV-122T
> Connecting to Storage daemon PV-122T at localhost:9103 ...
> 3306 Issuing autochanger "slots" command.
> Device "PV-122T" has 0 slots.
> No slots in changer to scan.
> I get this error if there is a tape in the drive, or if they are all in
> their slots.
>

Do you have the mtx package installed?

I would perform the autochanger tests that are defined in the manual:

http://www.bacula.org/en/dev-manual/main/main/Autochanger_Resource.html#SECTION00369

John

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Device Error

2011-05-06 Thread John Drescher
On Fri, May 6, 2011 at 12:14 PM, Robert Longfield
 wrote:
> I don't believe it has two drives in it. i've removed the second entry from
> bacula-sd as I was running into a problem when I tried to run a job.
>
> I've restarted all the services since removing the pv122T-2 lines from the
> -sd.conf file and when I do a 'run' from bconsole followed by a 'status' on
> "storage" I get the following error:
>
> Device status:
> Autochanger "PV-122T" with devices:
>    "PV-122T-1" (/dev/nst0)
> Device "PV-122T-1" (/dev/nst0) is mounted with:
>     Volume:  test001
>     Pool:    File
>     Media type:  LTO-2
>     Device is BLOCKED waiting to create a volume for:
>    Pool:    File
>    Media type:  LTO-2
>     Drive 0 status unknown.
>     Total Bytes Read=0 Blocks Read=0 Bytes/block=0
>     Positioned at File=0 Block=0
> 
> Used Volume status:
> test001 on device "PV-122T-1" (/dev/nst0)
>     Reader=0 writers=0 devres=1 volinuse=0
> 
>
> The first time it said it needed a volume to be creaded so I used the volume
> command and created test001. Now it seems the device is BLOCKED and needs a
> volume?
>

I assume you have a barcode reader on your archive and you also have
barcode lables on your tapes. In this case you should never label your
tapes directly. You normally issue the

update slots

command after adding tapes and the aotochanger is done scanning the labels.

Then after that completes issue

label barcodes

command in bconsole and put all tapes into the Scratch pool. Do not
worry about already labeled tapes being in the list. Bacula will only
grab and label the tapes that are in the changer that are not in the
bacula database.

After this completes and bacula needs a tape it will grab it from the
Scratch pool and move it into the current pool.

John

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Device Error

2011-05-05 Thread John Drescher
2011/5/5 Robert Longfield :
> John,
>
> the online guidE I followed should setting up the pv-122t with -1 and -2 so
> I can't really give you a reason as to why I have them in my config, other
> than i was told that was the correct way.
>

Does your  pv-122T have 1 or 2 drives? I am not familiar with that
particular archive.

John

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Device Error

2011-05-04 Thread John Drescher
2011/5/4 Robert Longfield :
> I know I sent this to the mailing list and please forgive me for trying
> again but I am really at a loss of what my next step needs to be to get
> backup working.
>
> A bit on my setup. I am running Debian 6 with a Dell Powervault 122T. I can
> load tapes, and mount the tapes but when I tr y to run a bacup from bconsole
> I get the following errors when I do a 'messages'.
>
> KITSrv01-sd JobId 9: Fatal error: Device reservation failed for JobId=9:
> KITSrv01-dir JobId 9: Fatal error:
>  Storage daemon didn't accept Device "PV-122T-1" because:
>  3924 Device "PV-122T-1" not in SD Device resources.
>
> In my bacla-sd.conf I have the following which shows the device name:
> PV-122T-1 and -2
>
>
> Autochanger {
> Name = PV-122T
> Device = PV-122T-1, PV-122T-2
> Changer Command = "/usr/local/bacula/etc/mtx-changer %c %o %S %a %d"
> Changer Device = /dev/sg5
> }
> Device {
> Name = PV-122T-1
> Drive Index = 0
> Media Type = LTO-2
> Archive Device = /dev/nst0
> AutomaticMount = yes; # when device opened, read it
> AlwaysOpen = yes;
> RemovableMedia = yes;
> RandomAccess = no;
> AutoChanger = yes
> }
> Device {
> Name = PV-122T-2
> Drive Index = 1
> Media Type = LTO-2
> Archive Device = /dev/nst0
> AutomaticMount = yes; # when device opened, read it
> AlwaysOpen = yes;
> RemovableMedia = yes;
> RandomAccess = no;
> AutoChanger = yes
> }
>


Not sure if this is the problem but why are PV-122T-1 and PV-122T-2
using the same tape drive?

John

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Multiple Devices in Director Storage definition

2011-05-04 Thread John Drescher
On Wed, May 4, 2011 at 5:38 AM, Daniel Holtkamp  wrote:
> Hello !
>
> I am testing around a bit and found something that would help a lot in my 
> setup, but i´m not quite sure if this is a supported configuration.
>
> This way i can mount up to 4 different volumes at the same time on one 
> storage. Please note that the Archive Device location is always the same so i 
> don´t think i have to split up the storage definition as suggested in the 
> manual.
>
> - bacula-dir.conf -
> Storage {
>  Name       = backup.mb.filestorage
>  Address    = 10.11.6.32
>  SDPort     = 9103
>  Password   = ""
>  Device     = backup.mb.filestorage-1
>  Device     = backup.mb.filestorage-2
>  Device     = backup.mb.filestorage-3
>  Device     = backup.mb.filestorage-4
>  Media Type = backup.mb.filestorage
>  Maximum Concurrent Jobs = 4
> }
> - bacula-dir.conf -
>
> - bacula-sd.conf -
> Device {
>  Name = backup.mb.filestorage-1
>  Media Type = backup.mb.filestorage
>  Archive Device = /var/backup/storage/backup.mb.filestorage/
>  LabelMedia = yes;                   # lets Bacula label unlabeled media
>  Random Access = Yes;
>  AutomaticMount = yes;               # when device opened, read it
>  RemovableMedia = no;
>  AlwaysOpen = no;
>  Maximum Concurrent Jobs = 1
> }
>
> Device {
>  Name = backup.mb.filestorage-2
>  Media Type = backup.mb.filestorage
>  Archive Device = /var/backup/storage/backup.mb.filestorage/
>  LabelMedia = yes;                   # lets Bacula label unlabeled media
>  Random Access = Yes;
>  AutomaticMount = yes;               # when device opened, read it
>  RemovableMedia = no;
>  AlwaysOpen = no;
>  Maximum Concurrent Jobs = 1
> }
>
> [... and so on ...]
> - bacula-sd.conf -
>
> Is it intended to be used that way ?
>

No. You need a separate device in bacula-dir for each device you have
in bacula-sd if you are not using an autochanger or a disk virtual
artochanger like bacula vchanger.

John

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Speed of backups

2011-05-04 Thread John Drescher
On Wed, May 4, 2011 at 2:39 PM, Jesper Krogh  wrote:
> On 2011-04-28 17:16, Alex Chekholko wrote:
>> Try changing your Maximum Network Buffer size in your bacula-sd config.
>>
>> Something like
>>    Maximum Network Buffer Size = 262144 #65536
>>    Maximum block size = 262144
>>
>> Keep in mind that this will make your sd unable to read previous
>> backups, IIRC.
> Do you have more on this? I didnt see a warning about that in the
> documentation, which I definately would expect if that was the case.
>

There was a bug report about this within the last 2 months that was
immediately closed as "Cant Fix". I have experienced this myself. I
had a few original tapes that I set some size other than the default
and those are currently not readable now since I reset the block size
back to default. The difference is between fixed size and variable
size blocks and also even fixed sized blocks of different sizes. I
believe if you used fixed sized blocks (max and min are the same) you
can not change that otherwise the tape drive can not read the new
block size. If you use variable sized blocks (max and min different
sizes) you may be able to extend the max size or reduce the min size
as long as you don't make the max=min.

John

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] job not running

2011-05-04 Thread John Drescher
On Wed, May 4, 2011 at 8:26 AM, John Drescher  wrote:
> On Wed, May 4, 2011 at 6:41 AM, Matthieu Patou
>  wrote:
>> Hello List,
>>
>> I'm a bit puzzled I've 3 different kind of jobs with 3 different
>> storage, different mediatype, different fileset.
>> My max number of concurrent job is 20, but I can have only 2 concurrent
>> job (each of one type), if I start the third one it will wait or block
>> the two others.
>>
>> Is there a way to see why a job has been put in "created, not yet
>> running state" ?
>>
>> Matthieu.
>>
>
> You are either using the same pool and wanting that to work on more
> than 1 storage device or you have not set Maximum Concurrent Jobs in
> enough places. There are 5 or so places where you can set this.
>
Or you are using priority.

> John
>



-- 
John M. Drescher

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] job not running

2011-05-04 Thread John Drescher
On Wed, May 4, 2011 at 6:41 AM, Matthieu Patou
 wrote:
> Hello List,
>
> I'm a bit puzzled I've 3 different kind of jobs with 3 different
> storage, different mediatype, different fileset.
> My max number of concurrent job is 20, but I can have only 2 concurrent
> job (each of one type), if I start the third one it will wait or block
> the two others.
>
> Is there a way to see why a job has been put in "created, not yet
> running state" ?
>
> Matthieu.
>

You are either using the same pool and wanting that to work on more
than 1 storage device or you have not set Maximum Concurrent Jobs in
enough places. There are 5 or so places where you can set this.

John

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] use volume once and concurrent jobs

2011-05-03 Thread John Drescher
> whats the best way to have one file (volume) per job but still running
> more than one job at once?

Use more than 1 storage device.

I recommend using bacula vchanger for that. This will greatly simplify
the setup and increase flexibility.

http://sourceforge.net/projects/vchanger/

John

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Tar and Bacula doesn't work together.

2011-05-02 Thread John Drescher
> My first post here. So don't shoot me if I say/do stupid things.
>
> I got a problem with Bacula. The version I use is 2.4.4 on debian etch.
>
> My Bacula runs smootly, everything seems to work.
>
> But now, when I try to execute a tar command I get some errors.
>
> The error:
>
> user:/etc/init.d# tar -tvf /dev/nst0
> tar: /dev/nst0: Cannot open: Device or resource busy
> tar: Error is not recoverable: exiting now
>

If you issue the unmount command in bacula it will release the tape
drive from bacula's control. Then you can use external tools. Remember
after you are done with external tools to mount the tape in bacula
using the mount command otherwise bacula will prompt you on the next
backup for user intervention.

>
> I discovered that the storage-daemon blocks the tape drive. So when I stop 
> the daemon, i get:
>
> user:/etc/init.d# tar -tvf /dev/nst0
> tar: /dev/nst0: Cannot read: Cannot allocate memory
> tar: At beginning of tape, quitting now
> tar: Error is not recoverable: exiting now
>
> How can I solve this and is there a tool to see the tapes content when the 
> daemon is running without using bconsole?
>

Bacula does not write tapes in tar format. You can use bls and bscan
to look at bacula tapes.

John

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Central control remote storage

2011-05-02 Thread John Drescher
2011/5/2 Stephens, Bill {PBSG} :
> I have remote servers set up in a "single server" configuration, meaning
> each server runs the director, sd, and fd.  The remote servers have their
> own removable drives to store the backups.  The servers only have slow
> connections to our central sites.  Is it possible to configure a central
> director, and still have the clients do their backups to storage that's
> local to them?  My goal is to manage many remote clients from a central
> point.
>

Bacula does not have a central director concept. You can have storage
located on any machines in the network that can run the storage
daemon. Meaning a storage device does not need to be on a director
machine. Neither does the database. However the problem you will have
is the database records need to be transferred to the director and
from the director to the database server.

John

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems with disk-based backup

2011-05-02 Thread John Drescher
2011/5/2 Philip Yarra :
> My bacula now seems to be firmly wedged, with all jobs trying to use the
> same volume (and my config very definitely says to use each volume only
> once).
>
> Scheduled Jobs:
> Level  Type Pri  Scheduled  Name   Volume
> ===
> Incremental    Backup    10  02-May-11 22:00    wd-server-user-shares
> Full-0179
> Incremental    Backup    10  02-May-11 22:00    em-fap-user-shares Full-0179
> Incremental    Backup    10  02-May-11 22:00    rg-server-user-shares
> Full-0179
> Incremental    Backup    10  02-May-11 22:00    ep-server-user-shares
> Full-0179
> Incremental    Backup    10  02-May-11 22:00    fr-server-user-shares
> Full-0179
> Incremental    Backup    10  02-May-11 22:00    rov-impac-1-tshome Full-0179
> Incremental    Backup    10  02-May-11 22:00    zevon-home Full-0179
> Incremental    Backup    10  02-May-11 22:00    rov-citrix-cs-documents
> Full-0179
> 
>
> Can anyone advise on how bacula has got wedged like this, and how I can fix
> it? Help??
>

Bacula does not really know what volume it will use till it actually
starts the backup so the display will not take into account "Use
volume once" or any other condition that limits the volume usage.

John

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Deleted Media by mistake. Now Device or resource busy

2011-04-29 Thread John Drescher
On Fri, Apr 29, 2011 at 6:42 AM, newtobacula
 wrote:
> anyone?
>

To use mt commands you need to unmount the bacula volume so that
bacula gives up control of the tape drive. Then do your mt commands.
Then use the mount command in bacula to give bacula back control of
the tape drive.


If that does not work you need to stop the storage daemon. Do your mt
commnands then restart the storage daemon. Note: This option will
cause the current jobs to terminate.

John

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula sabe se atingiu a capacidade máxima de uma fita?

2011-04-29 Thread John Drescher
2011/4/29 Victor Lima :
> Rodrigo I'm sorry, I forgot this list was international. I asked this
> question because the bacula recorded a tape of me until it
> gets to 2.4TB. What I did find it strange for the reason the tape
> reaches up to 1.6TB.
>

This is possible if you have a lot of text files with very few already
compressed files. I would never set MaxVolumeSize for a tape. Just let
the variable compression do its work. I added more on this subject in
my first reply.

John

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula sabe se atingiu a capacidade máxima de uma fita?

2011-04-29 Thread John Drescher
> Bom dia galera,
> Gostaria de saber se o bacula sabe quando atinge a capacidade de uma fita.
> Por exemplo, tenho uma fita LTO-4 de 1.6TB, o bacula vai saber se chegou ao
> final dela? ou eu preciso especificar o tamanho máximo da fita com a
> diretiva:
>
> MaxVolumeSize
>

I do not understand any Portuguese but google translation made your
question understandable.

NO do not set MaxVolumeSize for tapes. As the other person said tapes
have variable hardware compression. Your tape drive supports 800 GB
native space however what will fit on the tape will vary depending on
what your data set is. If you have only text files you may actually
fit 2500 MB on the tape however if you are saving only mpegs (zip
files ...) you may get 801 GB total on a tape. There is no good reason
to limit the tape usage at 1600 GB.

John

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fwd: Waitung for a mount request?

2011-04-28 Thread John Drescher
-- Forwarded message --
From: Dennis Hoppe 
Date: Thu, Apr 28, 2011 at 6:16 PM
Subject: Re: [Bacula-users] Waitung for a mount request?
To: John Drescher 


Hello John,

Am 28.04.2011 18:46, schrieb John Drescher:
> On Thu, Apr 28, 2011 at 12:36 PM, Dennis Hoppe
>  wrote:
>> Am 28.04.2011 17:47, schrieb John Drescher:
>>> ...
>>> Did you unmount the previous media that was in the device it is
>>> complaining about using the umount command?
>>
>> i am a little bit confused. There should not be any media mounted,
>> because the client is using his own device / pool and the volumes are
>> only used once.
>
> The question was not is there any media mounted but did you use the
> umount command? The reason is umount takes the storage device offline
> and will require a manual mount to bring it back online. If you used
> the release command instead of umount it does not take the device
> offline.
>
> You can also debug this by looking at the pool
>
> list media pool=poolname
>
> in bconsole

finally i was able to reproduce this behavior.

2011-04-28 23:05:02   bserver-dir JobId 7: Start Backup JobId 7,
Job=bclient1.2011-04-28_23.05.00_44
2011-04-28 23:05:03   bserver-dir JobId 7: Error: sql_create.c:401
Volume "backup_2011-04-28-23:05" already exists.
2011-04-28 23:05:03   bserver-dir JobId 7: Using Device "bclient1"
2011-04-28 23:05:04   bserver-dir JobId 7: Error: sql_create.c:401
Volume "backup_2011-04-28-23:05" already exists.
2011-04-28 23:05:04   bserver-dir JobId 7: Error: sql_create.c:401
Volume "backup_2011-04-28-23:05" already exists.
2011-04-28 23:05:04   bserver-sd JobId 7: Job
bclient1.2011-04-28_23.05.00_44 is waiting. Cannot find any appendable
volumes.
Please use the "label" command to create a new Volume for:
   Storage:      "bclient1" (/var/backups/bacula/bclient1)
   Pool:         bclient1
   Media type:   File

The database did not know that i am using different pools and the
volumename must be uniqe. So i have to rename the labelformat for my pools.

Regards, Dennis




-- 
John M. Drescher


signature.asc
Description: PGP signature
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Speed of backups

2011-04-28 Thread John Drescher
> Ok, I don't have that setting enabled but I could try it. Question:
> how do you decide 5 GB is an optimal value for your LTO-4 tapes? what
> value could I put for my LTO-5 tapes? I don't really understand what
> should be the appropiate value for this directive.
> I don't know how to tell you how speed is my local disk (spool
> directory), but is this useful?
>
>
> [root@qsrpsbk1 ~]# hdparm -t /dev/sda
>
> /dev/sda:
>  Timing buffered disk reads:  370 MB in  3.01 seconds = 123.00 MB/sec

That will not be fast enough as a spool disk if you want to get
maximum performance with your LTO5 drive. You need a SSD or raid to
achieve 150MB/s. Yes I know there are harddrives even SATA drives that
do over 150MB/s now but once you need more than 1 concurrent job the
drive will limit spool performance.

John

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Speed of backups

2011-04-28 Thread John Drescher
> I tried to copy a 10 GB file between both servers (Bacula and
> Fileserver) with scp and I got a 48 MB/s speed transfer. Is this why
> my backups are always near to that speed?
>

Try backing up that 10GB file on both servers with bacula.


-- 
John M. Drescher

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Speed of backups

2011-04-28 Thread John Drescher
On Thu, Apr 28, 2011 at 3:06 PM, Jason Voorhees  wrote:
> On Thu, Apr 28, 2011 at 1:43 PM, John Drescher  wrote:
>> On Thu, Apr 28, 2011 at 2:38 PM, John Drescher  wrote:
>>>> /dev/mapper/mpath0:
>>>>  Timing buffered disk reads:  622 MB in  3.00 seconds = 207.20 MB/sec
>>>>
>>> That is a raid. But you still may not be able to sustain over 100MB/s
>>> of somewhat random reads. Remember that hdparm is only measuring
>>> sequential performance of large reads.
>>>
>>
>> If it is a raid I cold be wrong about the filesystem performance being
>> the only problem. You can test if this is the case by creating a
>> backup of a single file that is 1GB or so to media that is already
>> loaded and see if the performance is closer to the network maximum.
>> Maybe test an already compressed file of this size versus a file
>> containing all zeros.
>>
>> John
>>
>
> I tried to copy a 10 GB file between both servers (Bacula and
> Fileserver) with scp and I got a 48 MB/s speed transfer. Is this why
> my backups are always near to that speed?
>
It would be part of the problem.


-- 
John M. Drescher

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Speed of backups

2011-04-28 Thread John Drescher
On Thu, Apr 28, 2011 at 2:38 PM, John Drescher  wrote:
>> /dev/mapper/mpath0:
>>  Timing buffered disk reads:  622 MB in  3.00 seconds = 207.20 MB/sec
>>
> That is a raid. But you still may not be able to sustain over 100MB/s
> of somewhat random reads. Remember that hdparm is only measuring
> sequential performance of large reads.
>

If it is a raid I cold be wrong about the filesystem performance being
the only problem. You can test if this is the case by creating a
backup of a single file that is 1GB or so to media that is already
loaded and see if the performance is closer to the network maximum.
Maybe test an already compressed file of this size versus a file
containing all zeros.

John

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Speed of backups

2011-04-28 Thread John Drescher
> /dev/mapper/mpath0:
>  Timing buffered disk reads:  622 MB in  3.00 seconds = 207.20 MB/sec
>
That is a raid. But you still may not be able to sustain over 100MB/s
of somewhat random reads. Remember that hdparm is only measuring
sequential performance of large reads.


-- 
John M. Drescher

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Speed of backups

2011-04-28 Thread John Drescher
> So do you believe these speeds of my backups are normal? I though my
> Library tape with LTO-5 tapes could write at 140 MB/s approx. It isn't
> possible to achieve higher speeds?

You need to speed up your source filesystem to achieve better
performance. Use raid10 or get a SSD. It has nothing at all to do with
your tape or bacula speed if you hard drive can not read what it needs
to backup at the maximum network speed. Or do not worry so much how
much time a single backup is taking and enable concurrency and
spooling. These will better utilize  the speed of your tape drive.


John

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Waitung for a mount request?

2011-04-28 Thread John Drescher
On Thu, Apr 28, 2011 at 12:36 PM, Dennis Hoppe
 wrote:
> Hello John,
>
> Am 28.04.2011 17:47, schrieb John Drescher:
>> ...
>> Did you unmount the previous media that was in the device it is
>> complaining about using the umount command?
>
> i am a little bit confused. There should not be any media mounted,
> because the client is using his own device / pool and the volumes are
> only used once.
>

The question was not is there any media mounted but did you use the
umount command? The reason is umount takes the storage device offline
and will require a manual mount to bring it back online. If you used
the release command instead of umount it does not take the device
offline.

You can also debug this by looking at the pool

list media pool=poolname

in bconsole

John

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Speed of backups

2011-04-28 Thread John Drescher
> How can I know where's the bottleneck? I'm using an ext4 filesystem.
> Are these tests useful?
>
> [root@qsrpsbk1 ~]# hdparm -t /dev/sda
>
> /dev/sda:
>  Timing buffered disk reads:  370 MB in  3.01 seconds = 122.89 MB/sec
> [root@qsrpsbk1 ~]# hdparm -tT /dev/sda
>
> /dev/sda:
>  Timing cached reads:   3770 MB in  2.00 seconds = 1885.16 MB/sec
>  Timing buffered disk reads:  370 MB in  3.00 seconds = 123.20 MB/sec
>

That is expected for a hard drive purchased in 2010 or newer.

>
> First I disabled 'signature=SHA1' at my Jobs and I gained little speed
> of my backup (between 79 and 83 MB/s). Then I enabled Data Spooling
> (so attribute spooling also is enabled) and my backups became slower
> (between 36 and 45 MB/s).
>

Your benchmark does not measure random or small file performance
(smaller than a few MB). Any mechanical hard drive will not have > 100
MB/s for this. SSDs or raid will but not a regular hard drive.

John

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


<    5   6   7   8   9   10   11   12   13   14   >