[Bacula-users] Increase of space disk after job modification

2014-08-21 Thread ALI LARAB
I
encountered a problem with the backup of a Windows Server.
To locate the problem, I have divided my
initial backup job (the pim job) into 2 jobs pim_C to
save the C partition and Pim_D to save the D partition. I have just
commented the old job pim in the bacula-dir.conf file.
I realized that the problem is with the C partition, I then commented the job
pim_C and I replaced it with 2 other jobs: pim_C1 and pim_C2.
With this method I was able to locate my
problem and solve it. But I have seen an increase in disk space used. The free
space is 11% while it was 38%.
The old jobs (pim, pim_C ...) do not
appear in the list of jobs executed or scheduled.
 
Do you think that the old jobs (pim
pim_C ) still take up space on my hard drive? If so, how do I find the
corresponding volumes and remove them?
 
NB: I use bacula 2.4.4 on
RHEL5 and  BAT 5.0.3  client on Windows XP.
 
Thank you in advance for your answers.
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] scheduling copy jobs for offsite backups

2014-08-21 Thread J. Echter
Hi,

i'd like to have done a Vfull every day, this Vfull should at the end be 
copied to an usb disk.

If i do this manually (inc - vfull - copy job), it works.

If i schedule the copy jobs (lower priority than the normal jobs) it 
doesn't find any usable job to copy.

Do i have to trigger those jobs by an admin job?

How do you solve such offsite backups?

cheers

juergen

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] scheduling copy jobs for offsite backups

2014-08-21 Thread Heitor Faria

 Hi,


Hi Juergen,


 i'd like to have done a Vfull every day, this Vfull should at the end be
 copied to an usb disk.

 If i do this manually (inc - vfull - copy job), it works.


Can you tell what Selection Type and Pattern are you using?


 If i schedule the copy jobs (lower priority than the normal jobs) it
 doesn't find any usable job to copy.


Can you show how your Copy job is configured and what is the priority of
the other jobs?

-- 

Heitor Medrado de Faria | Need Bacula training? 10% discount coupon code at
Udemy: bacula-users
https://www.udemy.com/bacula-backup-software/?couponCode=bacula-users
+55 61 2021-8260
+55 61 8268-4220
Site: www.bacula.com.br
Facebook: heitor.faria http://www.facebook.com/heitor.faria
Gtalk: heitorfa...@gmail.com

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] scheduling copy jobs for offsite backups

2014-08-21 Thread J. Echter

Am 21.08.2014 um 14:06 schrieb Heitor Faria:


Hi,


Hi Juergen,

i'd like to have done a Vfull every day, this Vfull should at the
end be
copied to an usb disk.

If i do this manually (inc - vfull - copy job), it works.


Can you tell what Selection Type and Pattern are you using?

If i schedule the copy jobs (lower priority than the normal jobs) it
doesn't find any usable job to copy.


Can you show how your Copy job is configured and what is the priority 
of the other jobs?

Level  Type Pri  Scheduled  Job Name Volume
===
IncrementalBackup 2  21-Aug-14 20:00opsi file-0459
VirtualFullBackup 3  21-Aug-14 20:00opsi-Vfull Vfull-0456
Full   Copy  10  21-Aug-14 20:00opsi-USB

the copy jobs getting triggered with this schedule:

Schedule {
  Name = USB
  Run = Pool=Vfull NextPool=Montag on mon at 20:00
  Run = Pool=Vfull NextPool=Dienstag on tue at 20:00
  Run = Pool=Vfull NextPool=Mittwoch on wed at 20:00
  Run = Pool=Vfull NextPool=Donnerstag on thu at 20:00
  Run = Pool=Vfull NextPool=Freitag on fri at 20:00
  Run = Pool=Vfull NextPool=Samstag on sat at 20:00
}

these are the jobdefs:

JobDefs {
  Name = USB
  Schedule = USB
  Type = Copy
  Level = Full
  Messages = Standard
  Pool = File
  Prune Jobs = Yes
  Prune Files = Yes
  Prune Volumes = Yes
  Accurate = yes
  Selection Type = Client
  Storage = USB
  RunBeforeJob = /etc/bacula/holiday.sh
  Write Bootstrap = /BACKUP/bootstrap/usb-%n.bsr
}

and this is a copy job:

Job {
  Name = opsi-USB
  JobDefs = USB
  Client = opsi-fd
  FileSet = opsi
  Selection Pattern = opsi-fd
}

cheers.

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] scheduling copy jobs for offsite backups

2014-08-21 Thread Heitor Faria
Juergen: untill now your configuration seems perfect. Can you show the
Pools configuration?
I'm just suspicious about the Next Pool directive. I've always worked it at
the Pools, for the copy Job. I think it may not work properly at the
Schedule resource and maybe is why you are facing problems with the
scheduled jobs.

Cheers.
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] scheduling copy jobs for offsite backups

2014-08-21 Thread J. Echter

Am 21.08.2014 um 14:59 schrieb Heitor Faria:
Juergen: untill now your configuration seems perfect. Can you show the 
Pools configuration?
I'm just suspicious about the Next Pool directive. I've always worked 
it at the Pools, for the copy Job. I think it may not work properly at 
the Schedule resource and maybe is why you are facing problems with 
the scheduled jobs.


Cheers.

Hi,

http://www.bacula.org/7.0.x-manuals/en/main/New_Features_in_7_0_0.html

tells me:

In addition to being permitted in the Job resource, the *nextpool=xxx* 
specification can be specified as a run override in the *run* directive 
of a Schedule resource. Any *nextpool* specification in a *run* 
directive will override any other specification in either the Job or the 
Pool.


I use this as we change usb disk daily.

Cheers.
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Update pools from config files and update every volume

2014-08-21 Thread Jeff MacDonald
Is there a trick anyone has worked out to update every single pool to match the 
config files and then to have every volune update from every pool definition?

I just did some major reconfiguring and don’t want to do it one by one.


Jeff.


--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Update pools from config files and update every volume

2014-08-21 Thread Heitor Faria

 Is there a trick anyone has worked out to update every single pool to
 match the config files and then to have every volune update from every pool
 definition?

 I just did some major reconfiguring and don’t want to do it one by one.


Hi Jeff: did you try the update command, volume parameters, all volumes
from all pools?

Jeff.

 Cheers,
-- 

Heitor Medrado de Faria | Need Bacula training? 10% discount coupon code at
Udemy: bacula-users
https://www.udemy.com/bacula-backup-software/?couponCode=bacula-users
+55 61 2021-8260
+55 61 8268-4220
Site: www.bacula.com.br
Facebook: heitor.faria http://www.facebook.com/heitor.faria
Gtalk: heitorfa...@gmail.com

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Looking for recommendations on how to backup a Postgresql database using Bacula

2014-08-21 Thread Dan Langille

On Aug 20, 2014, at 5:22 PM, Dimitri Maziuk dmaz...@bmrb.wisc.edu wrote:

 On 08/20/2014 03:34 PM, Dan Langille wrote:
 
 On Aug 19, 2014, at 8:59 AM, Jonathan Bayer linuxguruga...@gmail.com wrote:
 
 We have a small cluster running Alfresco.  The web software is on 
 server1 and the database is on server2.
 
 We have Bacula community version 7.0.5
 
 Bacula client is installed on server1 for now.  Obviously, server1 can 
 access server2's database.
 
 I'm wondering how others have solved this problem.  I have a couple of 
 options here:
 
 1.  Do a pg_dump on server1 (it has the space) and then backup the dump file
 2.  Do the same on server2 instead
 3.  Set up a PITR backup on server2
 4.  Do a simple file system backup.  This requires shutting down the 
 database while the backup is in progress.
 
 so, I'm curious.  Any responses?
 
 
 I would run the pg_dump on server1.  That way, your copy is not on server2 
 should server 2 die.
 
 Backup that dump file.
 
 Do not delete the file after the backup.  Keep it available in case it’s 
 needed.
 
 On a regular basis, rsync that file, and your *.conf file to a few other 
 safe places. 
 
 Document those locations.
 
 The goal: have the configuration and the database dump available should 
 server1 die.
 
 FWIW, I usually pg_dump the schema to a text file and run a script that
 does '\copy ... to csv' for each table. Then commit them to git or rcs
 repository right there. Then rsync the repository to a couple of other
 servers. No bacula needed.
 
 I don't bother with .conf because so far I didn't need to do any mods
 I'd want saved -- changing listen address and acl doesn't count as worth
 saving.

When I said .conf, I mean bacula-dir.conf, etc.  Keep those files handy, 
outside Bacula backups.
— 
Dan Langille



signature.asc
Description: Message signed with OpenPGP using GPGMail
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Update pools from config files and update every volume

2014-08-21 Thread Bill Arlofski
On 08/21/14 21:00, Jeff MacDonald wrote:
 Is there a trick anyone has worked out to update every single pool to match 
 the config files and then to have every volune update from every pool 
 definition?
 
 I just did some major reconfiguring and don’t want to do it one by one.
 
 
 Jeff.
 
 
 --
 Slashdot TV.  
 Video for Nerds.  Stuff that matters.
 http://tv.slashdot.org/
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


Hi Jeff

Edit your Pool resource definition(s), then:

# bacula-dir -t -c /path/to/bacula-dir.conf

to verify syntax.

Then in bconsole, do:

* reload

and then:

* update
   Choose -- Pool from resource
  -- Select a pool that was edited

(Repeat for each edited pool)


and finally, to update any volumes already in the edited and updated pools:

* update
  Choose -- Volume Parameters
  -- 14: All Volumes from all Pools




-- 
Bill Arlofski
Reverse Polarity, LLC
http://www.revpol.com/
-- Not responsible for anything below this line --

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula SD Broken Pipe after 16 minutes after ...

2014-08-21 Thread dave
Since there are no solutions comming back from the community - I guess I am the 
only one not overcoming this problem.

But least I have found a workaround.

Since we have increased our spooling cache to a size so that a complete full 
backup of the servers fits - and therefore no despooling in the middle of the 
backup is needed - the backup runs fine.

For me it is a clear bug somewhere in Bacula with all versions since 5.2.x .

Reading the error message it makes kinda sense now since the bacula-fd is 
giving the error. Once despooling starts during backup - the fd continues to 
send data - but is not getting an answer from the storage daemon. Hence giving 
up. there seams to be some kind of communication Bug between the client and the 
storage daemon when the despooling process starts.

Still I am not really happy with my workaround - and still looking forward that 
someone kicks in with a real solution.

Best Regards
-- David

+--
|This was sent by d...@espros.ch via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users