Hallo,
langsam verzweifle ich an einem "kleinen" Problem.
Hintergrund:
Sicherung eines MySQL Clusters via innobackupex über SSH.
Für ein Logfile möchte ich die Ausgabe auf einem zentralen Server ablegen, auf dem das Backup durchgeführt wird.
Meine Kommando sieht so aus:
Code:
ssh backup@node1.local "innobackupex --user=mysqlbackup --password=pass --stream=xbstream ./" | xbstream -x -C /mnt/backup/node1/
Nun habe ich schon soweit alles mir erdenkliche versucht:
Code:
ssh backup@node1.local "innobackupex --user=mysqlbackup --password=pass --stream=xbstream ./" | xbstream -x -C /mnt/backup/node1/ | tee logfile.log # Kein Erfolg
ssh backup@node1.local "innobackupex --user=mysqlbackup --password=pass --stream=xbstream ./" | xbstream -x -C /mnt/backup/node1/ > logfile.log > 2>&1 # Kein Erfolg
ssh backup@node1.local "innobackupex --user=mysqlbackup --password=pass --stream=xbstream ./" | xbstream -x -C /mnt/backup/node1/ 2&1 | tee logfile.log # Kein Erfolg
Gibts noch eine Idee wie ich das Problem lösen könnte?
Gruß
I.
Lesezeichen