Bacula-users

[Bacula-users] bacula Help!!!

2016-07-25 10:09:43
Subject: [Bacula-users] bacula Help!!!
From: nirvana <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 25 Jul 2016 07:08:46 -0700
annex the information, I do not understand why the volumes remain in state then 
it used that records a backup. please help.

For Bacula release 7.4.1 (02 May 2016) -- debian 8.5 

Director {
  Name = srvbacula-dir
  DIRport = 9101
  QueryFile = "/etc/bacula/query.sql"
  WorkingDirectory = "/opt/bacula/working"
  PidDirectory = "/var/run"
  Maximum Concurrent Jobs = 20
  Password = "1234"
  Messages = Standard
  DirAddress = 192.90.90.97
}
Storage {
  Name = MSL2024
  Address = 192.90.90.97
  SDPort = 9103
  Password = "1234"
  Device = Autochanger
  Media Type = LTO-6
  Autochanger = yes
  Maximum Concurrent Jobs = 20
}
Catalog {
  Name = MyCatalog
  dbname = "bacula";
  dbuser = "bacula";
  dbpassword = "1234"
}
Console {
  Name = srvbacula-mon
  Password = "caronica.123"
  CommandACL = status, .status
}
Pool {
  Name = FullPool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 3 years
  Maximum Volumes = 100
  Maximum Volume Jobs = 50
  }
Pool {
  Name = DifPool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 6 months
  Maximum Volumes = 100
  Maximum Volume Jobs = 50
}
Pool {
  Name = IncrPool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 3 months
  Maximum Volumes = 100
  Maximum Volume Jobs = 50
}
Pool {
  Name = AixPool
  Pool Type = Backup
  Maximum Volume Jobs = 50
  Volume Retention = 3 years
  Recycle = yes
  AutoPrune = yes
}
Client {
  Name = srvserfinca-fd
  Address = 192.90.90.74
  FDPort = 9102
  Catalog = MyCatalog
  Password = "caronica.123"
  File Retention = 30 days
  Job Retention = 6 months
  AutoPrune = yes
}
FileSet {
  Name = srvserfinca-file
  Include {
    File = C:/grpwise
    File = C:/certificado
    File = C:/certs
    File = "C:/correos rosaba"
    File = C:/gwsystem
    File = C:/inetpub
    File = C:/Novell
    Options {
  signature = MD5
  Compression = GZIP9
    }
  }
}
Job {
  Name = "srvserfinca-job"
  Client = srvserfinca-fd
  FileSet = "srvserfinca-file"
  Schedule = "srvserfinca-sch"
  Write Bootstrap = "/opt/bacula/working/srvserfinca.bsr"
  Full Backup Pool = FullPool
  Differential Backup Pool = DifPool
  Incremental Backup Pool = IncrPool
  Storage = MSL2024
  Type = Backup
  Level = Full
  Pool = IncrPool
  Priority = 10
  Messages = Standard
  SpoolData = yes
}
Schedule {
  Name = srvserfinca-sch
  Run = Level=Full Pool=FullPool 1st sun at 00:00
  Run = Level=Differential Pool=DifPool 2nd-5th sun at 00:00
  Run = Level=Incremental Pool=IncrPool mon-sat at 00:00
}

bacula-sd.conf

Storage {
  Name = srvbacula-sd
  SDPort = 9103
  Pid Directory = "/var/run"
  WorkingDirectory = "/opt/bacula/working"
  Maximum Concurrent Jobs = 100
  Maximum Concurrent Jobs = 20
  SDAddress = 192.90.90.97
}
Director {
  Name = srvbacula-dir
  Password = "1234"
}
Director {
  Name = srvbacula-mon
  Password = "1234"
  Monitor = yes
}
Autochanger {
  Name = Autochanger
  Device = Drive-0
  Device = Drive-1
  Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/changer
}
Device {
  Name = Drive-0
  Drive Index = 0
  Media Type = LTO-6
  Archive Device = /dev/nst0
  LabelMedia = yes;
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  Random Access = no;
  Autochanger = yes;
# Maximum Spool Size = 50G
}

Device {
  Name = Drive-1
  Drive Index = 1
  Media Type = LTO-6
  Archive Device = /dev/nst1
  LabelMedia = yes;
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  Random Access = no;
  Autochanger = yes;
#  Maximum Spool Size = 50G
}

Messages {
  Name = Standard
  director = srvbacula-dir = all
}


*list media
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Pool: Default
+---------+------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes      | VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         | 
ExpiresIn  |
+---------+------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+------------+
|      11 | VXS011L6   | Append    |       1 | 3,058,836,480 |       10 |   
31,536,000 |       1 |   11 |         1 | LTO-6     | 2016-07-24 23:13:42 | 
31,496,635 |
|      12 | VXS012L6   | Append    |       1 |        64,512 |        0 |   
31,536,000 |       1 |   12 |         1 | LTO-6     | NULL                | 
NULL       |
|      13 | VXS013L6   | Append    |       1 |        64,512 |        0 |   
31,536,000 |       1 |   13 |         1 | LTO-6     | NULL                | 
NULL       |
+---------+------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+------------+
Pool: FullPool
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes       | VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         | 
ExpiresIn  |
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+------------+
|       1 | VXS001L6   | Append    |       1 | 35,509,469,184 |       65 |   
94,608,000 |       1 |    1 |         1 | LTO-6     | 2016-07-25 08:58:20 | 
94,603,713 |
|       2 | VXS002L6   | Append    |       1 |    206,825,472 |       91 |   
94,608,000 |       1 |    2 |         1 | LTO-6     | 2016-07-24 18:18:58 | 
94,550,951 |
|       3 | VXS003L6   | Append    |       1 |    292,561,920 |        3 |   
94,608,000 |       1 |    3 |         1 | LTO-6     | 2016-07-24 18:40:34 | 
94,552,247 |
|       4 | VXS004L6   | Used      |       1 |    295,916,544 |        2 |   
94,608,000 |       1 |    4 |         1 | LTO-6     | 2016-07-24 18:54:47 | 
94,553,100 |
|       5 | VXS005L6   | Append    |       1 |    418,876,416 |        2 |   
94,608,000 |       1 |    5 |         1 | LTO-6     | 2016-07-24 19:07:26 | 
94,553,859 |
|       6 | VXS006L6   | Append    |       1 |              0 |        0 |   
94,608,000 |       1 |    6 |         1 | LTO-6     | NULL                | 
NULL       |
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+------------+
Pool: DifPool
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes       | VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         | 
ExpiresIn  |
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+------------+
|      14 | VXS014L6   | Append    |       1 | 13,228,959,744 |       27 |   
15,552,000 |       1 |   14 |         1 | LTO-6     | 2016-07-20 07:49:56 | 
15,111,609 |
|      15 | VXS015L6   | Append    |       1 |     61,415,424 |        1 |   
15,552,000 |       1 |   15 |         1 | LTO-6     | 2016-07-21 10:14:47 | 
15,206,700 |
|      16 | VXS016L6   | Append    |       1 |     94,608,000 |        1 |   
15,552,000 |       1 |   16 |         1 | LTO-6     | 2016-07-24 00:08:04 | 
15,429,497 |
|      17 | VXS017L6   | Append    |       1 |     55,480,320 |        1 |   
15,552,000 |       1 |   17 |         1 | LTO-6     | 2016-07-24 00:03:44 | 
15,429,237 |
+---------+------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+------------+
Pool: IncrPool
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+-----------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten         | 
ExpiresIn |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+-----------+
|       7 | VXS007L6   | Used      |       1 |  129,024 |        2 |    
7,776,000 |       1 |    7 |         1 | LTO-6     | 2016-07-25 00:03:01 | 
7,739,594 |
|       8 | VXS008L6   | Used      |       1 |  129,024 |        1 |    
7,776,000 |       1 |    8 |         1 | LTO-6     | 2016-07-25 07:54:29 | 
7,767,882 |
|       9 | VXS009L6   | Used      |       1 |   64,512 |        2 |    
7,776,000 |       1 |    9 |         1 | LTO-6     | 2016-07-25 00:13:47 | 
7,740,240 |
|      10 | VXS010L6   | Append    |       1 |        0 |        0 |    
7,776,000 |       1 |   10 |         1 | LTO-6     | NULL                | NULL 
     |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+-----------+
Pool: AixPool
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+-------------+-----------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | ExpiresIn 
|
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+-------------+-----------+
|      18 | VXS018L6   | Append    |       1 |   64,512 |        0 |   
94,608,000 |       1 |   18 |         1 | LTO-6     | NULL        | NULL      |
|      19 | VXS019L6   | Append    |       1 |   64,512 |        0 |   
94,608,000 |       1 |   19 |         1 | LTO-6     | NULL        | NULL      |
|      20 | VXS020L6   | Append    |       1 |   64,512 |        0 |   
94,608,000 |       1 |   20 |         1 | LTO-6     | NULL        | NULL      |
|      21 | VXS021L6   | Append    |       1 |   64,512 |        0 |   
94,608,000 |       1 |   21 |         1 | LTO-6     | NULL        | NULL      |
|      22 | VXS022L6   | Append    |       1 |   64,512 |        0 |   
94,608,000 |       1 |   22 |         1 | LTO-6     | NULL        | NULL      |
|      23 | VXS023L6   | Append    |       1 |   64,512 |        0 |   
94,608,000 |       1 |   23 |         1 | LTO-6     | NULL        | NULL      |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+-------------+-----------+


*update slot
Using Catalog "MyCatalog"
Storage resource "slot": not found
Automatically selected Storage: MSL2024
Enter autochanger drive[0]: 0
Connecting to Storage daemon MSL2024 at 192.90.90.97:9103 ...
3306 Issuing autochanger "slots" command.
Device "Autochanger" has 24 slots.
Connecting to Storage daemon MSL2024 at 192.90.90.97:9103 ...
3306 Issuing autochanger "list" command.
Catalog record for Volume "VXS001L6" is up to date.
Catalog record for Volume "VXS002L6" is up to date.
Catalog record for Volume "VXS003L6" is up to date.
Catalog record for Volume "VXS004L6" is up to date.
Catalog record for Volume "VXS005L6" is up to date.
Catalog record for Volume "VXS006L6" is up to date.
Catalog record for Volume "VXS007L6" is up to date.
Catalog record for Volume "VXS008L6" is up to date.
Catalog record for Volume "VXS009L6" is up to date.
Catalog record for Volume "VXS010L6" is up to date.
Catalog record for Volume "VXS011L6" is up to date.
Catalog record for Volume "VXS012L6" is up to date.
Catalog record for Volume "VXS013L6" is up to date.
Catalog record for Volume "VXS014L6" is up to date.
Catalog record for Volume "VXS015L6" is up to date.
Catalog record for Volume "VXS016L6" is up to date.
Catalog record for Volume "VXS017L6" is up to date.
Catalog record for Volume "VXS018L6" is up to date.
Catalog record for Volume "VXS019L6" is up to date.
Catalog record for Volume "VXS020L6" is up to date.
Catalog record for Volume "VXS021L6" is up to date.
Catalog record for Volume "VXS022L6" is up to date.
Catalog record for Volume "VXS023L6" is up to date.


*list pool
+--------+----------+---------+---------+----------+-------------+
| PoolId | Name     | NumVols | MaxVols | PoolType | LabelFormat |
+--------+----------+---------+---------+----------+-------------+
|      1 | Default  |       3 |     100 | Backup   | *           |
|      2 | FullPool |       6 |     100 | Backup   | *           |
|      3 | DifPool  |       4 |     100 | Backup   | *           |
|      4 | IncrPool |       4 |     100 | Backup   | *           |
|      6 | AixPool  |       6 |       0 | Backup   | *           |
+--------+----------+---------+---------+----------+-------------+

+----------------------------------------------------------------------
|This was sent by nirvana_ve AT hotmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
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>