Changes between Version 11 and Version 12 of Csle2022/Agenda/bacula
- Timestamp:
- Nov 7, 2022, 11:27:10 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Csle2022/Agenda/bacula
v11 v12 27 27 28 28 If prompted for ''''Configure database for bacula-director-postgresql with dbconfig-common?'''' Enter "Yes." For ''''Password of the database's administrative user,'''set the password as 1234. 29 30 == Configure Bacula Director== 31 Bacula has several components that must be configured independently in order to function correctly. The configuration files can all be found in the '''/etc/bacula''' directory. 32 33 We’ll start with the Bacula Director. 34 35 Open the Bacula Director configuration file in your favorite text editor. We’ll use vi: 36 {{{ 37 sudo vi /etc/bacula/bacula-dir.conf 38 }}} 39 40 This is the main configuration file of Bacula and we will modify this file later according our Lab setup. 29 41 30 42 == Create Backup Directory and assign permission== … … 121 133 }}} 122 134 123 == Configure Bacula Director== 124 Bacula has several components that must be configured independently in order to function correctly. The configuration files can all be found in the '''/etc/bacula''' directory. 135 == Add !FileSets (Bacula Server) == 136 A Bacula !FileSet defines a set of files or directories to include or exclude files from a backup selection, and are used by backup jobs on the Bacula Server. 137 With the default Bacula Server components, you already have a !FileSet called “Full Set”. If you want to run Backup jobs that include almost every file on your Backup Clients, you can use that !FileSet in your jobs. You may find, however, that you often don’t want or need to have backups of everything on a server, and that a subset of data will suffice. 125 138 126 We’ll start with the Bacula Director.139 Being more selective in which files are included in a !FileSet will decrease the amount of disk space and time, required by your Backup Server, to run a backup job. It can also make restoration simpler, as you won’t need to sift through the “Full Set” to find which files you want to restore. 127 140 128 Open the Bacula Director configuration file in your favorite text editor. We’ll use vi: 141 We will create new !FileSet resources, so that you can be more selective in what you back up. 142 143 On your '''Bacula Server''', open '''bacula-dir.conf, ''' 129 144 {{{ 130 145 sudo vi /etc/bacula/bacula-dir.conf