Bacula-users

Re: [Bacula-users] How Bacula gets StorageId ?

2013-04-03 12:10:20
Subject: Re: [Bacula-users] How Bacula gets StorageId ?
From: Radosław Korzeniewski <radoslaw AT korzeniewski DOT net>
To: Bugbear <gryzli.the.bugbear AT gmail DOT com>
Date: Wed, 3 Apr 2013 18:06:48 +0200
Hello,

2013/4/3 Bugbear <gryzli.the.bugbear AT gmail DOT com>
Hello,

Can someone tell me, when Bacula is doing a BACKUP job, where(or how)
the StorageId value (which is added in Media table) is taken from ?


There is a special table for that:

bacula=# \d storage
                               Table "public.storage"
   Column    |  Type   |                          Modifiers
-------------+---------+-------------------------------------------------------------
 storageid   | integer | not null default nextval('storage_storageid_seq'::regclass)
 name        | text    | not null
 autochanger | integer | default 0
Indexes:
    "storage_pkey" PRIMARY KEY, btree (storageid)


best regards
--
Radosław Korzeniewski
radoslaw AT korzeniewski DOT net
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
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>