Re: [Bacula-users] Incremental pool used when job upgraded from inc tofull

2013-02-17 Thread Michael Anderson
On 2/16/13 4:50 PM, Bill Arlofski wrote:
 On 02/16/13 06:34, Fahrer, Julian wrote:
 -Ursprüngliche Nachricht-
 Von: Michael Anderson [mailto:michael.ander...@elegosoft.com]
 Gesendet: Samstag, 16. Februar 2013 12:28
 An: bacula-users@lists.sourceforge.net
 Betreff: [Bacula-users] Incremental pool used when job upgraded from inc
 tofull

 Hello,

 I have three pools defined for a host with differing retention times:

 Pool {
  Name = myhost.example.com-full
  Pool Type = Backup
  Maximum Volume Jobs = 1
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 6 months
  LabelFormat = myhost.example.com-full-
 }

 Pool {
  Name = myhost.example.com-diff
  Pool Type = Backup
  Maximum Volume Jobs = 1
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 4 weeks
  LabelFormat = myhost.example.com-diff-
 }

 Pool {
  Name = myhost.example.com-inc
  Pool Type = Backup
  Maximum Volume Jobs = 1
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 8 days
  LabelFormat = myhost.example.com-inc-
 }

 declared in the Schedule so:

 Schedule {
  Name = myhost.example.com-monthly
  Run = Level=Full Pool=myhost.example.com-full 1st sun at 23:05
  Run = Level=Differential Pool=myhost.example.com-diff 2nd-5th sun at
 23:05
  Run = Level=Incremental Pool=myhost.example.com-inc mon-sat at 23:05 }


 This works fine unless a job get upgraded from incremental or diff to
 full. When a job gets upgraded, Bacula uses the pool the job was
 upgraded from instead of the pool the job was upgraded to. That is, when
 a job gets upgraded from inc to full, the inc pool is used. This causes
 the full jobs to be purged at the inc retention interval, which uses
 quite a bit more network traffic and disk space than I had planned for.
 How can I make Bacula use the full pool when a job gets upgraded?

 Thanks,

 Michael Anderson

 Hi Michael,

 this behavior is expected. But you can specify

Full Backup Pool = [poolname]
Incremental Backup Pool = [poolname]
Differential Backup Pool = [poolname]

 in the job resources to solve your problem.

 Kind regards

 Julian

 Michael, you can also specify the pools in the Schedule resource:

 Schedule {
Name = Weekly
Run = Full pool=Full  1st fri at 21:30
Run = Differential pool=Diff FullPool=Full 2nd-5th fri at 21:30
Run = Incremental  pool=Inc FullPool=Full DifferentialPool=Diff mon-thu
 at 21:30
 }

 That last Run line will wrap in this email, but should be on one line.

 I've always configured the additional pool specifications there, but both
 places work.

 --
 Bill Arlofski
 Reverse Polarity, LLC

Thanks, that did the trick.

Michael

 --
 The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
 is your hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials, tech docs,
 whitepapers, evaluation guides, and opinion stories. Check out the most
 recent posts - join the conversation now. http://goparallel.sourceforge.net/
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


-- 
Michael Anderson
IT Services  Support

elego Software Solutions GmbH
Gustav-Meyer-Allee 25
Building 12.3 (BIG) room 227
13355 Berlin, Germany

phone +49 30 23 45 86 96  michael.anderson at elegosoft.com
fax   +49 30 23 45 86 95  http://www.elegosoft.com

Geschaeftsfuehrer: Olaf Wagner, Sitz Berlin
Amtsgericht Berlin-Charlottenburg, HRB 77719, USt-IdNr: DE163214194


--
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula tutorial at AsiaBSDCon

2013-02-17 Thread Anatoly Pugachev
any chance to see slides ?

Thanks.

On Mon, Jan 28, 2013 at 12:00 AM, Dan Langille d...@langille.org wrote:
 I will be giving a three hour tutorial at AsiaBSDCon in Toyko in March 2013.

 http://2013.asiabsdcon.org/ - the schedule is not yet announced but I'll be 
 talking on
 one of 14 or 15 March.

 The slides and rough notes will be available after the conference.

--
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula tutorial at AsiaBSDCon

2013-02-17 Thread Dan Langille
On Feb 17, 2013, at 12:34 PM, Anatoly Pugachev wrote:

 On Mon, Jan 28, 2013 at 12:00 AM, Dan Langille d...@langille.org wrote:
 I will be giving a three hour tutorial at AsiaBSDCon in Toyko in March 2013.
 
 http://2013.asiabsdcon.org/ - the schedule is not yet announced but I'll be 
 talking on
 one of 14 or 15 March.
 
 The slides and rough notes will be available after the conference.

 any chance to see slides ?

Yes.  After the conference.  ;)

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


--
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] using usb disk for daily off site backups with vchanger

2013-02-17 Thread fsy
Hi,

i want to backup to usb disks every day, so i decided to install vchanger and 
use one usb disk for every day.

my problem is that vchanger/bacula sometimes doesn't recognize my disks.

My vchanger config is:

changer_name = vchanger
virtual_drives = 1
slots_per_magazine = 6
magazine_bays = 1
automount_dir = /mnt/vchanger
magazine = UUID:c6aa86dc-0a2b-4386-81ae-79f8a6fd21d3
magazine = UUID:ab3266ac-12f1-4dc6-9448-3b144ee9ba08
magazine = UUID:047d3f77-b761-41d7-ab7a-0b98b9540ae3
magazine = UUID:b7391bf8-2f50-431e-9124-d0e969af09cf
magazine = UUID:df31b95c-5986-4f67-a754-0379d92e92bf
magazine = UUID:2d85d8c1-c197-4d5a-b8fe-016e7c37c56d

my autofs configuration:

/mnt/vchanger   /etc/auto.vchanger  --timeout=30

my autofs vchanger config:

*  -fstype=auto,rw,sync   :/dev/disk/by-uuid/

if i try to run a backup job on the vchanger device i get the following:

17-Feb 15:59 bacula-dir JobId 5665: shell command: run BeforeJob 
/etc/bacula/holiday.sh
17-Feb 15:59 bacula-dir JobId 5665: BeforeJob: Date is not a known vacation day.
17-Feb 15:59 bacula-dir JobId 5665: Start Backup JobId 5665, 
Job=test-USB.2013-02-17_15.59.33_33
17-Feb 15:59 bacula-dir JobId 5665: Using Device usb-changer-drive-0
17-Feb 15:59 bacula-sd JobId 5665: 3301 Issuing autochanger loaded? drive 0 
command.
17-Feb 15:59 bacula-sd JobId 5665: 3302 Autochanger loaded? drive 0, result: 
nothing loaded.
17-Feb 15:59 bacula-sd JobId 5665: 3304 Issuing autochanger load slot 2, drive 
0 command.
17-Feb 15:59 bacula-sd JobId 5665: Fatal error: 3992 Bad autochanger load slot 
2, drive 0: ERR=Unknown error during program execvp.
Results=failed to convert slot 2 to valid volume file name

17-Feb 15:59 -fd JobId 5665: Fatal error: job.c:2395 Bad response to Append 
Data command. Wanted 3000 OK data
, got 3903 Error append data

the contents of my usb disk:

drive0  loaded0  loaded2  loaded4  lost+found  vchanger_0006_0003  
vchanger_0006_0005
index   loaded1  loaded3  loaded5  vchanger_0006_0002  vchanger_0006_0004  
vchanger_0006_0006

What could be wrong with my configuration?

thanks a lot

fsy

+--
|This was sent by j.ech...@gmx.de via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] using usb disk for daily off site backups with vchanger

2013-02-17 Thread mikeegg1
I backup to USB disk each day. I have a final job (priority 40, less than 
everything else) that executes a pre-job-script (whatever). I can share the 
script with you tomorrow. My fulls are now 2TB+ and run on the first Saturday 
of each month. I have moved to 4TB USB drives (room to grow).

Mike

On Feb 17, 2013, at 9:36 AM, fsy bacula-fo...@backupcentral.com wrote:

 Hi,
 
 i want to backup to usb disks every day, so i decided to install vchanger and 
 use one usb disk for every day.
 
 my problem is that vchanger/bacula sometimes doesn't recognize my disks.
 
 My vchanger config is:
 
 changer_name = vchanger
 virtual_drives = 1
 slots_per_magazine = 6
 magazine_bays = 1
 automount_dir = /mnt/vchanger
 magazine = UUID:c6aa86dc-0a2b-4386-81ae-79f8a6fd21d3
 magazine = UUID:ab3266ac-12f1-4dc6-9448-3b144ee9ba08
 magazine = UUID:047d3f77-b761-41d7-ab7a-0b98b9540ae3
 magazine = UUID:b7391bf8-2f50-431e-9124-d0e969af09cf
 magazine = UUID:df31b95c-5986-4f67-a754-0379d92e92bf
 magazine = UUID:2d85d8c1-c197-4d5a-b8fe-016e7c37c56d
 
 my autofs configuration:
 
 /mnt/vchanger   /etc/auto.vchanger  --timeout=30
 
 my autofs vchanger config:
 
 *  -fstype=auto,rw,sync   :/dev/disk/by-uuid/
 
 if i try to run a backup job on the vchanger device i get the following:
 
 17-Feb 15:59 bacula-dir JobId 5665: shell command: run BeforeJob 
 /etc/bacula/holiday.sh
 17-Feb 15:59 bacula-dir JobId 5665: BeforeJob: Date is not a known vacation 
 day.
 17-Feb 15:59 bacula-dir JobId 5665: Start Backup JobId 5665, 
 Job=test-USB.2013-02-17_15.59.33_33
 17-Feb 15:59 bacula-dir JobId 5665: Using Device usb-changer-drive-0
 17-Feb 15:59 bacula-sd JobId 5665: 3301 Issuing autochanger loaded? drive 0 
 command.
 17-Feb 15:59 bacula-sd JobId 5665: 3302 Autochanger loaded? drive 0, 
 result: nothing loaded.
 17-Feb 15:59 bacula-sd JobId 5665: 3304 Issuing autochanger load slot 2, 
 drive 0 command.
 17-Feb 15:59 bacula-sd JobId 5665: Fatal error: 3992 Bad autochanger load 
 slot 2, drive 0: ERR=Unknown error during program execvp.
 Results=failed to convert slot 2 to valid volume file name
 
 17-Feb 15:59 -fd JobId 5665: Fatal error: job.c:2395 Bad response to Append 
 Data command. Wanted 3000 OK data
 , got 3903 Error append data
 
 the contents of my usb disk:
 
 drive0  loaded0  loaded2  loaded4  lost+found  vchanger_0006_0003  
 vchanger_0006_0005
 index   loaded1  loaded3  loaded5  vchanger_0006_0002  vchanger_0006_0004  
 vchanger_0006_0006
 
 What could be wrong with my configuration?
 
 thanks a lot
 
 fsy
 
 +--
 |This was sent by j.ech...@gmx.de via Backup Central.
 |Forward SPAM to ab...@backupcentral.com.
 +--
 
 
 
 --
 The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
 is your hub for all things parallel software development, from weekly thought 
 leadership blogs to news, videos, case studies, tutorials, tech docs, 
 whitepapers, evaluation guides, and opinion stories. Check out the most 
 recent posts - join the conversation now. http://goparallel.sourceforge.net/
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users