[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What files to backup



What I do for my mysql boxes is that I wrote a script to do a
mysqldump, since I don't think that restoring /var/lib/mysql will work
cleanly.

You can then do a pre-command to dump the db before the backup:

$Conf{DumpPreUserCmd} = '$sshPath -q -x $host sudo /usr/local/sbin/dbdump';

--b

On Tue, Apr 10, 2012 at 8:26 PM, Mat Enders <mat.enders@gmail.com> wrote:
> If you have mysql installed then also /var/lib/mysql
>
> Sorry about the top post but BlackBerry only does top posting
> Mat Enders from my BlackBerry®
>
> -----Original Message-----
> From: Gary Roach <gary719_list1@verizon.net>
> Date: Tue, 10 Apr 2012 17:07:50
> To: <debian-user@lists.debian.org>
> Subject: What files to backup
>
> I have three  standard Debian Squeeze systems and am setting up Backuppc
> to backup to an extra hard drive I have on one of the systems. I plan on
> backing up the following directories:
>     /etc
>     /home
>     /var/www (An Apache server resides on one of the systems)
> Is there anything else that should be included.
>
> Gary R.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 4F84CB56.9040705@verizon.net">http://lists.debian.org/[🔎] 4F84CB56.9040705@verizon.net
>


Reply to: