[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Phpgroupware-users] Backing up PHPgroupware
From: |
Bob Crandell |
Subject: |
RE: [Phpgroupware-users] Backing up PHPgroupware |
Date: |
Fri, 18 Apr 2003 14:19:14 +0000 |
This looks really good. How would you restore the database?
Thanks
Jim Hale (address@hidden) wrote:
>
>I have a script that I run 2x day to backup my websites and SQL
>Databases to a Win2K Box. The lines in my script related to phpGroupWare
>are:
>
>Backup the entire directory structure:
>--------------------------------------
>tar -zcvf halegroup.no-ip.org.tar.gz /home/[path to root of groupware]/*
>
>Dump the database:
>------------------
># Backup SQL Database (phpGroupWare 914002)
>prefix=GWARE
>suffix=`eval date +%m%d%y`
>filename=$prefix$suffix
>mysqldump -u[user account] -p[password] --opt [Name of Groupware
>Database] > $filename.sql
>
>HTH,
>
>Jim
>
--
Bob Crandell
Assured Computing
When you need to be sure.
address@hidden
www.assuredcomp.com
Voice - 541-689-9159
FAX - 541-463-1627
Eugene, Oregon