[Bacula-users] Job keeps waiting on storage daemon

2014-06-28 Thread altiris
I have discovered the problem and it had to do with my /etc/hosts file. I had 
changed it a bit slightly a while ago and I recently remembered that bacula 
started acting up when I changed it (I was working with DNS and mail server at 
the time). Basically the issue was I that I had 192.168.12.13 
mycomputer-mydomain.com mycomputer instead of 192.168.12.13 
mycomputer.mydomain.com mycomputer

I am really upset that was whats wrongI make a lot of these silly mistakes 
simply because the time I work on my server are late at night

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



--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job keeps waiting on storage daemon

2014-06-28 Thread Kern Sibbald
I wouldn't take it so hard.  At least you know that it is not a Bacula
bug, which might have been even more painful :-)

Best regards,
Kern

On 06/28/2014 07:38 PM, altiris wrote:
 I have discovered the problem and it had to do with my /etc/hosts file. I had 
 changed it a bit slightly a while ago and I recently remembered that bacula 
 started acting up when I changed it (I was working with DNS and mail server 
 at the time). Basically the issue was I that I had 192.168.12.13 
 mycomputer-mydomain.com mycomputer instead of 192.168.12.13 
 mycomputer.mydomain.com mycomputer

 I am really upset that was whats wrongI make a lot of these silly 
 mistakes simply because the time I work on my server are late at night

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



 --
 Open source business process management suite built on Java and Eclipse
 Turn processes into business applications with Bonita BPM Community Edition
 Quickly connect people, data, and systems into organized workflows
 Winner of BOSSIE, CODIE, OW2 and Gartner awards
 http://p.sf.net/sfu/Bonitasoft
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users



--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Job keeps waiting on storage daemon

2014-06-27 Thread altiris
I have checked the config files and there appears to be no 127.0.0.1 entries in 
them.

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



--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Job keeps waiting on storage daemon

2014-06-24 Thread altiris
I think the problem I am having is that the directory is not being able to 
connect to the storage daemons for some odd reason. I went into the bconsole 
tool (/usr/sbin/bconsole) and typed status and selected Storage, the bconsole 
would hang at Connecting to Storage daemon Game Servers at 
mycomputer.mydomain.com:9103 where mycomputer and mydomain were replaced with 
their respective names. I have checked if the port 9103 is open and it is, my 
fqdn returns the name that the director is trying to connect to (listed above). 
I dont understand why this happening, it used to work fine.

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



--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job keeps waiting on storage daemon

2014-06-24 Thread John Drescher
On Tue, Jun 24, 2014 at 9:18 PM, altiris bacula-fo...@backupcentral.com wrote:
 I think the problem I am having is that the directory is not being able to 
 connect to the storage daemons for some odd reason. I went into the bconsole 
 tool (/usr/sbin/bconsole) and typed status and selected Storage, the 
 bconsole would hang at Connecting to Storage daemon Game Servers at 
 mycomputer.mydomain.com:9103 where mycomputer and mydomain were replaced 
 with their respective names. I have checked if the port 9103 is open and it 
 is, my fqdn returns the name that the director is trying to connect to 
 (listed above). I dont understand why this happening, it used to work fine.

Make sure you do not have 127.0.0.1 or localhost in any of your bacula
configuration files.

John

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job keeps waiting on storage daemon

2014-06-20 Thread John Drescher
On Thu, Jun 19, 2014 at 10:51 PM, altiris
bacula-fo...@backupcentral.com wrote:
 Well...I already know I am doing multiple things wrong. I just made a new 
 daemon for each storage device, if I added a new storage device I would add a 
 new storage daemon and make them match such as the Media type name. I have 
 the two storage daemons on the same IP address and same port. This is all 
 being done on one machine. What confuses me though is even with just having 
 one backup job enabled and trying to run it I get that same error message as 
 when having two backup jobs enabled with only one job going.

That is because the second daemon fails to run.

John

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Job keeps waiting on storage daemon

2014-06-19 Thread altiris
I think I am understanding better, but as you said Also there is nothing 
stopping you from having more than 1 storage
device with volumes on the same filesystem.  I have actually made everything 
separate per job, so separate volume pool, storage device and daemon (as you 
can see in the OP)because to me this makes it easier for things to be organized 
and track down future errors (while it seems this is causing problems?) but I 
am still getting problems. I have removed the entire second job from my config 
files and now even with the one backup job I am getting a status from the 
director that is waiting on the Storage Daemon Game_Servers why is it doing 
this, this is the only backup job that is currently enabled and set to run.

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



--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job keeps waiting on storage daemon

2014-06-19 Thread John Drescher
On Thu, Jun 19, 2014 at 10:19 PM, altiris
bacula-fo...@backupcentral.com wrote:
 I think I am understanding better, but as you said Also there is nothing 
 stopping you from having more than 1 storage
 device with volumes on the same filesystem.  I have actually made everything 
 separate per job, so separate volume pool, storage device and daemon (as you 
 can see in the OP)because to me this makes it easier for things to be 
 organized and track down future errors (while it seems this is causing 
 problems?) but I am still getting problems. I have removed the entire second 
 job from my config files and now even with the one backup job I am getting a 
 status from the director that is waiting on the Storage Daemon Game_Servers   
   why is it doing this, this is the only backup job that is currently enabled 
 and set to run.

This sounds complicated. How did you create a new daemon for each SD?
You do you have each on a different port? Or using a VM? You can not
have more than 1 storage daemon listening at the same ipaddress and
port.

John

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Job keeps waiting on storage daemon

2014-06-19 Thread altiris
Well...I already know I am doing multiple things wrong. I just made a new 
daemon for each storage device, if I added a new storage device I would add a 
new storage daemon and make them match such as the Media type name. I have the 
two storage daemons on the same IP address and same port. This is all being 
done on one machine. What confuses me though is even with just having one 
backup job enabled and trying to run it I get that same error message as when 
having two backup jobs enabled with only one job going.

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



--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Job keeps waiting on storage daemon

2014-06-17 Thread altiris
I have been trying to setup bacula so that it will perform 2 backup jobs. One 
to backup a folder in a user's home folder and another to backup an entire 
partition. Each time I try to run one of the two backup jobs (via webmin) it 
says it has started but when I go to the director status it outputs 
BackupGame_Servers   114 Incremental is waiting on Storage 
Game_Servers. Where BackupGame_Servers is the job name, 114 I believe is the 
job number, Incremental is the type of backup, and Storage Game_Servers is the 
Storage Daemon it is using. When i try to run the other backup job I also get a 
is waiting on Storage daemon _. The backups are set to be stored on on 
separate partition and in separate folders in that partition. I don't see why 
this is doing this. I use a different storage device, storage daemon, volume 
pool, and backup schedule to keep everything organized. I posted my config 
files to better show/explain and eliminate the possibilities of errors.


Backup job A (BackupGame_Servers)

/etc/bacula/bacula-dir.conf
Client {
  Name = bacula-server1
  Password = mypasswordhere
  Address = sysdomain.server1.com
  FDPort = 9102
  Catalog = MyCatalog
  File Retention = 30 days
  Job Retention = 6 months
}
FileSet {
  Name = Game_Servers
  Include {
File = /home/games/Servers
Options {
  signature = MD5
}
  }
}
Storage {
  Name = Game_Servers
  Password = mypasswordhere
  Address = sysdomain.server1.com
  SDPort = 9103
  Device = Game_Servers_Backup
  Media Type = GameServerBackup
  Maximum Concurrent Jobs = 20
}
Job {
  Name = BackupGame_Servers
  Type = Backup
  Client = bacula-server1
  FileSet = Game_Servers
  Schedule = WeeklyCycle_Daily
  Storage = Game_Servers
  Pool = File_Game_Servers
  Messages = Standard
  Level = Incremental
}
Job {
  Name = RestoreGame_Servers
  Type = Restore
  Client = bacula-server1
  FileSet = Game_Servers
  Storage = Game_Servers
  Pool = File_Game_Servers
  Messages = Standard
}
Schedule {
  Name = WeeklyCycle_Daily
  Run = Level=Incremental Pool=File_Game_Servers sun-sat at 2:00
}
Pool {
  Name = File_Game_Servers
  Pool Type = Backup
  Volume Retention = 365 days
  Recycle = yes
  Au
toPrune = yes
}

Schedule {
  Name = WeeklyCycle_Daily
  Run = Level=Incremental Pool=File_Game_Servers sun-sat at 2:00
}

/etc/bacula/bacula-sd.conf
Device {
  Name = Game_Servers_Backup
  Archive Device = /media/496GB_Filesystem/Backups/server1/Game_Servers_Backups
  Media Type = GameServerBackup
  Device Type = File
  Random Access = yes
  AutomaticMount = yes
  RemovableMedia = no
  AlwaysOpen = no
  LabelMedia = yes
}


Backup Job B (BackupRoot)


/etc/bacula/bacula-dir.conf
FileSet {
  Name = Root
  Include {
File = /
Options {
  signature = MD5
}
  }
  Exclude {
File = /tmp
File = /media
  }
}
Pool {
  Name = File_Root
  Pool Type = Backup
  Volume Retention = 365 days
  Recycle = yes
  AutoPrune = yes
}
Storage {
  Name = Root
  Password = mypasswordhere
  Address = sysdomain.server1.com
  SDPort = 9103
  Device = Root_Backup
  Media Type = RootBackup
  Maximum Concurrent Jobs = 20
}
Job {
  Name = BackupRoot
  Type = Backup
  Level = Incremental
  Client = bacula-server1
  FileSet = Root
  Schedule = WeeklyCycle_Sundays
  Storage = Root
  Pool = File_Root
  Messages = Standard
  Enabled = No
}

Schedule {
  Name = WeeklyCycle_Sundays
  Run = Level=Incremental Pool=File_Root 1st-5th mon at 2:00
}

/etc/bacula/bacula-sd.conf

Device {
  Name = Root_Backup
  Archive Device = /media/496GB_Filesystem/Backups/server1/Full_System_Backups
  Media Type = RootBackup
  LabelMedia = yes
  Random Access = yes
  AutomaticMount = yes
  RemovableMedia = no
  AlwaysOpen = no
}

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



--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job keeps waiting on storage daemon

2014-06-17 Thread John Drescher
On Mon, Jun 16, 2014 at 12:32 PM, altiris
bacula-fo...@backupcentral.com wrote:
 I have been trying to setup bacula so that it will perform 2 backup jobs. One 
 to backup a folder in a user's home folder and another to backup an entire 
 partition. Each time I try to run one of the two backup jobs (via webmin) it 
 says it has started but when I go to the director status it outputs 
 BackupGame_Servers   114 Incremental is waiting on Storage 
 Game_Servers. Where BackupGame_Servers is the job name, 114 I believe is the 
 job number, Incremental is the type of backup, and Storage Game_Servers is 
 the Storage Daemon it is using. When i try to run the other backup job I also 
 get a is waiting on Storage daemon _. The backups are set to be stored 
 on on separate partition and in separate folders in that partition. I don't 
 see why this is doing this. I use a different storage device, storage daemon, 
 volume pool, and backup schedule to keep everything organized. I posted my 
 config files to better show/explain and eliminate the possibilities of errors.


Remember that a disk device acts just like a tape drive meaning that
for a single device you can not load 2 volumes at the same time. If
you want more than 1 job to run you need more than 1 storage device.
If you plan on adding additional clients and want them to run more
simultaneous jobs I recommend that you search the archives for bacula
vchanger. This will make disk storage work like a virtual tape
autochanger with multiple drives so you can have concurrency.

John

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Job keeps waiting on storage daemon

2014-06-17 Thread altiris
Thank you John. So just to be sure, I can only perform one job on each storage 
device. In this case, I can only perform one backup on the partition in my HDD? 
Even if the jobs are to set to be performed at different times, I still can't 
perform more than one job?

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



--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job keeps waiting on storage daemon

2014-06-17 Thread John Drescher
 Thank you John. So just to be sure, I can only perform one job on each 
 storage device. In this case, I can only perform one backup on the partition 
 in my HDD? Even if the jobs are to set to be performed at different times, I 
 still can't perform more than one job?


No you can run multiple jobs to the same device at the same time. The
jobs however have to go to the same volume so the same pool. A storage
device can only access 1 volume at a time.

Also this has nothing to do with your filesystem or partition. You can
and are expected to have more than 1 volume on your filesystem.

John

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job keeps waiting on storage daemon

2014-06-17 Thread John Drescher
On Tue, Jun 17, 2014 at 11:57 PM, John Drescher dresche...@gmail.com wrote:
 Thank you John. So just to be sure, I can only perform one job on each 
 storage device. In this case, I can only perform one backup on the partition 
 in my HDD? Even if the jobs are to set to be performed at different times, I 
 still can't perform more than one job?


 No you can run multiple jobs to the same device at the same time. The
 jobs however have to go to the same volume so the same pool. A storage
 device can only access 1 volume at a time.

 Also this has nothing to do with your filesystem or partition. You can
 and are expected to have more than 1 volume on your filesystem.

Also there is nothing stopping you from having more than 1 storage
device with volumes on the same filesystem.

John

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users