Changes between Version 12 and Version 13 of Csle2022/Agenda/bacula


Ignore:
Timestamp:
Nov 7, 2022, 11:35:54 AM (2 years ago)
Author:
geethike
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Csle2022/Agenda/bacula

    v12 v13  
    145145sudo vi /etc/bacula/bacula-dir.conf
    146146}}}
     147
     148Create a !FileSet resource for each particular set of files that you want to use in your backup jobs. In this example, we’ll create a !FileSet that only includes the home and etc directories:
     149{{{
     150FileSet {
     151  Name = "Home and Etc"
     152  Include {
     153    Options {
     154      signature = MD5
     155      compression = GZIP
     156    }
     157    File = /home
     158    File = /etc
     159  }
     160  Exclude {
     161    File = /home/bacula/not_important
     162  }
     163}
     164}}}
     165
     166There are a lot of things going on in this file, but here are a few details to keep in mind:
     167
     168    '''The !FileSet Name must be unique[[BR]]
     169
     170    '''Include any files or partitions that you want to have backups of[[BR]]
     171
     172    '''Exclude any files that you don’t want to back up, but were selected as a result of existing within an included file[[BR]]
     173
     174You can create multiple !FileSets if you wish. Save and exit, when you are finished.
     175
     176Now we’re ready to create backup job that will use our new !FileSet.