Bacula-users

Re: [Bacula-users] unable to backup client to disk manually

2011-01-28 05:35:34
Subject: Re: [Bacula-users] unable to backup client to disk manually
From: Jari Fredriksson <jarif AT iki DOT fi>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 28 Jan 2011 12:32:37 +0200
On 28.1.2011 11:10, Randy Katz wrote:
> On 1/27/2011 7:34 PM, Aclhk Aclhk wrote:
>> i just setup bacula. i am able to backup and restore within the same
>> system but not network client
>>
>> server is ubuntu 32bit and client is debian 64bit. both without firewall
>>
>> the error message:
>> 27-Jan 17:50 ubuntu10x32-test-dir JobId 53: Start Backup JobId 53,
>> Job=debian-fd.2011-01-27_17.50.28_10
>> 27-Jan 17:50 ubuntu10x32-test-dir JobId 53: Using Device "debian-fd"
>> 27-Jan 18:20 ubuntu10x32-test-dir JobId 53: Fatal error: Network error
>> with FD during Backup: ERR=No data available
>> 27-Jan 18:20 ubuntu10x32-test-sd JobId 53: JobId=53
>> Job="debian-fd.2011-01-27_17.50.28_10" marked to be canceled.
>> 27-Jan 18:20 ubuntu10x32-test-dir JobId 53: Fatal error: No Job status
>> returned from FD.
>> 27-Jan 18:20 ubuntu10x32-test-dir JobId 53: Error: Bacula
>> ubuntu10x32-test-dir 5.0.2 (28Apr10): 27-Jan-2011 18:20:00
>>
>> bconsole -> status dir
>> Running Jobs:
>> Console connected at 27-Jan-11 18:24
>> JobId Level Name Status
>> ======================================================================
>> 54 Full debian-fd.2011-01-27_18.24.32_14 is running
>>
>>
>>
>> bacula-dir.conf
>>
>> Director { # define myself
>> Name = ubuntu10x32-test-dir
>> DIRport = 9101 # where we listen for UA connections
>> QueryFile = "/etc/bacula/scripts/query.sql"
>> WorkingDirectory = "/var/lib/bacula"
>> PidDirectory = "/var/run/bacula"
>> Maximum Concurrent Jobs = 20
>> Password = "123456" # Console password
>> Messages = Daemon
>> # DirAddress = 127.0.0.1
>> }
>>
>> Job {
>> Name = debian-fd
>> Type = Backup
>> Level = Full
>> Client = debian-fd
>> FileSet = lin-data
>> Schedule = WeeklyCycle
>> Storage = debian-fd
>> Messages = Standard
>> Pool = debian-fd
>> Priority = 10
>> Write Bootstrap = "/var/lib/bacula/%c.bsr"
>> }
>>
>> FileSet {
>> Name = "lin-data"
>> Include {
>> Options {
>> signature = MD5
>> }
>> File = /root
>> }
>>
>> Exclude {
>> File = /var/lib/bacula
>> File = /nonexistant/path/to/file/archive/dir
>> File = /proc
>> File = /tmp
>> File = /.journal
>> File = /.fsck
>> }
>> }
>>
>> Client {
>> Name = debian-fd
>> Address = 192.168.1.1
>> FDPort = 9102
>> Catalog = MyCatalog
>> Password = "123456" # password for FileDaemon 2
>> File Retention = 30 days # 30 days
>> Job Retention = 6 months # six months
>> AutoPrune = yes # Prune expired Jobs/Files
>> }
>>
>> Storage {
>> Name = debian-fd
>> # Do not use "localhost" here
>> Address = atc243 # N.B. Use a fully qualified name here
>> SDPort = 9103
>> Password = "1pI4vnemfwJClW7lk5jcuIVPxlPPqn363"
>> Device = debian-fd
>> Media Type = File
>> }
>>
>> Pool {
>> Name = debian-fd
>> Pool Type = Backup
>> Recycle = yes # Bacula can automatically recycle Volumes
>> AutoPrune = yes # Prune expired volumes
>> Volume Retention = 365 days # one year
>> Maximum Volume Bytes = 50G # Limit Volume size to something reasonable
>> Maximum Volumes = 100 # Limit number of Volumes in Pool
>> }
>>
>> bacula-sd.conf
>>
>> Storage { # definition of myself
>> Name = ubuntu10x32-test-sd
>> SDPort = 9103 # Director's port
>> WorkingDirectory = "/var/lib/bacula"
>> Pid Directory = "/var/run/bacula"
>> Maximum Concurrent Jobs = 100
>> # SDAddress = 127.0.0.1
>> }
>>
>> Device {
>> Name = debian-fd
>> Media Type = File
>> Archive Device = /tmp/bacula/debian-fd
>> LabelMedia = yes
>> Random Access = yes
>> AutomaticMount = yes
>> RemovableMedia = no
>> AlwaysOpen = no
>> }
>>
>> **** client ****
>> bacula-fd.conf
>>
>> Director {
>> Name = ubuntu10x32-test-dir
>> Password = "123456"
>> }
>>
>> FileDaemon { # this is me
>> Name = debian-fd
>> FDport = 9102 # where we listen for the director
>> WorkingDirectory = /var/lib/bacula
>> Pid Directory = /var/run/bacula
>> Maximum Concurrent Jobs = 20
>> Heartbeat Interval = 15 seconds
>> # FDAddress = 127.0.0.1
>> }
>>
>> pls kindly advise.
>>
>>
> for starters make sure debian is a fully qualified domain name, change
> to ip address to test.
> 

There is no IP adrress defined for Director, Storage, of client. So they
propably use localhost as default, and things can work. They all need a
FQDN address.

-- 

April 1

This is the day upon which we are reminded of what we are on the other three
hundred and sixty-four.
                -- Mark Twain, "Pudd'nhead Wilson's Calendar"

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>