Solved

Encrypt mysqldump

Posted on 2009-07-09
3
793 Views
Last Modified: 2012-06-27
I am currently creating mysqldump files and automatically Gzipping them which works very well.

However, Gzip doesn't seem to be able to password protect a file.  Is there another application that can zip and encrypt the dump all in one operation?

I was using Winzip command line which works, but I have to do the dump and then zip which takes ages.

Note that this is a Windows server.
0
Comment
Question by:Orroland
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 33

Expert Comment

by:snoyes_jw
ID: 24813137
GPG. The Windows port is http://www.gpg4win.org/
0
 

Author Comment

by:Orroland
ID: 24813344
How would this work?  Can you give an example?
0
 
LVL 33

Accepted Solution

by:
snoyes_jw earned 500 total points
ID: 24813565
Probably something like this:

mysqldump <options> | gpg --passphrase <password> -e -

Read gpg's manual for details and all options.
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
category table 2 36
mysql disables rename 4 103
Creating Functions in phpMyAdmin 8 36
Formating field in mysql Advance formatting 1 41
Foreword This is an old article.  Instead of using the MySQL extension that was used in the original code examples, please choose one of the currently supported database extensions instead.  More information is available here: MySQLi / PDO (http://…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question