Yes, thanks, that's all I need!
shell-> echo 'START BACKUP' | /usr/local/mysql/bin/ndb_mgm cooler 2200
-- NDB Cluster -- Management Client --
Connecting to Management Server: cooler:2200
Node 1: Backup 3 started from node 3
Node 1: Backup 3 started from node 3 completed
StartGCP: 198418 StopGCP: 198419
#Records: 4109 #LogRecords: 0
Data: 66480 bytes Log: 0 bytes
--- Tomas Ulin <tomas@stripped> wrote:
> echo "start backup" | <mysql_install_path>/bin/ndb_mgm <ndb_mgmd host>
> <ndb_mgmd port>
> Chad Martin wrote:
> > Tomas Ulin wrote:
> >> No documented way.
> >> (You may write your own application that does it... all you need is
> >> in libndbclient, for sample source look in the ndb_mgm source.)
> >> What would you like to have?
> > I know I would like a way to be able to run a backup as a cron job, so
> > we'd need some command that can be executed from a shell script. I
> > suspect that's what Jim's looking for, as well.
> > Chad Martin
> >> Jim Hoadley wrote:
> >>> Is there a way to initiate a backup without connecting to ndb_mgmd
> >>> with ndb_mgm and manually running NDB> BACKUP START?
> MySQL Cluster Mailing List
> For list archives: http://lists.mysql.com/cluster
> To unsubscribe: http://lists.mysql.com/cluster?unsub=1