Public bug reported:

When I do a

innobackupex --user=backupuser --password=<password> --stream=xbstream
--tmpdir=/mnt/lv1/tmp /doesntneedtoexist | ssh
[email protected] "xbstream -x -C /backups/<dir>/base
-<year-month-day>/"

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

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: stream tmpdir

** Project changed: percona-xtrabackup => ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1086101

Title:
  --tmpdir= should change the tmp directory for streaming all files, not
  just for backup-my.cnf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1086101/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to