Go Back   Zmanda Forums > Zmanda Recovery Manager (ZRM) for MySQL > ZRM for MySQL Installation, Configuration and Administration
User Name
Password
Register FAQ Search Today's Posts Mark Forums Read
Amanda documentation MySQL Backup documentation Amanda downloads ZRM downloads BackupPC downloads Amanda list archive

Reply
 
Thread Tools Display Modes
  #1  
Old February 3rd, 2010, 05:28 PM
paddy paddy is offline
Administrator
 
Join Date: Oct 2005
Posts: 1,208
Default ZRM 2.2 released

ZRM 2.2 includes bug fixes and following features:
  • Support for pre-restore and post-restore plugins
  • Support for mixed replication mode binary logs
  • Support for producing html output after parsing binary logs
  • Support for mail notification policy
  • Added support for exclude pattern for databases and tables in the backup set

Documentation/Man pages are available at
http://wiki.zmanda.com/index.php/MyS...p_and_Recovery

Images can be downloaded from http://www.zmanda.com/download-zrm.php
Reply With Quote
  #2  
Old February 6th, 2010, 07:11 PM
sfatula sfatula is offline
 
Join Date: Mar 2009
Posts: 8
Default

Have a few problems with 2.2

If I run the following command:

mysql-zrm-reporter --destination /data2/backup --latest --fields innodb_logs,innodb_data

It shows:

backup_set innodb_logs innodb_data
----------------------------------------------------------------
set1 ---- ----

Of course, in the tar file itself, is in fact the innodb data and log files.

Could the report be this way because the backup is compressed?

Or, perhaps it's because we use innodb_file_per_table = 1?

Or, some other reason?

I unzipped the backup, and, did a tar tvf, and, the innodb files were there with the standard names.

Secondly, I don't believe the times to be accurate in the reports. compressed_encrypt_time was reported as 12 minutes, when in fact, it took over an hour (monitored with top, bzip2 used 100% cpu, tar used < 1%). So, I suspect it is counting that as backup (tar) time, not, bzip2 time. Without bzip, the backup would have completed almost an hour sooner, so, 12 minutes is not correct. This is a snapshot backup via copy socket of remote server, so, perhaps the correct time is not really possible.

But it is still strange. backup_time was 01:47:37, which I know is 1 hour+, compress_encrypt_time was 12:39:00, is that 12 hours? If so, obviously, it can't take longer than the backup!

From the log file:

Sat Feb 06 16:31:45 2010: shivafull:backup:INFO: PHASE START: Compression/Encryption
Sat Feb 06 17:47:20 2010: shivafull:backup:INFO: compress=/usr/bin/bzip2
Sat Feb 06 17:47:20 2010: shivafull:backup:INFO: backup-size-compressed=1.85 GB
Sat Feb 06 17:47:39 2010: shivafull:backup:INFO: PHASE END: Compression/Encryption
Sat Feb 06 17:47:39 2010: shivafull:backup:INFO: read-locks-time=00:00:01
Sat Feb 06 17:47:39 2010: shivafull:backup:INFO: flush-logs-time=00:00:00
Sat Feb 06 17:47:39 2010: shivafull:backup:INFO: compress-encrypt-time=12:39:00
Sat Feb 06 17:47:39 2010: shivafull:backup:INFO: backup-time=01:47:37
Sat Feb 06 17:47:39 2010: shivafull:backup:INFO: backup-status=Backup succeeded
Sat Feb 06 17:47:39 2010: shivafull:backup:INFO: Backup succeeded
Reply With Quote
  #3  
Old February 8th, 2010, 12:20 PM
paddy paddy is offline
Administrator
 
Join Date: Oct 2005
Posts: 1,208
Default

1. mysql-zrm-reporter command gets data from the index files. Can you please check the ///index has these entries?

2. compress_encrypt_time does include the "tar" time. ZRM does creates tar archive of all files and sends out the output to compress and encrypt programs if specified. So, compress and encrypt programs are running for this time.

3. 12:39:00 appears to be a bug. Can you please set "verbose=1" and attach /var/log/mysql-zrm/mysql-zrm.log?

thanks,
Paddy
Reply With Quote
  #4  
Old February 8th, 2010, 01:29 PM
sfatula sfatula is offline
 
Join Date: Mar 2009
Posts: 8
Default

Ok, attached the verbose log from the incremental today. Obviously, the compress time is way off!

In the index file for the report which did not show innodb_logs, or innodb_data, is:

innodb-data=/var/lib/mysql/ibdata1;
innodb-logs=/var/lib/mysql/./ib_logfile*

Your syntax requires the underscore, but, it had a - in the file. Could that be it?

If I wanted to use the backup to start MySQL replication by restoring on another machine, this line is in the index:

next-binlog=binlog.000044

Would I use that in the change master to command?
Attached Files
File Type: txt mysql-zrm.txt (7.1 KB, 3 views)
__________________
Steve
5 Diamond IT Consulting
Kall8 Toll Free Numbers
Reply With Quote
  #5  
Old February 8th, 2010, 05:10 PM
paddy paddy is offline
Administrator
 
Join Date: Oct 2005
Posts: 1,208
Default

Thanks for the logs. We will get back to you.

Please try with "-". The parameter should match the index file contents.

next-binlog can be used for change master.

Paddy
Reply With Quote
  #6  
Old February 8th, 2010, 09:56 PM
sfatula sfatula is offline
 
Join Date: Mar 2009
Posts: 8
Default

I cannot use - instead of _ as it then gives a syntax error, and, the help text comes up, and, the help text shows underscore! So, I think the mysql-zrm-reporter command has an error in it as it wants you to type underscore, yet, the data is a dash.

If next-binlog can be used for change master to, then, what position? I don't see it in the file.
__________________
Steve
5 Diamond IT Consulting
Kall8 Toll Free Numbers
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -8. The time now is 07:36 AM.