Просмотр исходного кода

remove all the extra director config

- start with a simple but working config
lt07 admin 9 лет назад
Родитель
Сommit
289a53f7b7
1 измененных файлов с 1 добавлено и 66 удалено
  1. 1 66
      bareos-dir.conf

+ 1 - 66
bareos-dir.conf

@@ -94,11 +94,8 @@ JobDefs {
 # Define the main nightly save backup job
 #   By default, this job will back up to disk in /var/lib/bareos/storage
 Job {
- Name = "Backup_archivo_to_LTO7"
+  Name = "Backup_archivo_to_LTO7"
   JobDefs = "DefaultJob"
-  Storage = LTO-7
-  Spool Data = yes    # Avoid shoe-shine
-  Pool = Default
 }
 
 #
@@ -140,41 +137,6 @@ Job {
   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"
@@ -269,20 +231,6 @@ 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
 #
@@ -295,19 +243,6 @@ 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
 #