【发布时间】:2023-02-02 16:46:22
【问题描述】:
背景
今天我用这个命令尝试 perconna 的 innobackupex:
innobackupex --stream=xbstream /root/backup/ > /root/backup/backup.xbstream
但是,我注意到日志显示在我的终端上:
...
IMPORTANT: Please check that the backup run completes successfully.
At the end of a successful backup run innobackupex
prints "completed OK!".
230202 15:52:24 Connecting to MySQL server host: 127.0.0.1, user: root, password: set, port: 3306, socket: not set
...
混乱
重定向> 不应该将标准输出写入/root/backup/backup.xbstream 吗?
为什么我仍然可以在终端上看到日志?
【问题讨论】:
标签: linux