On Tue, Dec 16, 2003 at 11:51:45AM +0100, Alberto Venturini wrote:
> From: Alberto Venturini <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [Openca-Users] Manual backup
> 
> I'm using OpenCA 0.9.1.3, and I need to create a full backup (it must 
> include databases, ldap directory, certificates, and everything else).
> I need to create a backup every few days, so I've written a simple 
> script (which can be run in background, for example with cron) which 
> saves mysql database directory (/var/lib/mysql), ldap dir 

 I don't think it wise to back up /var/lib/mysql while mysql is running.
IMHO you have several options here:
 1st. Stop mysql, backup /var/lib/mysql, start mysql. I don't like it
very much.
 2nd. Use mysqldump to dump mysql databases. IMHO best alternative
 3rd. If you're using LVM, you could stop mysql, create snapshot volume,
start mysql, back up snapshot volume, destroy snapshot volume.

> (/usr/local/ldap) and openca's var dir (OPENCADIR/var). Note that I'm 
> running CA and RA on the same machine; when I'll separate them, I'll 
> also adapt the script to save then correct directories on both sides.
> Is it a complete backup? Do I need to save something else?

-- 
Alexei Chetroi


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to