bacula dateien

This commit is contained in:
root 2023-10-19 16:05:10 +02:00
parent acf053ad90
commit d193a4b5fd
4 changed files with 100 additions and 95 deletions

View File

@ -26,6 +26,7 @@ Job {
Client = "bacula-fd"
Fileset = "Full Set"
JobDefs = "DefaultJob"
SpoolData = no
}
Job {
Name = "BackupCatalog"
@ -47,7 +48,22 @@ Job {
}
Priority = 11
}
Job {
Name = "Critical Role Complete"
Type = "Backup"
FullBackupPool = "File"
IncrementalBackupPool = "File"
Client = "bacula-fd"
Fileset = "NAS01: Critial Role Complete"
JobDefs = "DefaultJob"
}
Job {
Name = "Wichtige Dateien"
Type = "Backup"
Client = "bacula-fd"
Fileset = "NAS01: Wichtige Dateien"
JobDefs = "DefaultJob"
}
Storage {
Name = "vchanger-1"
SdPort = 9103
@ -58,7 +74,6 @@ Storage {
Autochanger = "vchanger-1"
MaximumConcurrentJobs = 20
}
Catalog {
Name = "MyCatalog"
Address = "127.0.0.1"
@ -105,11 +120,37 @@ Fileset {
File = "/var/spool/vchanger"
}
}
Fileset {
Name = "NAS01: Critial Role Complete"
EnableVss = no
Include {
File = "/mnt/cifs/nas01/video2/publik/Critcal Role"
}
}
Fileset {
Name = "NAS01: Wichtige Dateien"
EnableVss = no
Include {
File = "/mnt/cifs/nas01/daten/3D,CAD,CAM_2021/"
File = "/mnt/cifs/nas01/daten/dokumente/"
File = "/mnt/cifs/nas01/safe/"
File = "/mnt/cifs/nas01/musik/musikbox_priv/"
}
}
Fileset {
Name = "NAS01: divers"
EnableVss = no
Include {
File = "/mnt/cifs/nas01/books/"
File = "/mnt/cifs/nas01/secret/"
File = "/mnt/cifs/nas01/video2/privat/"
}
}
Pool {
Name = "Default"
PoolType = "Backup"
MaximumVolumes = 100
MaximumVolumeBytes = 53687091200
MaximumVolumeBytes = 1000000000000
VolumeRetention = 31536000
AutoPrune = yes
Recycle = yes
@ -117,10 +158,10 @@ Pool {
Pool {
Name = "File"
PoolType = "Backup"
LabelFormat = "Vchanger-1_"
MaximumVolumes = 20
MaximumVolumeBytes = 53687091200
LabelFormat = "OstrachNET"
MaximumVolumeBytes = 1000000000000
VolumeRetention = 31536000
Storage = "vchanger-1"
AutoPrune = yes
Recycle = yes
}
@ -162,3 +203,14 @@ JobDefs {
WriteBootstrap = "/var/lib/bacula/%c.bsr"
Priority = 10
}
Job {
Type = "Backup"
Level = "Full"
Client = "bacula-fd"
Fileset = "NAS01: divers"
Pool = "Default"
Messages = "Standard"
JobDefs = "DefaultJob"
Storage = "vchanger-1"
Name = "NAS01: divers"
}

View File

@ -39,7 +39,7 @@ FileDaemon { # this is me
Pid Directory = /run/bacula
Maximum Concurrent Jobs = 20
Plugin Directory = /usr/lib/bacula
FDAddress = 127.0.0.1
FDAddress = 0.0.0.0
}
# Send all messages except skipped files back to Director

View File

@ -1,90 +1,55 @@
#
# Default Bacula Storage Daemon Configuration file
#
# For Bacula release 9.6.7 (10 December 2020) -- debian bookworm/sid
#
# You may need to change the name of your tape drive
# on the "Archive Device" directive in the Device
# resource. If you change the Name and/or the
# "Media Type" in the Device resource, please ensure
# that dird.conf has corresponding changes.
#
#
# Copyright (C) 2000-2020 Kern Sibbald
# License: BSD 2-Clause; see file LICENSE-FOSS
#
Storage { # definition of myself
Name = bacula-sd
SDPort = 9103 # Director's port
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/run/bacula"
Plugin Directory = "/usr/lib/bacula"
Maximum Concurrent Jobs = 20
SDAddress = 0.0.0.0
}
#
# List Directors who are permitted to contact Storage daemon
#
Director {
Name = bacula-dir
Name = "bacula-dir"
Password = "0FbHFYHuylTaTUB9p4ruim8RmBe8u9lmB"
}
#
# Restricted Director, used by tray-monitor to get the
# status of the storage daemon
#
Director {
Name = bacula-mon
Name = "bacula-mon"
Password = "8918u3WssJA-Dw_5suLTOJxKLq4W-vdaB"
Monitor = yes
}
#
# Note, for a list of additional Device templates please
# see the directory <bacula-source>/examples/devices
# Or follow the following link:
# http://www.bacula.org/git/cgit.cgi/bacula/tree/bacula/examples/devices?h=Branch-7.4
#
#
# Define a Virtual autochanger
# Double-Bay USB 3.0 SATA Adapter
#
Autochanger {
Name = usb-vchanger-1
Device = usb-vchanger-1-drive0, usb-vchanger-1-drive1
Changer Command = "vchanger %c %o %S %a %d"
Changer Device = "/etc/vchanger/vchanger-1.conf"
Storage {
Name = "bacula-sd"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/run/bacula"
PluginDirectory = "/usr/lib/bacula"
MaximumConcurrentJobs = 20
}
Device {
Name = usb-vchanger-1-drive0
Drive Index = 0
Autochanger = yes;
Device Type = File
Media Type = File
Removable Media = no;
Random Access = yes;
Maximum Concurrent Jobs = 1
Archive Device = "/var/spool/vchanger/vchanger-1/0"
Name = "usb-vchanger-1-drive0"
MediaType = "File"
DeviceType = "File"
ArchiveDevice = "/var/spool/vchanger/vchanger-1/0"
RemovableMedia = no
RandomAccess = yes
Autochanger = yes
MaximumConcurrentJobs = 1
DriveIndex = 0
Label Media = yes
Minimum Blocksize = 1M
Maximum Blocksize = 4M
}
Device {
Name = usb-vchanger-1-drive1
Drive Index = 1
Autochanger = yes;
Device Type = File
Media Type = File
Removable Media = no;
Random Access = yes;
Maximum Concurrent Jobs = 1
Archive Device = "/var/spool/vchanger/vchanger-1/1"
Name = "usb-vchanger-1-drive1"
MediaType = "File"
DeviceType = "File"
ArchiveDevice = "/var/spool/vchanger/vchanger-1/1"
RemovableMedia = no
RandomAccess = yes
Autochanger = yes
MaximumConcurrentJobs = 1
DriveIndex = 1
Label Media = yes
Minimum Blocksize = 1M
Maximum Blocksize = 4M
}
Messages {
Name = Standard
director = bacula-dir = all
Name = "Standard"
Director = bacula-dir = All, !Debug, !Saved
}
Autochanger {
Name = "usb-vchanger-1"
Device = "usb-vchanger-1-drive0"
Device = "usb-vchanger-1-drive1"
ChangerDevice = "/etc/vchanger/vchanger-1.conf"
ChangerCommand = "vchanger %c %o %S %a %d"
}

View File

@ -1,12 +0,0 @@
#
# This file has been autogenerated during package installation and
# holds defaults for new Bacula packages installed on this system. It
# is used only when you install a new Bacula package, and can be
# safely removed at any time.
DIRPASSWD=AqBDdsQIToKs5mLh4szqSk99gqLtGTWhB
DIRMPASSWD=_7qJzdGPz2h3_BGeXg_qfTI-mGmOdIP4B
SDPASSWD=0FbHFYHuylTaTUB9p4ruim8RmBe8u9lmB
SDMPASSWD=8918u3WssJA-Dw_5suLTOJxKLq4W-vdaB
FDPASSWD=PBhBm7HlheYWqVaYv6zDCLpSAzVjSc_OB
FDMPASSWD=MxQb81ils2APPrjjzln2jj085hPhWI-JB