Here is my log in BackupPC:
Output from DumpPreUserCmd: /usr/bin/mysqldump mydatabase > /var/db_backup/database_backup.sql
Output from DumpPreUserCmd: mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: NO) when trying to connect
DumpPreUserCmd returned error status 512... exiting
How come mysqldump can print errors to BackupPC log?
Can I do the same thing?
Thanks.
On 2014/05/20 20:16, Alexander Moisseev wrote:
20.05.2014 15:02, 李欣 пишет:
Hi all,
How can I print the output of my bash script to BackupPC log file.
Here is what I tried,
and it does not work.
/#!/bin/bash//
//
//echo "Hello world"//1>&2;//
//exit 1;//
//
/
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs