Re: [Bacula-users] HOWTO force volume into a pool...corrected

2007-12-01 Thread David Gardner
Ryan,

Thanks! That's good to know.
 
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
David Gardner
email: djgardner(at)yahoo.com
Yahoo! IM: djgardner
AIM: dgardner09 
"Everything is a learning experience, even a mistake."

- Original Message 
From: Ryan Novosielski <[EMAIL PROTECTED]>
To: David Gardner <[EMAIL PROTECTED]>
Cc: Bacula 
Sent: Saturday, December 1, 2007 12:06:10 AM
Subject: Re: [Bacula-users] HOWTO force volume into a pool...corrected


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I wouldn't worry about the status storage output. I believe unless an
operation has taken place that would cause it to look up the pool, it
just doesn't know. list media is what counts.

David Gardner wrote:
> Hey folks,
> 
> I'm using bconsole with Bacula 2.2.5 and I want to move a volume
 (tape)
> into a different pool. Can this be done?
> 
> 
> For the record, when labeling tapes in Bconsole and have them go into
> the desired pool, the pool for the volume is "*unknown*" when viewed
> with the bconsole command "status storage." When I issue the "list
> volumes" command, the volume is in the correct pool.
> 
>  
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
> David Gardner
> email: djgardner(at)yahoo.com 
> Yahoo! IM: djgardner
> AIM: dgardner09
>  
> "Everything is a learning experience, even a mistake."
> 
> 
>
 
> Be a better sports nut! Let your teams follow you with Yahoo Mobile.
 Try
> it now.
>
 

> 
> 
>
 
> Be a better sports nut! Let your teams follow you with Yahoo Mobile.
 Try
> it now.
>
 
>
> 
> 
>
 
> 
>
 -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> 
> 
>
 
> 
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922
 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg -
 C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHURXxmb+gadEcsb4RAlPvAJwLMo8QUIhtBuA/PLrfGYLI5uzciACgx0Hj
AjivyV+wF7J33aySHoAFXGM=
=gLpf
-END PGP SIGNATURE-







  

Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs -
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Multiple File Volumes

2007-12-01 Thread Adam
Can anyone help with this?

On 29/11/2007, Adam <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have Bacula running on my local PC using a file volume pool. This is a
> temporary measure until I get my DVD writer working. The the
> bacula-dir.conf I have the following:
>
> Pool {
>   Name = vszserify-delvessrv
>   Use Volume Once = yes
>   Pool Type = Backup
>   LabelFormat = "verify-delvessrv"
>   AutoPrune = yes
>   VolumeRetention = 7 days
>   Maximum Volumes = 7
>   Recycle = yes
> }
>
> This is meant to create a new file every day for my incremental backup and
> recycle after seven days. The problem is it does appear to be doing this,
> Here are the messages for the first four days:
>
>
> 16-Nov 02:00 bacula-dir JobId 45: There are no more Jobs associated with
> Volume "File0002". Marking it purged.
> 16-Nov 02:00 bacula-dir JobId 45: All records pruned from Volume
> "File0002"; marking it "Purged"
> 16-Nov 02:00 bacula-dir JobId 45: Recycled volume "File0002"
> 16-Nov 02:00 bacula-dir JobId 45: Using Device "LocalBackupSource"
> 16-Nov 02:00 bacula-fd JobId 45: ClientBeforeJob: run command
> "/scripts/map_snapshot.sh /dev/VolGroupVMS/LogVolWinDat
> /backup/fs/DocumentBackup acl,ro"
> 16-Nov 02:00 bacula-fd JobId 45: ClientBeforeJob: 46081
> 16-Nov 02:00 bacula-fd JobId 45: ClientBeforeJob: Mounting
> /dev/VolGroupVMS/sLogVolWinDat on /backup/fs/DocumentBackup
> 16-Nov 02:00 sd-local JobId 45: Recycled volume "File0002" on device
> "LocalBackupSource" (/backup), all previous data lost.
> 16-Nov 02:00 bacula-dir JobId 45: Volume used once. Marking Volume
> "File0002" as Used.
>
> 18-Nov 02:00 bacula-dir JobId 49: Start Backup JobId 49, Job=
> DocumentBackup.2007-11-18_02.00.02
> 18-Nov 02:00 bacula-dir JobId 49: There are no more Jobs associated with
> Volume "File0002". Marking it purged.
> 18-Nov 02:00 bacula-dir JobId 49: All records pruned from Volume
> "File0002"; marking it "Purged"
> 18-Nov 02:00 bacula-dir JobId 49: Recycled volume "File0002"
> 18-Nov 02:00 bacula-dir JobId 49: Using Device "LocalBackupSource"
> 18-Nov 02:00 bacula-fd JobId 49: ClientBeforeJob: run command
> "/scripts/map_snapshot.sh /dev/VolGroupVMS/LogVolWinDat
> /backup/fs/DocumentBackup acl,ro"
> 18-Nov 02:00 bacula-fd JobId 49: ClientBeforeJob: 46081
> 18-Nov 02:00 bacula-fd JobId 49: ClientBeforeJob: Mounting
> /dev/VolGroupVMS/sLogVolWinDat on /backup/fs/DocumentBackup
> 18-Nov 02:00 sd-local JobId 49: Recycled volume "File0002" on device
> "LocalBackupSource" (/backup), all previous data lost.
> 18-Nov 02:00 bacula-dir JobId 49: Volume used once. Marking Volume
> "File0002" as Used.
>
> 19-Nov 02:00 bacula-dir JobId 51: Start Backup JobId 51, Job=
> DocumentBackup.2007-11-19_02.00.04
> 19-Nov 02:00 bacula-dir JobId 51: There are no more Jobs associated with
> Volume "File0003". Marking it purged.
> 19-Nov 02:00 bacula-dir JobId 51: All records pruned from Volume
> "File0003"; marking it "Purged"
> 19-Nov 02:00 bacula-dir JobId 51: Recycled volume "File0003"
> 19-Nov 02:00 bacula-dir JobId 51: Using Device "LocalBackupSource"
> 19-Nov 02:00 bacula-fd JobId 51: ClientBeforeJob: run command
> "/scripts/map_snapshot.sh /dev/VolGroupVMS/LogVolWinDat
> /backup/fs/DocumentBackup acl,ro"
> 19-Nov 02:00 bacula-fd JobId 51: ClientBeforeJob: 46081
> 19-Nov 02:00 bacula-fd JobId 51: ClientBeforeJob: Mounting
> /dev/VolGroupVMS/sLogVolWinDat on /backup/fs/DocumentBackup
> 19-Nov 02:00 sd-local JobId 51: Recycled volume "File0003" on device
> "LocalBackupSource" (/backup), all previous data lost.
> 19-Nov 02:00 bacula-dir JobId 51: Volume used once. Marking Volume
> "File0003" as Used.
>
> 20-Nov 02:00 bacula-dir JobId 4: Start Backup JobId 4, Job=
> DocumentBackup.2007-11-20_02.00.09
> 20-Nov 02:00 bacula-dir JobId 4: Warning: SQL failed, but ignored.
> ERR=Query failed: SELECT MAX(MediaId) FROM Media,POOL WHERE 
> Pool.PoolId=4:ERR=Table '
> bacula.POOL' doesn't exist
>
> 20-Nov 02:00 bacula-dir JobId 4: Created new Volume "File0003" in catalog.
> 20-Nov 02:00 bacula-dir JobId 4: Using Device "LocalBackupSource"
> 20-Nov 02:00 bacula-fd JobId 4: ClientBeforeJob: run command
> "/scripts/map_snapshot.sh /dev/VolGroupVMS/LogVolWinDat
> /backup/fs/DocumentBackup acl,ro"
> 20-Nov 02:00 bacula-fd JobId 4: ClientBeforeJob: 46081
> 20-Nov 02:00 bacula-fd JobId 4: ClientBeforeJob: Mounting
> /dev/VolGroupVMS/sLogVolWinDat on /backup/fs/DocumentBackup
> 20-Nov 02:00 sd-local JobId 4: Labeled new Volume "File0003" on device
> "LocalBackupSource" (/backup).
> 20-Nov 02:00 sd-local JobId 4: Wrote label to prelabeled Volume "File0003"
> on device "LocalBackupSource" (/backup)
> 20-Nov 02:00 bacula-dir JobId 4: Volume used once. Marking Volume
> "File0003" as Used.
>
> The first backup is full and the following are incremental. It started at
> volume two but does not seem to increment the file number with the next
> incremental backup and purges all the files already in there.
>
> Is there something I have done wrong here in the configuration or
> somet

Re: [Bacula-users] Reload problem? SOLVED.

2007-12-01 Thread Erik P. Olsen
Erik P. Olsen wrote:
> I've had a strange experience last night. Prior to the nightly back-up runs at
> approx. 11 o'clock I made a minor change to bacula-dir.conf and then did a
> reload. Basically the change introduced a different schedule time for my 
> back-up
> jobs. They started as expected and finished succesfully. But this morning I 
> saw
> that the jobs had been launched again at 1 o'clock and luckily they did not 
> run
> because there was no tape mounted.
> 
> The strange thing is that there is not schedule at 1 o'clock and there has 
> never
> been a schedule at that time. Can it be a problem with the reload command?

This problem had nothing to do with Bacula! The culpret turned out to be VMware 
running a Windoze 2000 guest operating system. It screwed up the clock and made 
bacula schedule back-up jobs at the wrong time.

-- 
Erik.

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] HOWTO force volume into a pool...corrected

2007-12-01 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I wouldn't worry about the status storage output. I believe unless an
operation has taken place that would cause it to look up the pool, it
just doesn't know. list media is what counts.

David Gardner wrote:
> Hey folks,
> 
> I'm using bconsole with Bacula 2.2.5 and I want to move a volume (tape)
> into a different pool. Can this be done?
> 
> 
> For the record, when labeling tapes in Bconsole and have them go into
> the desired pool, the pool for the volume is "*unknown*" when viewed
> with the bconsole command "status storage." When I issue the "list
> volumes" command, the volume is in the correct pool.
> 
>  
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
> David Gardner
> email: djgardner(at)yahoo.com 
> Yahoo! IM: djgardner
> AIM: dgardner09
>  
> "Everything is a learning experience, even a mistake."
> 
> 
> 
> Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try
> it now.
> 
> 
> 
> 
> Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try
> it now.
> >
> 
> 
> 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> 
> 
> 
> 
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHURXxmb+gadEcsb4RAlPvAJwLMo8QUIhtBuA/PLrfGYLI5uzciACgx0Hj
AjivyV+wF7J33aySHoAFXGM=
=gLpf
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users