Uploaded image for project: 'Percona XtraBackup'
  1. Percona XtraBackup
  2. PXB-1456

LP #1706314: Default tmpdir is wrong

    XMLWordPrintable

    Details

      Description

      **Reported in Launchpad by Daniƫl van Eeden last update 19-10-2017 15:16:22

      With a server with:
      [mysqld]
      datadir = /db/mysql/data
      tmpdir = ../tmp

      And running a backup with "innobackupex --databases=tmp --stream=tar ./ | nc foo.example.com 9876"

      This happens with percona-xtrabackup-24-2.4.8-1.el6.x86_64:

      1. sudo lsof +L1 | grep 'xbtemp'
        innobacku 44876 root 5u REG 253,0 4567440384 0 42640 /tmp/xbtemphhgKDG (deleted)

      This happens with percona-xtrabackup-24-2.4.5-1.el6.x86_64:

      1. sudo lsof +L1 | grep 'xbtemp'
        innobacku 38343 root 5u REG 253,4 3714547712 0 6442451194 /db/mysql/tmp/xbtempiDVP0d (deleted)

      The result is that XtraBackup fills up /tmp while there is plenty of space on /db/mysql/tmp

      From innobackupex --help:
      -t, --tmpdir=name This option specifies the location where a temporary
      files will be stored. If the option is not specified,
      the default is to use the value of tmpdir read from the
      server configuration.

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lpjirasync lpjirasync (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: