I wanted a fast way to backup an AppDynamics MySQL database directory on windows. The answer was lzop.

Tools

Setup

Set your Enviornment PATH

After installing GoW and extracting lzop.exe set your environment PATH to include the directory where you extracted lzop.exe

Stop AppDynamics Controller and Database

If you are Windows just use the AppDynamics Windows Services for this

Backup Procedure

In this example we will backup the directory D:\AppDynamics to a file named “appd_db.tar.lzo” with the fastest lzop compression level (which is one).

tar -cf - D:\AppDynamics | lzop -1 > appd_db.tar.lzo 

Extract the lzo file

To extract the tar file from the lzop file run this command:

lzop -d appd_db.tar.lzo
Last modified: January 21, 2015

Author

Comments

Write a Reply or Comment

Your email address will not be published.

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax

This site uses Akismet to reduce spam. Learn how your comment data is processed.