Bacula-users

Re: [Bacula-users] Two installation problems, btape & bacula-fd

2008-09-01 23:21:26
Subject: Re: [Bacula-users] Two installation problems, btape & bacula-fd
From: Ryan Novosielski <novosirj AT umdnj DOT edu>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 01 Sep 2008 23:21:13 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At one time, Linux specifically recommended that you NOT do this.

Is it still true?

Tyekanyk wrote:
> you can simply add a line in /etc/hosts that looks like the following
> 
> 127.0.0.1 <http://127.0.0.1> youserver youserver.youlocaldomain.local
> 
> I have this configuration for my director (which also is a client of
> course):
> 
>  #Oblivion
> Client {
> Name = oblivion-fd
> Address = oblivion
> FDPort = 9102
> Catalog = MyCatalog
> Password = "xq+Vj4SKaAG04n2czUyitM1tez8YBGuLtii6xHtbYNRi"          #
> password for FileDaemon
> File Retention = 30 days            # 30 days
> Job Retention = 6 months            # six months
> AutoPrune = yes                     # Prune expired Jobs/Files
> }
> 
> and this is my /etc/hosts relevant entries:
> 
> jorixine@oblivion:~$ grep oblivion /etc/hosts
> #[email protected]
> 127.0.0.1 <http://127.0.0.1> elcub0.com.ar <http://elcub0.com.ar> mail
> oblivion
> 192.168.101.2 <http://192.168.101.2> elcub0.com.ar
> <http://elcub0.com.ar> mail oblivion
> 
> hope this help you.
> 
> 
> 
> On Sat, Aug 30, 2008 at 11:35 AM, Jonathan Sachs
> <jhsachs177 AT sbcglobal DOT net <mailto:jhsachs177 AT sbcglobal DOT net>> 
> wrote:
> 
>     I've made some more progress with this, but  I have not quite made
>     it through the guide to the "Client1" job explained the Chapter 9 of
>     the manual.
> 
>     The director's conf file contains the following resources that I can
>     identify with Client1 (with comments omitted for brevity):
> 
> 
>     FileSet {
>       Name = "Full Set"
>       Include {
>         Options {
>           signature = MD5
>         }
>         File = /home/jonathan
>       }
>       Exclude {
>         File = /proc
>         File = /tmp
>         File = /.journal
>         File = /.fsck
>       }
>     }
> 
>     JobDefs {
>       Name = "DefaultJob"
>       Type = Backup
>       Level = Incremental
>       Client = Sonata-Ubuntu-fd
>       FileSet = "Full Set"
>       Schedule = "WeeklyCycle"
>       Storage = File
>       Messages = Standard
>       Pool = Default
>       Priority = 10
>     }
> 
>     Job {
>       Name = "Client1"
>       JobDefs = "DefaultJob"
>       Write Bootstrap = "/var/lib/bacula/Client1.bsr"
>     }
> 
> 
>     ...and the sd file contains this:
> 
> 
>     Device {
>       Name = FileStorage
>       Media Type = File
>       Archive Device = /tmp #/home/bacula
>       LabelMedia = no;       #yes                   # lets Bacula label
>     unlabeled media
>       Random Access = Yes;
>       AutomaticMount = yes;               # when device opened, read it
>       RemovableMedia = no;
>       AlwaysOpen = no;
>     }
> 
> 
>     If I understand this correctly, it should back up the entire
>     contents of my home directory to a file in /tmp, and Bacula will
>     prompt me to enter a label (file name) for the set.
> 
>     When I ran the job I got the following output:
> 
> 
>     *run
>     Automatically selected Catalog: MyCatalog
>     Using Catalog "MyCatalog"
>     A job name must be specified.
>     The defined Job resources are:
>          1: Client1
>          2: BackupCatalog
>          3: RestoreFiles
>     Select Job resource (1-3): 1
>     Run Backup job
>     JobName:  Client1
>     Level:    Incremental
>     Client:   Sonata-Ubuntu-fd
>     FileSet:  Full Set
>     Pool:     Default (From Job resource)
>     Storage:  File (From Job resource)
>     When:     2008-08-30 08:27:58
>     Priority: 10
>     OK to run? (yes/mod/no): y
>     Job queued. JobId=5
>     30-Aug 08:28 Sonata-Ubuntu-dir JobId 5: No prior Full backup Job
>     record found.
>     30-Aug 08:28 Sonata-Ubuntu-dir JobId 5: No prior or suitable Full
>     backup found in catalog. Doing FULL backup.
>     *
>     30-Aug 08:28 Sonata-Ubuntu-dir JobId 5: Start Backup JobId 5,
>     Job=Client1.2008-08-30_08.28.06
>     *
> 
>     Then, after considerable delay:
> 
> 
>     ** (gedit:15893): WARNING **: Failed to create file
>     '/root/.gnome2/gedit/gedit-print-settings.J2LQGU': No such file or
>     directory
>     
> SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
> 
> 
>     What's happening here?
> 
> 
>     I have a couple of other questions which I would like to resolve if
>     I can.
> 
>     First, the Bacula installation package did not give me copies of the
>     startup scripts bacula, bacula-dir, etc.  Perhaps I can find them in
>     the source package (or perhaps not, if they're built during the
>     make).  Is there an easier way to get them?
> 
>     Second, I'm puzzled by John Drescher's reply to my question about IP
>     addresses, which seems to restate the background of the question
>     rather than answer the question.  Again: if 127.0.0.1
>     <http://127.0.0.1> and localhost are not acceptable addresses, how
>     does a user identify his own computer if it does not have a static
>     IP address or a domain name?  (It appears that I do have a static IP
>     address, so this won't affect me, but it still bothers me.  If it
>     can't be done that's a significant limitation, which does not seem
>     to be mentioned anywhere.)
> 
>     -------------------------------------------------------------------------
>     This SF.Net email is sponsored by the Moblin Your Move Developer's
>     challenge
>     Build the coolest Linux based applications with Moblin SDK & win
>     great prizes
>     Grand prize is a trip for two to an Open Source event anywhere in
>     the world
>     http://moblin-contest.org/redirect.php?banner_id=100&url=/
>     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>


- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novosirj AT umdnj DOT edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIvLEpmb+gadEcsb4RAjw+AJ9NWNuyXBm1h2SUIxUPZbLYP7cNbACg2/Zp
nzdB2oTeqQb/NJqU7hSqn+k=
=LdXQ
-----END PGP SIGNATURE-----

Attachment: novosirj.vcf
Description: Vcard

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users