Comment 7 for bug 339013

Revision history for this message
MarkD (mark-davis-ewetel) wrote :

Mh, the xtrabackup_logfile seems to be gone after the first --prepare try. I did a new backup and tried directly with --target-dir=/mysql/backup

Transaction log of lsn (26 3355645360) to (26 3571411070) was copied.
# ./xtrabackup --prepare --target-dir=/mysql/backup
./xtrabackup Ver beta-0.4 for 5.1.32 unknown-linux-gnu (x86_64)
xtrabackup: This target seems to be not prepared yet.
xtrabackup_logfile detected: size=215777280, start_lsn=(26 3355645360)
xtrabackup: Starting InnoDB instance for recovery.
xtrabackup: Using 104857600 bytes for buffer pool (set by --use-memory parameter)
090404 8:34:07 InnoDB: Operating system error number 2 in a file operation.
InnoDB: The error means the system cannot find the path specified.
InnoDB: If you are installing InnoDB, remember that you must create
InnoDB: directories yourself, InnoDB does not create them.
InnoDB: File name .//mysql/data/ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.

The same result. And the xtrabackup_logfile gets deleted after the "--prepare".

xtrabackup_logfile detected: size=215777280, start_lsn=(26 3355645360)

looks like he finds the directory, but something else seems to be broken. .//mysql/data/ibdata1 isn't right. This looks more _like_ the source directory (without .) .