|
|
@@ -94,8 +94,11 @@ JobDefs {
|
|
|
# Define the main nightly save backup job
|
|
|
# By default, this job will back up to disk in /var/lib/bareos/storage
|
|
|
Job {
|
|
|
- Name = "BackupClient1"
|
|
|
+ Name = "Backup_archivo_to_LTO7"
|
|
|
JobDefs = "DefaultJob"
|
|
|
+ Storage = LTO-7
|
|
|
+ Spool Data = yes # Avoid shoe-shine
|
|
|
+ Pool = Default
|
|
|
}
|
|
|
|
|
|
#
|
|
|
@@ -134,9 +137,44 @@ Job {
|
|
|
Storage = File
|
|
|
Pool = Incremental
|
|
|
Messages = Standard
|
|
|
- Where = /tmp/bareos-restores
|
|
|
+ Where = /storage/restore
|
|
|
}
|
|
|
|
|
|
+# List of files to be backed up
|
|
|
+FileSet {
|
|
|
+ Name = "archivo all dirs"
|
|
|
+ Include {
|
|
|
+ Options {
|
|
|
+ signature = MD5
|
|
|
+ One FS = No # change into other filessytems
|
|
|
+ }
|
|
|
+#
|
|
|
+# Put your list of files here, preceded by 'File =', one per line
|
|
|
+# or include an external list with:
|
|
|
+#
|
|
|
+# File = <file-name
|
|
|
+#
|
|
|
+# Note: / backs up everything on the root partition.
|
|
|
+# if you have other partitions such as /usr or /home
|
|
|
+# you will probably want to add them too.
|
|
|
+#
|
|
|
+ File = /home/dp/all_dirs
|
|
|
+ }
|
|
|
+
|
|
|
+#
|
|
|
+# If you backup the root directory, the following two excluded
|
|
|
+# files can be useful
|
|
|
+#
|
|
|
+ Exclude {
|
|
|
+ File = /home/dp/all_dirs/_md5_check
|
|
|
+ File = /home/dp/all_dirs/_full_list.csv
|
|
|
+ File = /proc
|
|
|
+ File = /tmp
|
|
|
+ File = /sys
|
|
|
+ File = /.journal
|
|
|
+ File = /.fsck
|
|
|
+ }
|
|
|
+}
|
|
|
|
|
|
FileSet {
|
|
|
Name = "Windows All Drives"
|
|
|
@@ -231,6 +269,20 @@ Client {
|
|
|
Password = "4cpnIZAfirCJcF05x0y0iYo4NXz4WsnHoYojuUxs75/6" # password for FileDaemon
|
|
|
}
|
|
|
|
|
|
+# Second Client (File Services) to backup
|
|
|
+# You should change Name, Address, and Password before using
|
|
|
+#
|
|
|
+Client {
|
|
|
+ Name = archivo
|
|
|
+ Address = 10.0.21.2
|
|
|
+ FDPort = 9102
|
|
|
+ Catalog = archivo
|
|
|
+ Password = "WqjJJG79IHa6zE1oEY8nRUnrdSDnqmX1m" # password for FileDaemon
|
|
|
+ File Retention = 60 days # 60 days
|
|
|
+ Job Retention = 6 months # six months
|
|
|
+ AutoPrune = yes # Prune expired Jobs/Files
|
|
|
+}
|
|
|
+
|
|
|
#
|
|
|
# Definition of file storage device
|
|
|
#
|
|
|
@@ -243,6 +295,19 @@ Storage {
|
|
|
Media Type = File
|
|
|
}
|
|
|
|
|
|
+# Definition of LTO-7 tape Autochanger device
|
|
|
+Storage {
|
|
|
+ Name = LTO-7
|
|
|
+ #Do not use "localhost" here
|
|
|
+ Address = lto7 # N.B. Use a fully qualified name here
|
|
|
+ SDPort = 9103
|
|
|
+ Password = "Ia+A/4PGvr4kFgI9CYOZX73qqRXqUi8llZNymggM3k18" # password for Storage daemon
|
|
|
+ Device = LTO-7 # must be same as Device in Storage daemon
|
|
|
+ Media Type = LTO-7 # must be same as MediaType in Storage daemon
|
|
|
+ Maximum Concurrent Jobs = 10
|
|
|
+ AllowCompression = No # Tape drive has hardware compression
|
|
|
+}
|
|
|
+
|
|
|
#
|
|
|
# Generic catalog service
|
|
|
#
|