bacula-tools.md hinzugefügt
This commit is contained in:
parent
c090440b7c
commit
3445086dc5
38
bacula-tools.md
Normal file
38
bacula-tools.md
Normal file
@ -0,0 +1,38 @@
|
||||
|
||||
## bscan
|
||||
|
||||
* scannt bestehende bacula backup-dateien und erstellt kataloge vom inhalt
|
||||
|
||||
<code>
|
||||
bscan -c /etc/bacula/bacula-sd.conf -P bacula -h localhost -v -V DIP02-0001 /var/spool/vchanger/vchanger-1/0
|
||||
^ ^ ^ ^ ^
|
||||
| | | | +-- Tapedrive oder hier: vchanger Device
|
||||
| | | +------------- Name des Volumes
|
||||
| | +--------------------------- Datenbank Host
|
||||
| +---------------------------------------- Datenbank Passwort
|
||||
+------------------------------------------------------------------------- Konfigurationsdatei Storage Daemon
|
||||
</code>
|
||||
|
||||
Beispiel:
|
||||
|
||||
<code>
|
||||
bscan -c /etc/bacula/bacula-sd.conf -P bacula -h localhost -v -V DIP02-0001 /var/spool/vchanger/vchanger-1/0
|
||||
bscan: butil.c:292-0 Using device: "/var/spool/vchanger/vchanger-1/0" for reading.
|
||||
25-Jun 23:14 bscan JobId 0: No slot defined in catalog (slot=0) for Volume "DIP02-0001" on "usb-vchanger-1-drive0" (/var/spool/vchanger/vchanger-1/0).
|
||||
25-Jun 23:14 bscan JobId 0: Cartridge change or "update slots" may be required.
|
||||
25-Jun 23:14 bscan JobId 0: Ready to read from volume "DIP02-0001" on File device "usb-vchanger-1-drive0" (/var/spool/vchanger/vchanger-1/0).
|
||||
bscan: bscan.c:323-0 Using Database: bacula, User: bacula
|
||||
bscan: bscan.c:468-0 Pool record for DIP-02 found in DB.
|
||||
bscan: bscan.c:482-0 Pool type "Backup" is OK.
|
||||
bscan: bscan.c:499-0 VOL_LABEL: Media record not found for Volume: DIP02-0001
|
||||
bscan: bscan.c:510-0 Media type "File" is OK.
|
||||
bscan: bscan.c:519-0 VOL_LABEL: OK for Volume: DIP02-0001
|
||||
bscan: bscan.c:542-0 SOS_LABEL: Job record not found for JobId: 0
|
||||
25-Jun 23:16 bscan JobId 0: End of Volume "DIP02-0001" at addr=4475054080 on device "usb-vchanger-1-drive0" (/var/spool/vchanger/vchanger-1/0).
|
||||
bscan: bscan.c:669-0 End of all Volumes. VolFiles=0 VolBlocks=0 VolBytes=4,475,015,453
|
||||
Records would have been added or updated in the catalog:
|
||||
1 Media
|
||||
1 Pool
|
||||
1 Job
|
||||
12813 File
|
||||
</code>
|
Loading…
Reference in New Issue
Block a user