User Tools

Site Tools


bacula

This is an old revision of the document!


BACULA

mount iscsi even if not present at boot:

- check for systemctl status remote-fs.target
- change fstab to use UUID for device

working example

 UUID=123456-7891-462d-9c9e-007fb89e8f96       /bacula/mountpoint        xfs     _netdev,x-systemd.requires=iscsi.service,x-systemd.mount-timeout=60     0       2

create system.d mountfile for mountpoint /backup/mystorage

root@bacula:/etc/systemd/system# cat bacula-mountpoint.mount
[Unit]
Description=Synology Mount
[Mount]
Where=/bacula/mountpoint
What=/dev/disk/by-uuid/123456-7891-462d-9c9e-007fb89e8f96
Type=xfs
[Install]
WantedBy=multi-user.target

Dumping catalog DB results in Error:

root@bacula:/etc/bacula/scripts# ./make_catalog_backup.pl MyCatalog mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces

mysql> GRANT PROCESS on *.* to `bacula`@`localhost`;
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)

DONE.

bacula.1608457900.txt.gz · Last modified: 2021/04/24 07:38 (external edit)