Hi need some of your knowledge and support :)

Bareos server
Centos 7
3.10.0-514.16.1.el7.x86_64 #1 
Installed :
bareos-storage-16.2.4-12.1.el7.x86_64
bareos-filedaemon-16.2.4-12.1.el7.x86_64
bareos-database-common-16.2.4-12.1.el7.x86_64
bareos-database-tools-16.2.4-12.1.el7.x86_64
bareos-director-python-plugin-16.2.4-12.1.el7.x86_64
bareos-bconsole-16.2.4-12.1.el7.x86_64
bareos-database-postgresql-16.2.4-12.1.el7.x86_64
bareos-common-16.2.4-12.1.el7.x86_64
bareos-director-16.2.4-12.1.el7.x86_64
bareos-tools-16.2.4-12.1.el7.x86_64


Percona Mysql server
Centos 7 3.10.0-514.6.1.el7.x86_64 #
Installed :
Percona-Server-server-56-5.6.35-rel80.0.el7.x86_64
percona-xtrabackup-24-2.4.4-1.el7.x86_64

Percona running with --datadir=/mysql/data and socket /tmp/mysql_coreapi.sock

Bareos conf

FileSet {
    Name = "SQLdata"
       Include  {
                Options {
                        compression=GZIP
                        signature = MD5
                }
                File = /etc/my_coreapi.cnf
                Plugin = 
"python:module_path=/usr/lib64/bareos/plugins:module_name=bareos-fd-percona:mycnf=/etc/my_bareos.cnf:strictIncremental=true:dumpoptions=--defaults-file=/etc/my_coreapi.cnf
 --backup --user=root --compress --compress-threads=4 --stream=xbstream 
--parallel=4 --no-lock --slave-info --safe-slave-backup 
--extra-lsndir=/tmp/bareostmp/  --target-dir=/tmp/"
        }
}

When i run any backup
i receive error

  File "/usr/lib64/bareos/plugins/BareosFdWrapper.py", line 42, in 
start_backup_file
    return bareos_fd_plugin_object.start_backup_file(context, savepkt)
  File "/usr/lib64/bareos/plugins/BareosFdPercona.py", line 217, in 
start_backup_file
    with open("%s/xtrabackup_checkpoints" % self.tempdir) as lsnfile:
IOError: (2, 'No such file or directory', 
'/tmp/tmp9do9zm/xtrabackup_checkpoints')

How should i run bareos with percona ? any advice please ?

After setting static 
        self.tempdir = '/tmp/bareostmp'
in line 48 BareosFdPercona.py
it started to work

But then Full and Incremental backups have  the same size (regardless 
strictIncremental) 

How to run Incremental ? please any advice ?

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to