On Thursday, May 25, 2017 at 1:10:21 PM UTC+3, [email protected] wrote:
> Hi,
> 
> I set up a bareos 16.2.4 server on CentOS 7. 
> I also installed the percona plugin on the client:
> xtrabackup version 2.4.6 based on MySQL server 5.7.13 Linux (x86_64) 
> (revision id: 8ec05b7)
> Mysql version: 5.6.12-log MySQL Community Server
> 
> the size of the /var/lib/mysql is 390GB.
> 
> I set the incremental level of backup to File storage.
> The first backup is naturally Full level and what I get is this:
> For the first 2 hours of running the job nothing happens, except for the 
> storage file, which is growing.
> When the file is about 400GB+ it says: 
> python-fd: Starting backup of /_percona/xbstream.0000000591
> And the file continues to grow. Eventually, the job finishes and the job size 
> is 835GB!! That's more than twice the size of the original database.
> 
> Additionally, when running the subsequent jobs, i.e. incremental level - the 
> size of the backup is about 353GB.
> 
> I want to mention that 99% of the tables are InnoDB. And the size of MyISAM 
> is no more than several hundreds of megabytes.
> 
> The changes to the database are no more than 1GB/day.
> 
> Another thing, I have a table in one database that is about 250GB in size. 
> It's InnoDB. There are definitely some changes during the day. But not 
> gigabytes.
> When I access the restore page in UI - in Incremental I see this table but I 
> see it as 250GB, i.e. full size. Is this normal?
> 
> Anyway, it's not really how it's intended to work, is it?
> What am I doing wrong?
> 
> I didn't want to flood with configs, so just tell me what info do you need 
> and I'll provide.
> 
> Thanks,
> Leon

So I'm going to answer this myself.
Please disregard everything I wrote about the reasons for the huge sizes.
I don't know what was going on in the background,
but eventually it was the wrong configuration of the fileset.conf

You would expect that you should put the mysql datadir in the the "file" line,
but just like it's in the conf example in the readme - it's "/etc".

This must be documented in a very clear way, otherwise, for those of us who 
don't just copy/paste - this can be a nightmare.

Thanks

-- 
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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to