--tmpdir= should change the tmp directory for streaming all files, not just for backup-my.cnf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
New
|
Undecided
|
Unassigned |
Bug Description
When I do a
innobackupex --user=backupuser --password=
on a large database (5TB in my case), the OS disk fills up before the backup finishes. xtrabackup 2.0.3 seems to store files in /tmp before streaming them over to the backup location near the end of the process. I found the culprit with
sudo lsof | grep '(deleted)'
which I'm pretty sure was a giant ibdata1.
So --tmpdir= doesn't seem to work for the most important, largest files. I had to symlink /tmp to my /mnt/lv1/tmp so I could actually complete the backup. It does seem to change the directory for backup-my.cnf
This appears to be a duplicate of https:/ /bugs.launchpad .net/percona- xtrabackup/ +bug/1085099