translated by Google

Machine-translated page for increased accessibility for English questioners.

Backup to FI

Home directories and mail

Your faculty Unix home directories as well as emails stored on FI are backed up (this does not apply to mails redirected to IS, etc.). Advances are usually made daily and are kept for approximately one year. If you accidentally delete some data, we can restore it from your backup. Below you will find out what to do in this case.

Backup for laboratories and employees

Laboratories and FI employees can provide backup of servers and PCs by means of Bacula tool. If interested, write to unix@fi.muni.cz . Please state in your application the approximate amount of data you would like to back up.

Data recovery

If you are interested in data recovery, write to unix@fi.muni.cz directory names (or files) as well as the date before which you had the data. Or at least try to explain your situation.

If we back up the machine in your administration and would like to recover data yourself, we will give you access to the Bacula console ( bconsole ) on your machine and provide instructions.

Instructions for setting up the backed up machine

Linux

  • Install the client, in most distributions the package is called bacula-client .

  • To the configuration file /etc/bacula/bacula-fd.conf embeds this content ( hostname replace the hostname of the machine):

    #
    # List Directors who are permitted to contact this File daemon
    #
    Director {
    Name = backup-dir
       Password = "vygenerované silné heslo"
    }
    
    #
    # "Global" File daemon configuration specifications
    #
    FileDaemon {                      # this is me
       Name = "hostname-fd"
       FDport = 9102                  # where we listen for the director
       WorkingDirectory = /var/spool/bacula
       Pid Directory = /var/run
       Maximum Concurrent Jobs = 20
    }
    
    # Send all messages except skipped files back to Director
    Messages {
       Name = Standard
       director = backup-dir = all, !skipped, !restored
    }
    
  • Make sure the service bacula-fd.service is allowed and running:

    systemctl enable --now bacula-fd.service
    
  • Any changes to the configuration will not take effect until the service is restarted.

  • If you use a local firewall on the machine, allow port access 9102 from the server backup.fi.muni.cz .

  • If you are using TCP wrappers, do /etc/hosts.allow add a row ( hostname replace the hostname of the machine, it must match the configuration of Bacula):

    hostname-fd: backup.fi.muni.cz
    
  • To the address unix@fi.muni.cz send a request specifying the directory or list of directories to be backed up. It recursively backs up the entire contents of a directory on the same file system.

  • A backup tree subdirectory can be removed from the backup - this can be done by setting it on the backup server, or we can usually set that the directory (and all its contents including subdirectories) is not backed up if you place a file called '.BACULA_NO_BACKUP' .

  • We typically store data for one year. You can back up once a week, several times a week, or every day. If you have a preferred time to run backups, please let us know.

  • If you would like to back up the database, you need to export the database (so called dump) somewhere to the backed up space, either from cron, or you can set which script to run before starting the backup.

Windows

It should also be possible to back up Windows machines, please contact if you are interested.