Make whole scheme way more user friendly

This commit is contained in:
Joe S 2020-11-02 17:09:28 -05:00
parent f10f4a1550
commit f3aeffe324
31 changed files with 471 additions and 567 deletions

View File

@ -1,9 +1,22 @@
@/etc/bacula/clients/director-client.conf
@/etc/bacula/clients/zinc-client.conf
@/etc/bacula/filesets/filesets-users.conf
@/etc/bacula/filesets/filesets-system.conf
@/etc/bacula/filesets/filesets-archive.conf
@/etc/bacula/users/caleb.user.conf
@/etc/bacula/users/evelynn.user.conf
@/etc/bacula/users/mark.user.conf
@/etc/bacula/users/joe.user.conf
@/etc/bacula/users/michael.user.conf
@/etc/bacula/users/matthew.user.conf
@/etc/bacula/users/chris.user.conf
@/etc/bacula/users/christina.user.conf
@/etc/bacula/users/julio.user.conf
@/etc/bacula/users/aidan.user.conf
@/etc/bacula/users/firebn.user.conf
@/etc/bacula/users/travis.user.conf
@/etc/bacula/users/zach.user.conf
@/etc/bacula/other/system.conf
@/etc/bacula/other/archive.conf
@/etc/bacula/schedules.conf
@/etc/bacula/pools.conf
@ -89,100 +102,15 @@ Job { # This job should release the tape once finished
FileSet = "Catalog"
}
messages { # Send mail just to me
name = JoesMail
mail = kenwood364@gmail.com = all, !skipped
console = all, !skipped, !saved
catalog = all
}
messages { # Send mail to me and dad
name = MarksMail
#mail = mws03@comcast.net,kenwood364@gmail.com = all, !skipped
mail = kenwood364@gmail.com = all, !skipped
console = all, !skipped, !saved
catalog = all
}
messages { # Send mail to me and michael
name = MikesMail
mail = mikesedutto@gmail.com,kenwood364@gmail.com = all, !skipped
console = all, !skipped, !saved
catalog = all
}
messages { # Send mail to me and matthew
name = MattsMail
mail = younglad204@gmail.com,kenwood364@gmail.com = all, !skipped
console = all, !skipped, !saved
catalog = all
}
messages { # Send mail to me and Travis
name = TravissMail
mail = travisbuttons14@gmail.com,kenwood364@gmail.com = all, !skipped
console = all, !skipped, !saved
catalog = all
}
messages { # Send mail to me and Zach
name = ZachsMail
mail = zmcmenemy@gmail.com,kenwood364@gmail.com = all, !skipped
console = all, !skipped, !saved
catalog = all
}
messages { # Send mail to me and Caleb
name = CalebsMail
mail = younglad204@gmail.com,kenwood364@gmail.com = all, !skipped
console = all, !skipped, !saved
catalog = all
}
messages { # Send mail to me and Chris
name = ChrisMail
mail = chrispdo1373@gmail.com,kenwood364@gmail.com = all, !skipped
file = "/etc/bacula/scripts/webhooks/ChrisProEliteMail.md" = all, !skipped
console = all, !skipped, !saved
catalog = all
}
messages { # Send mail to the robotics team
name = RoboticsMail
mail = kenwood364@gmail.com = all, !skipped
file = "/etc/bacula/scripts/webhooks/RoboticsMail.md" = all, !skipped
console = all, !skipped, !saved
catalog = all
}
messages { # Send mail to me and Christina
name = ChristinasMail
mail = kindredgarden@gmail.com ,kenwood364@gmail.com = all, !skipped
file = "/etc/bacula/scripts/webhooks/Christina-Bacula-Mail.md" = all, !skipped
console = all, !skipped, !saved
catalog = all
}
messages { # Send mail to me and Julio
name = JuliosMail
mail = jsegura8629@gmail.com ,kenwood364@gmail.com = all, !skipped
file = "/etc/bacula/scripts/webhooks/Julio-Bacula-Mail.md" = all, !skipped
console = all, !skipped, !saved
catalog = all
}
messages { # Send mail to me and Aidan
name = AidanMail
mail = 5730dogman@gmail.com ,kenwood364@gmail.com = all, !skipped
file = "/etc/bacula/scripts/webhooks/Aidan-Bacula-Mail.md" = all, !skipped
console = all, !skipped, !saved
catalog = all
}
messages { # Send mail to me and FireBN
name = FireBNMail
mail = kenwood364@gmail.com = all, !skipped
file = "/etc/bacula/scripts/webhooks/FireBN-Bacula-Mail.md" = all, !skipped
console = all, !skipped, !saved
catalog = all
}

View File

@ -46,3 +46,28 @@ Job {
Differential Backup Pool = Diff-Pool
Incremental Backup Pool = Incr-Pool
}
# Bacula config Backup
FileSet {
Name = "MyFirstFileSet"
Include {
Options {
signature=MD5
}
File = /etc/bacula/
}
Exclude {
File = *~
}
}
# This is the backup of the catalog
FileSet {
Name = "Catalog"
Include {
Options {
signature = MD5
}
File = "/var/lib/postgresql/12/main"
}
}

View File

@ -1,43 +0,0 @@
# These are mainly jobs for archive.
Job { # Archive Obelisk
Name = "Archive-Obelisk"
JobDefs = "Default-Archive-Job"
FileSet = "Obelisk Archive"
}
Job { # Archive Magnesium
Name = "Archive-Magnesium"
JobDefs = "Default-Archive-Job"
FileSet = "Magnesium Archive"
}
# Users go here
Job { # Archive Travis
Name = "Archive-Travis"
JobDefs = "Default-Archive-Job"
FileSet = "Travis Backup"
Messages = TravissMail
}
Job { # Archive Zach
Name = "Archive-Zach"
JobDefs = "Default-Archive-Job"
FileSet = "Zach Backup"
Messages = ZachsMail
}
Job { # Archive Caleb
Name = "Archive-Caleb"
JobDefs = "Default-Archive-Job"
FileSet = "Caleb Backup"
Messages = CalebsMail
}
# Archive Christina
Job {
Name = "Archive-Christina"
JobDefs = "Default-Archive-Job"
FileSet = "Christina Archive"
Messages = ChristinasMail
}

View File

@ -1,14 +0,0 @@
# These are jobs run for vms, storage, etc
Job { # Backup Proxmox VZdumps
Name = "Backup-Proxmox"
JobDefs = "Default-System-Job"
FileSet = "Proxmox Backups"
}
Job { # Backup Robotics Team's Files
Name = "Backup-Robotics"
JobDefs = "Default-System-Job"
FileSet = "Google-Drive Robotics"
Messages = RoboticsMail
}

View File

@ -1,75 +0,0 @@
# These are jobs run for users
Job { # Caleb's Job
Name = "Backup-Caleb"
JobDefs = "Default-User-Job"
FileSet = "Caleb Backup"
Schedule = Never
}
Job { # Mark's Job
Name = "Backup-Mark"
FileSet = "Mark Backup"
JobDefs = "Default-User-Job"
Messages = MarksMail
}
Job { # My Job
Name = "Backup-Joe"
JobDefs = "Default-User-Job"
FileSet = "Joe Backup"
}
Job { # Backup Michael
Name = "Backup-Michael"
JobDefs = "Default-User-Job"
FileSet = "Michael Backup"
}
Job { # Backup Matthew
Name = "Backup-Matthew"
JobDefs = "Default-User-Job"
FileSet = "Matthew Backup"
Messages = MattsMail
}
Job { # Backup Chris
Name = "Backup-Chris"
JobDefs = "Default-User-Job"
FileSet = "Chris Backup"
Messages = ChrisMail
}
Job { # Backup Evelynn
Name = "Backup-Evelynn"
JobDefs = "Default-User-Job"
FileSet = "Evelynn Backup"
}
Job { # Backup Christina
Name = "Backup-Christina"
JobDefs = "Default-User-Job"
FileSet = "Christina Backup"
Messages = ChristinasMail
}
Job { # Backup Julio
Name = "Backup-Julio"
JobDefs = "Default-User-Job"
FileSet = "Julio Backup"
Messages = JuliosMail
}
Job { # Backup Aidan
Name = "Backup-Aidan"
JobDefs = "Default-User-Job"
FileSet = "Aidan Backup"
Messages = AidanMail
}
Job { # Backup FireBN
Name = "Backup-FireBN"
JobDefs = "Default-User-Job"
FileSet = "FireBN Backup"
Messages = FireBNMail
}

View File

@ -1,6 +1,4 @@
@/etc/bacula/clients/zinc-client-users.conf
@/etc/bacula/clients/zinc-client-system.conf
@/etc/bacula/clients/zinc-client-archive.conf
# Config for the client on zinc
Client {
Name = Zinc-Client # Clients name

View File

@ -1,51 +0,0 @@
# Bacula config Backup
FileSet {
Name = "MyFirstFileSet"
Include {
Options {
signature=MD5
}
File = /etc/bacula/
}
Exclude {
File = *~
}
}
# This is the backup of the catalog
FileSet {
Name = "Catalog"
Include {
Options {
signature = MD5
}
File = "/var/lib/postgresql/12/main"
}
}
# Backup proxmox backups
FileSet {
Name = "Proxmox Backups"
Include {
Options {
wilddir = "*.tmp" # Ignore directories matching *.tmp
signature = MD5
exclude = yes
}
File = "/mnt/Proxmox"
}
}
# Backup 1721's Google Drives
FileSet {
Name = "Google-Drive Robotics"
Include {
Options {
signature = MD5
}
File = "/mnt/1721_Drive/"
}
}

View File

@ -1,163 +0,0 @@
# Caleb's backup on zinc
FileSet {
Name = "Caleb Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/Users/Caleb/"
#File = "/mnt/NextCloud/data/Caleb/"
}
}
# Travis's backup on zinc
FileSet {
Name = "Travis Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/Users/Travis/"
#File = "/mnt/NextCloud/data/Travis/"
}
}
# Zach's backup on zinc
FileSet {
Name = "Zach Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/Users/Zach/"
#File = "/mnt/NextCloud/data/Zach/"
}
}
# Mark's backup on zinc
FileSet {
Name = "Mark Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/Users/mark/"
File = "/mnt/NextCloud/data/mark/"
}
}
# Joe's backup on zinc
FileSet {
Name = "Joe Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/Users/Joe/"
File = "/mnt/NextCloud/data/joe/"
}
}
# Matthew's backup on zinc
FileSet {
Name = "Matthew Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/Users/Matthew/"
File = "/mnt/NextCloud/data/matthew/"
}
}
# Michael's backup on zinc
FileSet {
Name = "Michael Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/Users/Michael/"
File = "/mnt/NextCloud/data/michael/"
}
}
# Chris's backup on zinc
FileSet {
Name = "Chris Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/NextCloud/data/chris/"
}
}
# Evelynn's backup on zinc
FileSet {
Name = "Evelynn Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/NextCloud/data/evelynn/"
}
}
# Christina's backup on zinc
FileSet {
Name = "Christina Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/Users/Christina/"
File = "/mnt/NextCloud/data/Christina/"
}
}
# Julio's backup on zinc
FileSet {
Name = "Julio Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/NextCloud/data/julio/"
}
}
# Aidan's backup on zinc
FileSet {
Name = "Aidan Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/NextCloud/data/aidan/"
}
}
# FireBN's backup on zinc
FileSet {
Name = "FireBN Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/NextCloud/data/firebn/"
}
}

View File

@ -1,4 +1,12 @@
# Archive for Obelisk
# These are mainly jobs for archive.
Job { # Archive Obelisk
Name = "Archive-Obelisk"
JobDefs = "Default-Archive-Job"
FileSet = "Obelisk Archive"
}
# Obelisk fileset
FileSet {
Name = "Obelisk Archive"
Include {
@ -10,6 +18,12 @@ FileSet {
}
}
Job { # Archive Magnesium
Name = "Archive-Magnesium"
JobDefs = "Default-Archive-Job"
FileSet = "Magnesium Archive"
}
# Archive for Magnesium
FileSet {
Name = "Magnesium Archive"
@ -20,15 +34,3 @@ FileSet {
File = "/mnt/Archive/Magnesium/"
}
}
# Archive for Christina
FileSet {
Name = "Christina Archive"
Include {
Options {
signature = MD5
}
File = "/mnt/Archive/Christina_Archive/"
File = "/mnt/Archive/Aux-Christina/"
}
}

View File

@ -0,0 +1,47 @@
# These are jobs run for vms, storage, etc
Job { # Backup Proxmox VZdumps
Name = "Backup-Proxmox"
JobDefs = "Default-System-Job"
FileSet = "Proxmox Backups"
}
# Proxmox backup fileset
FileSet {
Name = "Proxmox Backups"
Include {
Options {
wilddir = "*.tmp" # Ignore directories matching *.tmp
signature = MD5
exclude = yes
}
File = "/mnt/Proxmox"
}
}
Job { # Backup Robotics Team's Files
Name = "Backup-Robotics"
JobDefs = "Default-System-Job"
FileSet = "Google-Drive Robotics"
Messages = RoboticsMail
}
# 1721's google drive
FileSet {
Name = "Google-Drive Robotics"
Include {
Options {
signature = MD5
}
File = "/mnt/1721_Drive/"
}
}
messages { # Send mail to the robotics team
name = RoboticsMail
mail = kenwood364@gmail.com = all, !skipped
file = "/etc/bacula/scripts/webhooks/RoboticsMail.md" = all, !skipped
console = all, !skipped, !saved
catalog = all
}

View File

@ -1,102 +0,0 @@
#
# Bacula Python interface script for the Director
#
# You must import both sys and bacula
import sys, bacula
# This is the list of Bacula daemon events that you
# can receive.
class BaculaEvents(object):
def __init__(self):
# Called here when a new Bacula Events class is
# is created. Normally not used
noop = 1
def JobStart(self, job):
"""
Called here when a new job is started. If you want
to do anything with the Job, you must register
events you want to receive.
"""
events = JobEvents() # create instance of Job class
events.job = job # save Bacula's job pointer
job.set_events(events) # register events desired
sys.stderr = events # send error output to Bacula
sys.stdout = events # send stdout to Bacula
jobid = job.JobId; client = job.Client
numvols = job.NumVols
job.JobReport="Python Dir JobStart: JobId=%d Client=%s NumVols=%d\n" % (jobid,client,numvols)
# Bacula Job is going to terminate
def JobEnd(self, job):
jobid = job.JobId
client = job.Client
job.JobReport="Python Dir JobEnd output: JobId=%d Status=%s Client=%s.\n" % (jobid, job.JobStatus, client)
# Called here when the Bacula daemon is going to exit
def Exit(self, job):
print "Daemon exiting."
bacula.set_events(BaculaEvents()) # register daemon events desired
"""
There are the Job events that you can receive.
"""
class JobEvents(object):
def __init__(self):
# Called here when you instantiate the Job. Not
# normally used
noop = 1
def JobInit(self, job):
noop = 1
if (job.JobId < 2):
startid = job.run("run kernsave")
job.JobReport = "Python started new Job: jobid=%d\n" % startid
print "name=%s version=%s conf=%s working=%s" % (bacula.Name, bacula.Version, bacula.ConfigFile, bacula.WorkingDir)
def JobRun(self, job):
noop = 1
def NewVolume(self, job):
jobid = job.JobId
client = job.Client
numvol = job.NumVols;
print job.CatalogRes
job.JobReport = "JobId=%d Client=%s NumVols=%d" % (jobid, client, numvol)
job.JobReport="Python before New Volume set for Job.\n"
Vol = "TestA-%d" % numvol
job.JobReport = "Exists=%d TestA-%d" % (job.DoesVolumeExist(Vol), numvol)
job.VolumeName="TestA-%d" % numvol
job.JobReport="Python after New Volume set for Job.\n"
return 1
def VolumePurged(self, job):
noop = 1
# Pass output back to Bacula
def write(self, text):
self.job.write(text)
# Open file to be backed up. file is the filename
# NOT YET IMPLEMENTED
def open(self, file):
print "Open %s called" % file
self.fd = open('m.py', 'rb')
jobid = self.job.JobId
print "Open: JobId=%d" % jobid
# Read file data into Bacula memory buffer (mem)
# return length read. 0 => EOF, -1 => error
# NOT YET IMPLEMENTED
def read(self, mem):
print "Read called\n"
len = self.fd.readinto(mem)
print "Read %s bytes into mem.\n" % len
return len
# Close file
# NOT YET IMPLEMENTED
def close(self):
self.fd.close()

View File

@ -1,14 +0,0 @@
from discord_webhook import DiscordWebhook
from bathook import bathook
webhookURL = "https://discordapp.com/api/webhooks/742784012640190565/NBhtbWpDdgMZPx7uCXO8Ofw-o8Lez0V17EBGIvYv7FTIeTENK24GHNL3krUbYnOOIJ63"
maxCharPerMessage = 1994
rescheduled = ""
bathook = bathook("/etc/bacula/scripts/webhooks/ChrisProEliteMail.md", "nextcloud")
for message_part in bathook.get_formatted_message(): # For every message part in the truncated output, run this loop
message_part = "```" + message_part + "```" # Encapsulate the messsage
print(message_part)
webhook = DiscordWebhook(url=webhookURL, content=message_part) # Attach the message
response = webhook.execute() # Hit send

View File

@ -0,0 +1,27 @@
# Backup Aidan
Job { # Job to schedule aidan's backups
Name = "Backup-Aidan"
JobDefs = "Default-User-Job"
FileSet = "Aidan Backup"
#Messages = AidanMail
}
FileSet { # Location of aidan's data on zinc
Name = "Aidan Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/NextCloud/data/aidan/"
}
}
messages { # Send mail to me and Aidan
name = AidanMail
mail = 5730dogman@gmail.com ,kenwood364@gmail.com = all, !skipped
file = "/etc/bacula/scripts/webhooks/Aidan-Bacula-Mail.md" = all, !skipped
console = all, !skipped, !saved
catalog = all
}

View File

@ -0,0 +1,34 @@
# Caleb's Job
Job { # Job to schedule regular caleb backups
Name = "Backup-Caleb"
JobDefs = "Default-User-Job"
FileSet = "Caleb Backup"
Schedule = Never
}
FileSet { # Location of caleb's backup
Name = "Caleb Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/Users/Caleb/"
#File = "/mnt/NextCloud/data/Caleb/"
}
}
Job { # Archive Caleb
Name = "Archive-Caleb"
JobDefs = "Default-Archive-Job"
FileSet = "Caleb Backup"
Messages = CalebsMail
}
messages { # Send mail to me and Caleb
name = CalebsMail
mail = younglad204@gmail.com,kenwood364@gmail.com = all, !skipped
console = all, !skipped, !saved
catalog = all
}

View File

@ -0,0 +1,27 @@
# Backup Chris
Job {
Name = "Backup-Chris"
JobDefs = "Default-User-Job"
FileSet = "Chris Backup"
Messages = ChrisMail
}
FileSet { # Location of chris's backup
Name = "Chris Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/NextCloud/data/chris/"
}
}
messages { # Send mail to me and Chris
name = ChrisMail
mail = chrispdo1373@gmail.com,kenwood364@gmail.com = all, !skipped
file = "/etc/bacula/scripts/webhooks/ChrisProEliteMail.md" = all, !skipped
console = all, !skipped, !saved
catalog = all
}

View File

@ -0,0 +1,48 @@
# Backup Christina
Job { # Schedule normal backup for christina
Name = "Backup-Christina"
JobDefs = "Default-User-Job"
FileSet = "Christina Backup"
Messages = ChristinasMail
}
FileSet { # Where christina's data is
Name = "Christina Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/Users/Christina/"
File = "/mnt/NextCloud/data/Christina/"
}
}
Job { # Archive Christina
Name = "Archive-Christina"
JobDefs = "Default-Archive-Job"
FileSet = "Christina Archive"
Messages = ChristinasMail
}
FileSet { # Archive Fileset
Name = "Christina Archive"
Include {
Options {
signature = MD5
}
File = "/mnt/Archive/Christina_Archive/"
File = "/mnt/Archive/Aux-Christina/"
}
}
messages { # Send mail to me and Christina
name = ChristinasMail
mail = kindredgarden@gmail.com ,kenwood364@gmail.com = all, !skipped
file = "/etc/bacula/scripts/webhooks/Christina-Bacula-Mail.md" = all, !skipped
console = all, !skipped, !saved
catalog = all
}

View File

@ -0,0 +1,18 @@
# Evelynn Backup Information
Job {
Name = "Backup-Evelynn"
JobDefs = "Default-User-Job"
FileSet = "Evelynn Backup"
}
FileSet { # Where eve's data is
Name = "Evelynn Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/NextCloud/data/evelynn/"
}
}

View File

@ -0,0 +1,27 @@
# Backup FireBN
Job {
Name = "Backup-FireBN"
JobDefs = "Default-User-Job"
FileSet = "FireBN Backup"
Messages = FireBNMail
}
FileSet { # Where fire's data is
Name = "FireBN Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/NextCloud/data/firebn/"
}
}
messages { # Send mail to me and FireBN
name = FireBNMail
mail = kenwood364@gmail.com = all, !skipped
file = "/etc/bacula/scripts/webhooks/FireBN-Bacula-Mail.md" = all, !skipped
console = all, !skipped, !saved
catalog = all
}

View File

@ -0,0 +1,26 @@
# My Job
Job { # My job
Name = "Backup-Joe"
JobDefs = "Default-User-Job"
FileSet = "Joe Backup"
}
FileSet { # Where my data is
Name = "Joe Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/Users/Joe/"
File = "/mnt/NextCloud/data/joe/"
}
}
messages { # Send mail just to me
name = JoesMail
mail = kenwood364@gmail.com = all, !skipped
console = all, !skipped, !saved
catalog = all
}

View File

@ -0,0 +1,27 @@
# Backup Julio
Job { # Schedule julio's backup
Name = "Backup-Julio"
JobDefs = "Default-User-Job"
FileSet = "Julio Backup"
Messages = JuliosMail
}
FileSet { # Where julio's data is on zinc
Name = "Julio Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/NextCloud/data/julio/"
}
}
messages { # Send mail to me and Julio
name = JuliosMail
mail = jsegura8629@gmail.com ,kenwood364@gmail.com = all, !skipped
file = "/etc/bacula/scripts/webhooks/Julio-Bacula-Mail.md" = all, !skipped
console = all, !skipped, !saved
catalog = all
}

View File

@ -0,0 +1,28 @@
# Mark's Job
Job { # When to schedule mark's job
Name = "Backup-Mark"
FileSet = "Mark Backup"
JobDefs = "Default-User-Job"
#Messages = MarksMail
}
FileSet { # Location of mark's data on zinc
Name = "Mark Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/Users/mark/"
File = "/mnt/NextCloud/data/mark/"
}
}
messages { # Send mail to me and dad
name = MarksMail
#mail = mws03@comcast.net,kenwood364@gmail.com = all, !skipped
mail = kenwood364@gmail.com = all, !skipped
console = all, !skipped, !saved
catalog = all
}

View File

@ -0,0 +1,27 @@
# Backup Matthew
Job { # Job to schedule backing up matthew's data
Name = "Backup-Matthew"
JobDefs = "Default-User-Job"
FileSet = "Matthew Backup"
Messages = MattsMail
}
FileSet { # Location of matthew's data on zinc
Name = "Matthew Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/Users/Matthew/"
File = "/mnt/NextCloud/data/matthew/"
}
}
messages { # Send mail to me and matthew
name = MattsMail
mail = younglad204@gmail.com,kenwood364@gmail.com = all, !skipped
console = all, !skipped, !saved
catalog = all
}

View File

@ -0,0 +1,26 @@
# Backup Michael
Job { # Job to schedule michael backup
Name = "Backup-Michael"
JobDefs = "Default-User-Job"
FileSet = "Michael Backup"
}
FileSet { # Location of michaels backup on zinc
Name = "Michael Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/Users/Michael/"
File = "/mnt/NextCloud/data/michael/"
}
}
messages { # Send mail to me and michael
name = MikesMail
mail = mikesedutto@gmail.com,kenwood364@gmail.com = all, !skipped
console = all, !skipped, !saved
catalog = all
}

View File

@ -0,0 +1,26 @@
FileSet { # Location of Travis's backup on zinc
Name = "Travis Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/Users/Travis/"
#File = "/mnt/NextCloud/data/Travis/"
}
}
Job { # Archive Travis
Name = "Archive-Travis"
JobDefs = "Default-Archive-Job"
FileSet = "Travis Backup"
Messages = TravissMail
}
messages { # Send mail to me and Travis
name = TravissMail
mail = travisbuttons14@gmail.com,kenwood364@gmail.com = all, !skipped
console = all, !skipped, !saved
catalog = all
}

View File

@ -0,0 +1,25 @@
FileSet { # Location of zach's data on zinc
Name = "Zach Backup"
Include {
Options {
signature = MD5
compression=GZIP
}
File = "/mnt/Users/Zach/"
#File = "/mnt/NextCloud/data/Zach/"
}
}
Job { # Archive Zach
Name = "Archive-Zach"
JobDefs = "Default-Archive-Job"
FileSet = "Zach Backup"
Messages = ZachsMail
}
messages { # Send mail to me and Zach
name = ZachsMail
mail = zmcmenemy@gmail.com,kenwood364@gmail.com = all, !skipped
console = all, !skipped, !saved
catalog = all
}