]> git.sur5r.net Git - bacula/bacula/blob - gui/bacula-web/config/config.php
bacula-web: Renamed GetPoolsStatistics() function to CountVolumesByPool() in includes...
[bacula/bacula] / gui / bacula-web / config / config.php
1 <?php
2
3  /* Language
4  en_EN -> English
5  es_ES -> Spanish, Mantained by Juan Luis Francés Jiménez.
6  it_IT -> Italian, Mantained by Gian Domenico Messina (gianni.messina AT c-ict.it).
7  fr_FR -> Frech, Mantained by Morgan LEFIEUX (comete AT daknet.org).
8  de_DE -> German, Mantained by Florian Heigl.
9  */
10  
11  $config['language'] = 'en_EN';
12
13  //MySQL bacula catalog
14  $config[0]['label'] = 'Backup/mysql';
15  $config[0]['host'] = 'localhost';
16  $config[0]['login'] = 'root';
17  $config[0]['password'] = 'p@ssw0rd';
18  $config[0]['db_name'] = 'bacula';
19  $config[0]['db_type'] = 'mysql';
20  $config[0]['db_port'] = '3306';
21  
22   //MySQL bacula catalog
23  $config[1]['label'] = 'Backup/pgsql';
24  $config[1]['host'] = 'localhost';
25  $config[1]['login'] = 'bacula';
26  $config[1]['password'] = 'bacula';
27  $config[1]['db_name'] = 'bacula';
28  $config[1]['db_type'] = 'pgsql';
29  $config[1]['db_port'] = '5432';
30  
31  /* Catalog(s) connection parameters
32  Just copy/paste and modify regarding your configuration
33
34  Example: 
35  
36  //MySQL bacula catalog
37  $config[0]['label'] = 'Backup Server';
38  $config[0]['host'] = 'localhost';
39  $config[0]['login'] = 'bacula';
40  $config[0]['password'] = 'verystrongpassword';
41  $config[0]['db_name'] = 'bacula';
42  $config[0]['db_type'] = 'mysql';
43  $config[0]['db_port'] = '3306';
44
45  // PostgreSQL bacula catalog
46  $config[0]['label'] = 'Prod Server';
47  $config[0]['host'] = 'db-server.domain.com';
48  $config[0]['login'] = 'bacula';
49  $config[0]['password'] = 'otherstrongpassword';
50  $config[0]['db_name'] = 'bacula';
51  $config[0]['db_type'] = 'pgsql';
52  $config[0]['db_port'] = '5432'; 
53  
54  // SQLite bacula catalog
55  $config[0]['label'] = 'Dev backup server';
56  $config[0]['db_path'] = '/path/to/database/db.sdb';
57
58  If you want to configure more than one catalog in Bacula-Web, just copy the first parameters and increment by one the index
59
60   //MySQL bacula catalog
61  $config[1]['label'] = 'Dev backup server';
62  $config[1]['host'] = 'mysql-server.domain.net';
63  $config[1]['login'] = 'bacula';
64  $config[1]['password'] = 'verystrongpassword';
65  $config[1]['db_name'] = 'bacula';
66  $config[1]['db_type'] = 'mysql';
67  $config[1]['db_port'] = '3306';
68  */
69 ?>