Preparing the Incremental Backups with Log Archiving for XtraDB creates the ib_logfiles

Bug #1632734 reported by Hrvoje Matijakovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Status tracked in 2.4
2.3
Triaged
Medium
Unassigned
2.4
Invalid
Undecided
Unassigned

Bug Description

Preparing the Incremental Backups with Log Archiving for XtraDB creates the ib_logfiles

Backup dir before running the prepare command:
root@trusty:/var/lib/mysql# ls -lah /tmp/backup2/
total 180M
drwx------ 8 root root 4.0K Oct 12 14:22 .
drwxrwxrwt 5 root root 4.0K Oct 12 14:22 ..
-rw-r----- 1 root root 387 Oct 12 14:22 backup-my.cnf
-rw-r----- 1 root root 76M Oct 12 14:21 ibdata1
drwx------ 2 root root 4.0K Oct 12 14:22 imdb
drwx------ 2 root root 4.0K Oct 12 14:22 mysql
drwx------ 2 root root 4.0K Oct 12 14:22 performance_schema
drwx------ 2 root root 4.0K Oct 12 14:22 test
drwx------ 2 root root 4.0K Oct 12 14:22 world
drwx------ 2 root root 4.0K Oct 12 14:22 world2
-rw-r----- 1 root root 117 Oct 12 14:22 xtrabackup_checkpoints
-rw-r----- 1 root root 434 Oct 12 14:22 xtrabackup_info
-rw-r----- 1 root root 104M Oct 12 14:22 xtrabackup_logfile

And after running: xtrabackup --prepare --target-dir=/tmp/backup2/ --innodb-log-arch-dir=/var/lib/mysql/

root@trusty:/var/lib/mysql# ls -lah /tmp/backup2/
total 276M
drwx------ 8 root root 4.0K Oct 12 14:24 .
drwxrwxrwt 5 root root 4.0K Oct 12 14:25 ..
-rw-r----- 1 root root 387 Oct 12 14:22 backup-my.cnf
-rw-r----- 1 root root 76M Oct 12 14:24 ibdata1
-rw-r--r-- 1 root root 48M Oct 12 14:24 ib_logfile0
-rw-r--r-- 1 root root 48M Oct 12 14:24 ib_logfile1
drwx------ 2 root root 4.0K Oct 12 14:24 imdb
drwx------ 2 root root 4.0K Oct 12 14:22 mysql
drwx------ 2 root root 4.0K Oct 12 14:22 performance_schema
drwx------ 2 root root 4.0K Oct 12 14:22 test
drwx------ 2 root root 4.0K Oct 12 14:22 world
drwx------ 2 root root 4.0K Oct 12 14:22 world2
-rw-r----- 1 root root 115 Oct 12 14:24 xtrabackup_checkpoints
-rw-r----- 1 root root 434 Oct 12 14:22 xtrabackup_info
-rw-r----- 1 root root 104M Oct 12 14:22 xtrabackup_logfile

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-1407

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.