Re: [Bacula-users] Using Copy Job to create quarterly FULL backups

2010-11-29 Thread Paulo Martinez
Hi Dan,

Am 29.11.2010 um 02:40 schrieb Dan Langille:
 Tonight I was thinking how I want to structure my backups.  I'm
 presently backing up to disk and I'm about to running Copy Jobs from
 there to tape.

 Then I started thinking: if I keep quarterly FULL backups (a full  
 backup
 done every three months), I would have more space to keep backups
 longer.  Let's assume those quarterly backups are kept for 10 years,
 which will require a new Pool with 'Volume Retention = 10 years'.

 But how best to achieve these quarterly backups?  My initial thoughts
 were along the lines of the classic schedule:

   Run = Level=Full 1st sun at 8:15
   Run = Differential 2nd-5th sun at 8:15
   Run = Incremental mon-sat at 8:15

 but adjusted slightly for every three months:

   Run = Level=Full jan apr jul oct 1st sun at 8:15

 This this quickly becomes complicated.


I am also thinking about the same setup (Full after a half year for  
ten years).

I am just curious why Run = Level=Full jan jun 1st sun at 8:15
would become complicated?


Furthermore i thought about putting one Full backup at one Volume(set).
I am not sure if Maximum Volume Jobs = 1 would accomplishing this.
Because the data could grow and needing a second tape. Or how to delete
the appendable flag of the volume? I read something about that but
can't remember where :-)

Thanks

PM



--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job pre-allocating 20 volumes from a pool un-necessary

2010-11-29 Thread Francisco Javier Funes Nieto
You can build 5.0.3 on Debian Squeeze from source, its so easy.

The wiki has 'from source' howtos on Debian that could help you.

Javier.

2010/11/29 Francois Duchatelet bacul...@duchatelet.org

   No it isn’t.

 The normal way of working is:
 - fill a volume,
 - THEN look for an available (Appendable,Purged,...) one,
 - THEN ONLY if there are no available volumes in the Pool, create a new one
 (if the pool allows it).


 The issue is: SOMETIMES, the locutus job PRE-creates 20 volumes, although
 it doesn’t need them.
 In this case, the job was only 400Mb and normally completed on ONE volume.

 The “Sleep 60” is necessary because otherwise the 2 jobs, starting at the
 same, would compete for the same volume.
 With this ‘sleep 60’, the sulu job has time to mark it’s first volume as
 ‘Used’ (by virtue of ‘Maximum Volume Jobs = 1‘) before the locutus job
 does its reservation.
 At least this was an issue before I upgraded to 5.0.2, while the two jobs
 ran concurrently.

 As I need to upgrade to 5.0.3 anyway, I’ll see if the problem persist.
 Does someone have 5.0.3 packages for debian/squeeze ? Otherwize I’ll try to
 build them.

 Cheers,
 François



  *From:* Kleber Leal kleber.l...@gmail.com
 *Sent:* Sunday, November 28, 2010 9:45 PM
 *To:* bacula-users bacula-users@lists.sourceforge.net
 *Subject:* Re: [Bacula-users] Job pre-allocating 20 volumes from a
 poolun-necessary

 It seems correct!
 How many GB you have on spock host?
 You difined maximum volume size with 1GB and only one use for each volume,
 then if the backup of spock host exceed 1GB other volumes will be created.
 If you want keep the job on single volume you should remove the maximum
 volume size definition.

 Why you need this sleep 60?

 Kleber

 2010/11/28 Francois D. bacul...@duchatelet.org

 Hello,

 I've an issue preventing the correct recycling of my Pool's volume.

 Given the definitions at the end of the message, I have the job for
 locutus
 pre-create 20 volumes in the Default pool right after the 60 seconds
 sleep.

 What happens:
 - at 02:05, two jobs (Sulu and Locutus) starts.
 - to avoid them compelling for the same Volume, the Locutus job does a
 'sleep 60'.
 - due, I think, to the known bug in 5.0.2 (bug-1578), the locutus job
 waits
 for the sulu completion before going on.
 - sometimes (I was not able to deduce a pattern yet), while it is waiting,
 the locutus job creates new volumes in the target pool, even before it
 needs
 it.

 When the pool is empty, like today (I've cleaned and rebuild the pool
 yesterday), this is not really an issue, but when there are 100+ volumes,
 with about 50 of them purged, and ready to be re-used, this is annoying,
 as
 this makes the pool growing.

 Any ideas of what I did wrong ?

 Cheers,
 François


 =

 Here is an extract of the Sulu job log:
 
 28-Nov 02:05 spock-dir JobId 1446: Start Backup JobId 1446,
 Job=sulu.2010-11-28_02.05.00_44
 28-Nov 02:05 spock-dir JobId 1446: Created new Volume BDSK-002 in
 catalog.
 28-Nov 02:05 spock-dir JobId 1446: Using Device FileStorage
 28-Nov 02:05 spock-sd JobId 1446: Labeled new Volume BDSK-002 on device
 FileStorage (/backups).
 28-Nov 02:05 spock-sd JobId 1446: Wrote label to prelabeled Volume
 BDSK-002 on device FileStorage (/backups)
 28-Nov 02:05 spock-dir JobId 1446: Max Volume jobs exceeded. Marking
 Volume
 BDSK-002 as Used.
 28-Nov 02:05 sulu-fd JobId 1446: Generate VSS snapshots. Driver=VSS
 Vista,
 Drive(s)=C
 28-Nov 02:08 spock-sd JobId 1446: User defined maximum volume capacity
 1,073,741,824 exceeded on device FileStorage (/backups).
 28-Nov 02:08 spock-sd JobId 1446: End of medium on Volume BDSK-002
 Bytes=1,073,737,912 Blocks=16,644 at 28-Nov-2010 02:08.
 28-Nov 02:08 spock-sd JobId 1446: Labeled new Volume BDSK-003 on device
 FileStorage (/backups).
 28-Nov 02:08 spock-sd JobId 1446: Wrote label to prelabeled Volume
 BDSK-003 on device FileStorage (/backups)
 28-Nov 02:08 spock-dir JobId 1446: Max Volume jobs exceeded. Marking
 Volume
 BDSK-003 as Used.
 28-Nov 02:08 spock-sd JobId 1446: New volume BDSK-003 mounted on device
 FileStorage (/backups) at 28-Nov-2010 02:08.
 28-Nov 02:24 spock-sd JobId 1446: User defined maximum volume capacity
 1,073,741,824 exceeded on device FileStorage (/backups).
 28-Nov 02:24 spock-sd JobId 1446: End of medium on Volume BDSK-003
 Bytes=1,073,737,675 Blocks=16,644 at 28-Nov-2010 02:24.
 28-Nov 02:24 spock-sd JobId 1446: Labeled new Volume BDSK-004 on device
 FileStorage (/backups).
 28-Nov 02:24 spock-sd JobId 1446: Wrote label to prelabeled Volume
 BDSK-004 on device FileStorage (/backups)
 28-Nov 02:24 spock-dir JobId 1446: Max Volume jobs exceeded. Marking
 Volume
 BDSK-004 as Used.
 28-Nov 02:24 spock-sd JobId 1446: New volume BDSK-004 mounted on device
 FileStorage (/backups) at 28-Nov-2010 02:24.

 And here is an extract of the locutus job log:
 
 28-Nov 02:05 spock-dir JobId 1447: shell command: run 

Re: [Bacula-users] Using Copy Job to create quarterly FULL backups

2010-11-29 Thread Martin Simmons
 On Sun, 28 Nov 2010 20:40:54 -0500, Dan Langille said:
 
 I thought this was a great idea, until I realized that Copy Job depends 
 upon the 'Next Pool' directive in the source Pool.  This prevents a 
 given Job from being copied to more than one Pool.  Ouch, bummer. 
 That's something I'd really like to do.  Is it possible?

Yes, with a hack:

http://thread.gmane.org/gmane.comp.sysutils.backup.bacula.devel/14084

__Martin

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] search file edited on a specific date

2010-11-29 Thread Fahrer, Julian
Hey list,

I could not find an answer to this in the archive. Can I (or Bacula)
list files from a specific job edited on a certain date?

For Example: List all .xls files from jobid XXX where the date of the
file is 2010-11-26 (not the date the backup ran!).
I guess I have to parse the lstat field.

I'm running Bacula 5.03 on Ubuntu 10/04 x64

Kind regards

Julian

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] search file edited on a specific date

2010-11-29 Thread Alan Brown
Fahrer, Julian wrote:
 Hey list,
 
 I could not find an answer to this in the archive. Can I (or Bacula)
 list files from a specific job edited on a certain date?
 
 For Example: List all .xls files from jobid XXX where the date of the
 file is 2010-11-26 (not the date the backup ran!).
 I guess I have to parse the lstat field.

You will have to write a database query to do it, but yes you can.

AB




--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] where is bacula logs locating on Solaris?

2010-11-29 Thread Timo Neuvonen
I thought it is under/var/bacula, but I didn't find any bacula file.
 anyone knows where is the logs info?


I don't know Solaris, but look for something like lines below from 
director's conf file:

Messages {
  Name = Daemon

  append = /var/log/bacula/log = all, !skipped
}

This is from CentOS, and used to point to /var/lib/bacula/log (if I
remember it correctly) by default.

--
TiN 



--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] where is bacula logs locating on Solaris?

2010-11-29 Thread amybac

Timo Neuvonen wrote:
 
 Messages {
 Name = Daemon
 
 append = /var/log/bacula/log = all, !skipped
 }
 


Timo, Yes, I find this in dir.conf, however it seems too simple, and it only 
contains logs from bconsole?
do you know how to get some debug info from bacula or bacula-fd command? 
seems bacula or bacula-fd do not support -d option, that is, they can' t be 
logged?

thanks

+--
|This was sent by lt...@163.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Using Copy Job to create quarterly FULL backups

2010-11-29 Thread Dan Langille
On 11/29/2010 5:00 AM, Paulo Martinez wrote:
 Hi Dan,

 Am 29.11.2010 um 02:40 schrieb Dan Langille:
 Tonight I was thinking how I want to structure my backups.  I'm
 presently backing up to disk and I'm about to running Copy Jobs from
 there to tape.

 Then I started thinking: if I keep quarterly FULL backups (a full
 backup
 done every three months), I would have more space to keep backups
 longer.  Let's assume those quarterly backups are kept for 10 years,
 which will require a new Pool with 'Volume Retention = 10 years'.

 But how best to achieve these quarterly backups?  My initial thoughts
 were along the lines of the classic schedule:

Run = Level=Full 1st sun at 8:15
Run = Differential 2nd-5th sun at 8:15
Run = Incremental mon-sat at 8:15

 but adjusted slightly for every three months:

Run = Level=Full jan apr jul oct 1st sun at 8:15

 This this quickly becomes complicated.


 I am also thinking about the same setup (Full after a half year for
 ten years).

 I am just curious why Run = Level=Full jan jun 1st sun at 8:15
 would become complicated?

I'm thinking about the INCR and DIFF jobs that follow it.  They need to 
be based upon something (i.e. the Full).  My initial concern was they 
all needed to be in the same Pool.  That is incorrect.  Restores can 
collect backups from different Pools.

Where it does get complicated is the other schedule, for regular Full 
backups:

Run = Level=Full Feb Mar May Jun Aug Sep Nov Dec 1st sun at 8:15

OK, it's not that complicated.

 Furthermore i thought about putting one Full backup at one Volume(set).
 I am not sure if Maximum Volume Jobs = 1 would accomplishing this.
 Because the data could grow and needing a second tape. Or how to delete
 the appendable flag of the volume? I read something about that but
 can't remember where :-)

If a Job requires more than one Volume, Maximum Volume Jobs = 1 would 
not hinder that.

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

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Using Copy Job to create quarterly FULL backups

2010-11-29 Thread Dan Langille
On 11/29/2010 7:20 AM, Martin Simmons wrote:
 On Sun, 28 Nov 2010 20:40:54 -0500, Dan Langille said:

 I thought this was a great idea, until I realized that Copy Job depends
 upon the 'Next Pool' directive in the source Pool.  This prevents a
 given Job from being copied to more than one Pool.  Ouch, bummer.
 That's something I'd really like to do.  Is it possible?

 Yes, with a hack:

 http://thread.gmane.org/gmane.comp.sysutils.backup.bacula.devel/14084

The two suggestions there are quite interesting.  I like them.  Thank you.

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

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] where is bacula logs locating on Solaris?

2010-11-29 Thread Dan Langille
On 11/29/2010 9:00 PM, amybac wrote:

 Timo Neuvonen wrote:

 Messages {
 Name = Daemon
 
 append = /var/log/bacula/log = all, !skipped
 }



 Timo, Yes, I find this in dir.conf, however it seems too simple, and it only 
 contains logs from bconsole?
 do you know how to get some debug info from bacula or bacula-fd command? 
 seems bacula or bacula-fd do not support -d option, that is, they can' t be 
 logged?

Yes, bacula-fd accepts -d.

man bacula-fd or bacula-fd -h



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

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] where is bacula logs locating on Solaris?

2010-11-29 Thread amybac

Dan Langille wrote:
 
 Yes, bacula-fd accepts -d.
 
 man bacula-fd or bacula-fd -h
 

what debug level usually be used? 100 or 200?
Last time I run with -d999, it soon quit the program.

+--
|This was sent by lt...@163.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] where is bacula logs locating on Solaris?

2010-11-29 Thread Dan Langille
On 11/29/2010 10:31 PM, amybac wrote:

 Dan Langille wrote:

 Yes, bacula-fd accepts -d.

 man bacula-fd or bacula-fd -h


 what debug level usually be used? 100 or 200?
 Last time I run with -d999, it soon quit the program.

Start small, work your way up. :)  Try 10

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

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users