bacula dateien
This commit is contained in:
parent
acf053ad90
commit
d193a4b5fd
@ -26,6 +26,7 @@ Job {
|
|||||||
Client = "bacula-fd"
|
Client = "bacula-fd"
|
||||||
Fileset = "Full Set"
|
Fileset = "Full Set"
|
||||||
JobDefs = "DefaultJob"
|
JobDefs = "DefaultJob"
|
||||||
|
SpoolData = no
|
||||||
}
|
}
|
||||||
Job {
|
Job {
|
||||||
Name = "BackupCatalog"
|
Name = "BackupCatalog"
|
||||||
@ -47,7 +48,22 @@ Job {
|
|||||||
}
|
}
|
||||||
Priority = 11
|
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 {
|
Storage {
|
||||||
Name = "vchanger-1"
|
Name = "vchanger-1"
|
||||||
SdPort = 9103
|
SdPort = 9103
|
||||||
@ -58,7 +74,6 @@ Storage {
|
|||||||
Autochanger = "vchanger-1"
|
Autochanger = "vchanger-1"
|
||||||
MaximumConcurrentJobs = 20
|
MaximumConcurrentJobs = 20
|
||||||
}
|
}
|
||||||
|
|
||||||
Catalog {
|
Catalog {
|
||||||
Name = "MyCatalog"
|
Name = "MyCatalog"
|
||||||
Address = "127.0.0.1"
|
Address = "127.0.0.1"
|
||||||
@ -105,11 +120,37 @@ Fileset {
|
|||||||
File = "/var/spool/vchanger"
|
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 {
|
Pool {
|
||||||
Name = "Default"
|
Name = "Default"
|
||||||
PoolType = "Backup"
|
PoolType = "Backup"
|
||||||
MaximumVolumes = 100
|
MaximumVolumes = 100
|
||||||
MaximumVolumeBytes = 53687091200
|
MaximumVolumeBytes = 1000000000000
|
||||||
VolumeRetention = 31536000
|
VolumeRetention = 31536000
|
||||||
AutoPrune = yes
|
AutoPrune = yes
|
||||||
Recycle = yes
|
Recycle = yes
|
||||||
@ -117,10 +158,10 @@ Pool {
|
|||||||
Pool {
|
Pool {
|
||||||
Name = "File"
|
Name = "File"
|
||||||
PoolType = "Backup"
|
PoolType = "Backup"
|
||||||
LabelFormat = "Vchanger-1_"
|
LabelFormat = "OstrachNET"
|
||||||
MaximumVolumes = 20
|
MaximumVolumeBytes = 1000000000000
|
||||||
MaximumVolumeBytes = 53687091200
|
|
||||||
VolumeRetention = 31536000
|
VolumeRetention = 31536000
|
||||||
|
Storage = "vchanger-1"
|
||||||
AutoPrune = yes
|
AutoPrune = yes
|
||||||
Recycle = yes
|
Recycle = yes
|
||||||
}
|
}
|
||||||
@ -162,3 +203,14 @@ JobDefs {
|
|||||||
WriteBootstrap = "/var/lib/bacula/%c.bsr"
|
WriteBootstrap = "/var/lib/bacula/%c.bsr"
|
||||||
Priority = 10
|
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"
|
||||||
|
}
|
||||||
|
@ -39,7 +39,7 @@ FileDaemon { # this is me
|
|||||||
Pid Directory = /run/bacula
|
Pid Directory = /run/bacula
|
||||||
Maximum Concurrent Jobs = 20
|
Maximum Concurrent Jobs = 20
|
||||||
Plugin Directory = /usr/lib/bacula
|
Plugin Directory = /usr/lib/bacula
|
||||||
FDAddress = 127.0.0.1
|
FDAddress = 0.0.0.0
|
||||||
}
|
}
|
||||||
|
|
||||||
# Send all messages except skipped files back to Director
|
# Send all messages except skipped files back to Director
|
||||||
|
@ -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 {
|
Director {
|
||||||
Name = bacula-dir
|
Name = "bacula-dir"
|
||||||
Password = "0FbHFYHuylTaTUB9p4ruim8RmBe8u9lmB"
|
Password = "0FbHFYHuylTaTUB9p4ruim8RmBe8u9lmB"
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
|
||||||
# Restricted Director, used by tray-monitor to get the
|
|
||||||
# status of the storage daemon
|
|
||||||
#
|
|
||||||
Director {
|
Director {
|
||||||
Name = bacula-mon
|
Name = "bacula-mon"
|
||||||
Password = "8918u3WssJA-Dw_5suLTOJxKLq4W-vdaB"
|
Password = "8918u3WssJA-Dw_5suLTOJxKLq4W-vdaB"
|
||||||
Monitor = yes
|
Monitor = yes
|
||||||
}
|
}
|
||||||
|
Storage {
|
||||||
#
|
Name = "bacula-sd"
|
||||||
# Note, for a list of additional Device templates please
|
WorkingDirectory = "/var/lib/bacula"
|
||||||
# see the directory <bacula-source>/examples/devices
|
PidDirectory = "/run/bacula"
|
||||||
# Or follow the following link:
|
PluginDirectory = "/usr/lib/bacula"
|
||||||
# http://www.bacula.org/git/cgit.cgi/bacula/tree/bacula/examples/devices?h=Branch-7.4
|
MaximumConcurrentJobs = 20
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# 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"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Device {
|
Device {
|
||||||
Name = usb-vchanger-1-drive0
|
Name = "usb-vchanger-1-drive0"
|
||||||
Drive Index = 0
|
MediaType = "File"
|
||||||
Autochanger = yes;
|
DeviceType = "File"
|
||||||
Device Type = File
|
ArchiveDevice = "/var/spool/vchanger/vchanger-1/0"
|
||||||
Media Type = File
|
RemovableMedia = no
|
||||||
Removable Media = no;
|
RandomAccess = yes
|
||||||
Random Access = yes;
|
Autochanger = yes
|
||||||
Maximum Concurrent Jobs = 1
|
MaximumConcurrentJobs = 1
|
||||||
Archive Device = "/var/spool/vchanger/vchanger-1/0"
|
DriveIndex = 0
|
||||||
|
Label Media = yes
|
||||||
|
Minimum Blocksize = 1M
|
||||||
|
Maximum Blocksize = 4M
|
||||||
}
|
}
|
||||||
|
|
||||||
Device {
|
Device {
|
||||||
Name = usb-vchanger-1-drive1
|
Name = "usb-vchanger-1-drive1"
|
||||||
Drive Index = 1
|
MediaType = "File"
|
||||||
Autochanger = yes;
|
DeviceType = "File"
|
||||||
Device Type = File
|
ArchiveDevice = "/var/spool/vchanger/vchanger-1/1"
|
||||||
Media Type = File
|
RemovableMedia = no
|
||||||
Removable Media = no;
|
RandomAccess = yes
|
||||||
Random Access = yes;
|
Autochanger = yes
|
||||||
Maximum Concurrent Jobs = 1
|
MaximumConcurrentJobs = 1
|
||||||
Archive Device = "/var/spool/vchanger/vchanger-1/1"
|
DriveIndex = 1
|
||||||
|
Label Media = yes
|
||||||
|
Minimum Blocksize = 1M
|
||||||
|
Maximum Blocksize = 4M
|
||||||
}
|
}
|
||||||
|
|
||||||
Messages {
|
Messages {
|
||||||
Name = Standard
|
Name = "Standard"
|
||||||
director = bacula-dir = all
|
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"
|
||||||
}
|
}
|
||||||
|
@ -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
|
|
Loading…
x
Reference in New Issue
Block a user