When use this commond to backup a remote mysqlDB
xtrabackup --defaults-file=/etc/my.cnf --user=root --password=xxx --port=3306 --host=172.130.195.164 --backup --no-server-version-check --target-dir=/data/databak/base --stream=xbstream --compress --compress-threads=4 --parallel=4 --extra-lsndir=/data/databak/lsndir > base.stream
It occurred this error:
210513 18:07:07 Finished backing up non-InnoDB tables and files
210513 18:07:07 Executing FLUSH NO_WRITE_TO_BINLOG BINARY LOGS
210513 18:07:07 Selecting LSN and binary log position from p_s.log_status
xtrabackup: File ‘/data/mysql/data/mysql1-bin.000023’ not found (OS errno 2 - No such file or directory)
Operating system error number 2 in a file operation.
The error means the system cannot find the path specified.
If you are installing InnoDB, remember that you must create directories yourself, InnoDB does not create them.
[00] error: cannot open file /data/mysql/data/mysql1-bin.000023
[00] Error: copy_file() failed.
What can i do now?