host-config/etc/bacula/bacula-dir.conf gelöscht
This commit is contained in:
parent
da8a48f083
commit
2399896f76
@ -1,389 +0,0 @@
|
|||||||
Director {
|
|
||||||
Name = "bacula-dir"
|
|
||||||
Messages = "Daemon"
|
|
||||||
DirSourceAddress = 192.168.75.18
|
|
||||||
QueryFile = "/etc/bacula/scripts/query.sql"
|
|
||||||
WorkingDirectory = "/var/lib/bacula"
|
|
||||||
PidDirectory = "/run/bacula"
|
|
||||||
MaximumConcurrentJobs = 20
|
|
||||||
Password = "AqBDdsQIToKs5mLh4szqSk99gqLtGTWhB"
|
|
||||||
}
|
|
||||||
Client {
|
|
||||||
Name = "bacula-fd"
|
|
||||||
Address = "127.0.0.1"
|
|
||||||
FdPort = 9102
|
|
||||||
Password = "PBhBm7HlheYWqVaYv6zDCLpSAzVjSc_OB"
|
|
||||||
Catalog = "MyCatalog"
|
|
||||||
FileRetention = 5184000
|
|
||||||
JobRetention = 15552000
|
|
||||||
AutoPrune = yes
|
|
||||||
}
|
|
||||||
Client {
|
|
||||||
Name = "chetney-fd"
|
|
||||||
Description = "PVE-Server"
|
|
||||||
Address = "192.168.75.14"
|
|
||||||
Password = "jDUuW487_5d1J3yVhl821KPIddGhEC4gc"
|
|
||||||
FdStorageAddress = "bacula.ostrach.tld"
|
|
||||||
Catalog = "MyCatalog"
|
|
||||||
}
|
|
||||||
Client {
|
|
||||||
Name = "nott-fd"
|
|
||||||
Description = "Proxmox Server nott"
|
|
||||||
Address = "192.168.75.12"
|
|
||||||
Password = "ovh68gnRPj6I_YqRrW3xbWaNstuiNzKq9"
|
|
||||||
FdStorageAddress = "bacula.ostrach.tld"
|
|
||||||
Catalog = "MyCatalog"
|
|
||||||
}
|
|
||||||
Job {
|
|
||||||
Name = "BackupBacula"
|
|
||||||
Type = "Backup"
|
|
||||||
Level = "Incremental"
|
|
||||||
Storage = "intern"
|
|
||||||
Pool = "Intern"
|
|
||||||
Client = "bacula-fd"
|
|
||||||
Fileset = "Full Set"
|
|
||||||
JobDefs = "DefaultJob"
|
|
||||||
SpoolData = no
|
|
||||||
}
|
|
||||||
Job {
|
|
||||||
Name = "BackupCatalog"
|
|
||||||
Level = "Full"
|
|
||||||
Client = "bacula-fd"
|
|
||||||
Fileset = "Catalog"
|
|
||||||
Schedule = "Jeden 2. Tag"
|
|
||||||
JobDefs = "DefaultJob"
|
|
||||||
WriteBootstrap = "/var/lib/bacula/%n.bsr"
|
|
||||||
Runscript {
|
|
||||||
RunsWhen = "Before"
|
|
||||||
RunsOnClient = no
|
|
||||||
Command = "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog"
|
|
||||||
}
|
|
||||||
Runscript {
|
|
||||||
RunsWhen = "After"
|
|
||||||
RunsOnClient = no
|
|
||||||
Command = "/etc/bacula/scripts/delete_catalog_backup"
|
|
||||||
}
|
|
||||||
Priority = 11
|
|
||||||
}
|
|
||||||
Job {
|
|
||||||
Name = "CHETNEY_Proxmox-Config"
|
|
||||||
Type = "Backup"
|
|
||||||
Level = "Full"
|
|
||||||
Messages = "Standard"
|
|
||||||
Storage = "intern"
|
|
||||||
Pool = "Intern"
|
|
||||||
Client = "chetney-fd"
|
|
||||||
Fileset = "PVE-Server_Config"
|
|
||||||
Schedule = "Jeden 2. Tag"
|
|
||||||
JobDefs = "DefaultJob"
|
|
||||||
}
|
|
||||||
Job {
|
|
||||||
Name = "Intern_BackupCatalog"
|
|
||||||
Level = "Full"
|
|
||||||
Storage = "intern"
|
|
||||||
Pool = "Intern"
|
|
||||||
Client = "bacula-fd"
|
|
||||||
Fileset = "Catalog"
|
|
||||||
Schedule = "Jeden 2. Tag"
|
|
||||||
JobDefs = "DefaultJob"
|
|
||||||
WriteBootstrap = "/var/lib/bacula/%n.bsr"
|
|
||||||
Runscript {
|
|
||||||
RunsWhen = "Before"
|
|
||||||
RunsOnClient = no
|
|
||||||
Command = "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog"
|
|
||||||
}
|
|
||||||
Runscript {
|
|
||||||
RunsWhen = "After"
|
|
||||||
RunsOnClient = no
|
|
||||||
Command = "/etc/bacula/scripts/delete_catalog_backup"
|
|
||||||
}
|
|
||||||
Priority = 11
|
|
||||||
}
|
|
||||||
Job {
|
|
||||||
Name = "NAS01_Komplettsicherung"
|
|
||||||
Type = "Backup"
|
|
||||||
Level = "Full"
|
|
||||||
Messages = "Standard"
|
|
||||||
Storage = "vchanger-1"
|
|
||||||
Pool = "Extern"
|
|
||||||
Client = "bacula-fd"
|
|
||||||
Fileset = "NAS01_Komplettsicherung"
|
|
||||||
JobDefs = "DefaultJob"
|
|
||||||
Runscript {
|
|
||||||
RunsWhen = "After"
|
|
||||||
FailJobOnError = no
|
|
||||||
RunsOnClient = no
|
|
||||||
Command = "/etc/bacula/scripts/bvfs.sh %i"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Job {
|
|
||||||
Name = "NOTT_Proxmox-Config"
|
|
||||||
Type = "Backup"
|
|
||||||
Level = "Full"
|
|
||||||
Messages = "Standard"
|
|
||||||
Storage = "intern"
|
|
||||||
Pool = "Intern"
|
|
||||||
Client = "nott-fd"
|
|
||||||
Fileset = "PVE-Server_Config"
|
|
||||||
Schedule = "Jeden 2. Tag"
|
|
||||||
JobDefs = "DefaultJob"
|
|
||||||
}
|
|
||||||
Job {
|
|
||||||
Name = "RestoreJob"
|
|
||||||
Type = "Restore"
|
|
||||||
Storage = "intern"
|
|
||||||
Pool = "Default"
|
|
||||||
Client = "bacula-fd"
|
|
||||||
Fileset = "Catalog"
|
|
||||||
JobDefs = "RestoreJob"
|
|
||||||
}
|
|
||||||
Job {
|
|
||||||
Name = "bacula_LVM_root_Backup"
|
|
||||||
Description = "Snapshot des Backupservers, ohne Swap"
|
|
||||||
Type = "Backup"
|
|
||||||
Level = "Full"
|
|
||||||
Messages = "Standard"
|
|
||||||
Storage = "intern"
|
|
||||||
Pool = "Intern"
|
|
||||||
Client = "bacula-fd"
|
|
||||||
Fileset = "bacula_LVM"
|
|
||||||
JobDefs = "DefaultJob"
|
|
||||||
SpoolData = no
|
|
||||||
Runscript {
|
|
||||||
RunsWhen = "Before"
|
|
||||||
RunsOnClient = no
|
|
||||||
Command = "sudo /etc/bacula/scripts/LVM_backup.sh mount"
|
|
||||||
}
|
|
||||||
Runscript {
|
|
||||||
RunsWhen = "After"
|
|
||||||
RunsOnClient = no
|
|
||||||
Command = "sudo /etc/bacula/scripts/LVM_backup.sh umount"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Storage {
|
|
||||||
Name = "intern"
|
|
||||||
Description = "Interne 1TB SSD"
|
|
||||||
SdPort = 9103
|
|
||||||
Address = "127.0.0.1"
|
|
||||||
Password = "0FbHFYHuylTaTUB9p4ruim8RmBe8u9lmB"
|
|
||||||
Device = "intern"
|
|
||||||
MediaType = "File"
|
|
||||||
MaximumConcurrentJobs = 20
|
|
||||||
}
|
|
||||||
Storage {
|
|
||||||
Name = "vchanger-1"
|
|
||||||
SdPort = 9103
|
|
||||||
Address = "127.0.0.1"
|
|
||||||
Password = "0FbHFYHuylTaTUB9p4ruim8RmBe8u9lmB"
|
|
||||||
Device = "usb-vchanger-1"
|
|
||||||
MediaType = "File"
|
|
||||||
Autochanger = "vchanger-1"
|
|
||||||
MaximumConcurrentJobs = 20
|
|
||||||
}
|
|
||||||
Catalog {
|
|
||||||
Name = "MyCatalog"
|
|
||||||
Address = "127.0.0.1"
|
|
||||||
Password = "bacula"
|
|
||||||
User = "bacula"
|
|
||||||
DbName = "bacula"
|
|
||||||
}
|
|
||||||
Schedule {
|
|
||||||
Name = "Daily_12-00h"
|
|
||||||
Run = at 12:00
|
|
||||||
}
|
|
||||||
Schedule {
|
|
||||||
Name = "Jeden 2. Tag"
|
|
||||||
Run = tue,thu,sat at 22:00
|
|
||||||
}
|
|
||||||
Schedule {
|
|
||||||
Name = "WeeklyCycle"
|
|
||||||
Run = fri at 22:00
|
|
||||||
}
|
|
||||||
Schedule {
|
|
||||||
Name = "WeeklyCycleAfterBackup"
|
|
||||||
Run = Level="Full" sat at 23:10
|
|
||||||
}
|
|
||||||
Schedule {
|
|
||||||
Name = "Yearly"
|
|
||||||
Run = at 12:00
|
|
||||||
}
|
|
||||||
Fileset {
|
|
||||||
Name = "Catalog"
|
|
||||||
Include {
|
|
||||||
File = "/var/lib/bacula/bacula.sql"
|
|
||||||
File = "/etc"
|
|
||||||
Options {
|
|
||||||
Signature = "Md5"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Fileset {
|
|
||||||
Name = "Full Set"
|
|
||||||
Include {
|
|
||||||
File = "/"
|
|
||||||
File = "/boot/"
|
|
||||||
Options {
|
|
||||||
Signature = "Md5"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Exclude {
|
|
||||||
File = "/var/lib/bacula"
|
|
||||||
File = "/mnt"
|
|
||||||
File = "/proc"
|
|
||||||
File = "/tmp"
|
|
||||||
File = "/sys"
|
|
||||||
File = "/.journal"
|
|
||||||
File = "/.fsck"
|
|
||||||
File = "/var/spool/vchanger"
|
|
||||||
File = "/intern"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Fileset {
|
|
||||||
Name = "NAS01_Critial_Role_Complete"
|
|
||||||
EnableVss = no
|
|
||||||
Include {
|
|
||||||
File = "/mnt/cifs/nas01/video2/publik/Critcal Role"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Fileset {
|
|
||||||
Name = "NAS01_Komplettsicherung"
|
|
||||||
Description = "Alle wichtigen Daten, ohne z.B. Filme oder Torrents"
|
|
||||||
EnableVss = no
|
|
||||||
Include {
|
|
||||||
File = "/mnt/cifs/nas01/daten/"
|
|
||||||
File = "/mnt/cifs/nas01/safe/"
|
|
||||||
File = "/mnt/cifs/nas01/musik/"
|
|
||||||
File = "/mnt/cifs/nas01/books/"
|
|
||||||
File = "/mnt/cifs/nas01/video2/privat/"
|
|
||||||
File = "/mnt/cifs/nas01/video2/publik/Critcal Role/"
|
|
||||||
File = "/mnt/cifs/nas01/volume2/Syncthing"
|
|
||||||
}
|
|
||||||
Exclude {
|
|
||||||
File = "/mnt/cifs/nas01/daten/NextcloudSpeicher"
|
|
||||||
File = "/mnt/cifs/nas01/daten/VirtualDisks"
|
|
||||||
File = "/mnt/cifs/nas01/daten/portabel"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
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/"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Fileset {
|
|
||||||
Name = "NAS01_divers"
|
|
||||||
EnableVss = no
|
|
||||||
Include {
|
|
||||||
File = "/mnt/cifs/nas01/books/"
|
|
||||||
File = "/mnt/cifs/nas01/secret/"
|
|
||||||
File = "/mnt/cifs/nas01/video2/privat/"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Fileset {
|
|
||||||
Name = "PVE-Server_Config"
|
|
||||||
EnableVss = no
|
|
||||||
Include {
|
|
||||||
File = "/etc/bacula"
|
|
||||||
File = "/etc/pve/"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Fileset {
|
|
||||||
Name = "WindowsClient_Userdata"
|
|
||||||
Include {
|
|
||||||
File = "C:/Users"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Fileset {
|
|
||||||
Name = "bacula_LVM"
|
|
||||||
EnableVss = no
|
|
||||||
Include {
|
|
||||||
File = "/mnt/snap"
|
|
||||||
Options {
|
|
||||||
OneFs = "No"
|
|
||||||
Sparse = "Yes"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Pool {
|
|
||||||
Name = "Default"
|
|
||||||
PoolType = "Backup"
|
|
||||||
MaximumVolumes = 20
|
|
||||||
MaximumVolumeBytes = 1000000000000
|
|
||||||
VolumeRetention = 31536000
|
|
||||||
AutoPrune = yes
|
|
||||||
Recycle = yes
|
|
||||||
}
|
|
||||||
Pool {
|
|
||||||
Name = "Extern"
|
|
||||||
PoolType = "Backup"
|
|
||||||
LabelFormat = "OstrachNET"
|
|
||||||
PurgeOldestVolume = yes
|
|
||||||
RecycleOldestVolume = yes
|
|
||||||
MaximumVolumeBytes = 1000000000000
|
|
||||||
VolumeRetention = 1209600
|
|
||||||
Storage = "vchanger-1"
|
|
||||||
AutoPrune = yes
|
|
||||||
Recycle = yes
|
|
||||||
}
|
|
||||||
Pool {
|
|
||||||
Name = "Intern"
|
|
||||||
Description = "Interne 1TB SSD"
|
|
||||||
PoolType = "Backup"
|
|
||||||
LabelFormat = "INTERN"
|
|
||||||
PurgeOldestVolume = no
|
|
||||||
RecycleOldestVolume = yes
|
|
||||||
MaximumVolumeBytes = 0
|
|
||||||
VolumeRetention = 604800
|
|
||||||
VolumeUseDuration = 172800
|
|
||||||
Storage = "intern"
|
|
||||||
AutoPrune = yes
|
|
||||||
Recycle = yes
|
|
||||||
}
|
|
||||||
Pool {
|
|
||||||
Name = "Scratch"
|
|
||||||
PoolType = "Backup"
|
|
||||||
}
|
|
||||||
Messages {
|
|
||||||
Name = "Daemon"
|
|
||||||
MailCommand = "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula daemon message\" %r"
|
|
||||||
Mail = root = All, !Debug, !Saved, !Skipped
|
|
||||||
Append = /var/log/bacula/bacula.log = All, !Debug, !Saved, !Skipped
|
|
||||||
Console = All, !Debug, !Saved, !Skipped
|
|
||||||
}
|
|
||||||
Messages {
|
|
||||||
Name = "Standard"
|
|
||||||
MailCommand = "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: %t %e of %c %l\" %r"
|
|
||||||
OperatorCommand = "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: Intervention needed for %j\" %r"
|
|
||||||
Mail = root = All, !Debug, !Saved, !Skipped
|
|
||||||
Append = /var/log/bacula/bacula.log = All, !Debug, !Saved, !Skipped
|
|
||||||
Console = All, !Debug, !Saved, !Skipped
|
|
||||||
Operator = root = Mount
|
|
||||||
Catalog = All, !Debug, !Saved
|
|
||||||
}
|
|
||||||
Console {
|
|
||||||
Name = "bacula-mon"
|
|
||||||
Password = "_7qJzdGPz2h3_BGeXg_qfTI-mGmOdIP4B"
|
|
||||||
CommandAcl = "status"
|
|
||||||
CommandAcl = ".status"
|
|
||||||
}
|
|
||||||
JobDefs {
|
|
||||||
Name = "DefaultJob"
|
|
||||||
Type = "Backup"
|
|
||||||
Level = "Incremental"
|
|
||||||
Messages = "Standard"
|
|
||||||
Storage = "vchanger-1"
|
|
||||||
Pool = "Extern"
|
|
||||||
WriteBootstrap = "/var/lib/bacula/%c.bsr"
|
|
||||||
MaxWaitTime = 172800
|
|
||||||
Priority = 10
|
|
||||||
Accurate = yes
|
|
||||||
}
|
|
||||||
JobDefs {
|
|
||||||
Name = "RestoreJob"
|
|
||||||
Type = "Restore"
|
|
||||||
Messages = "Daemon"
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user