[Vserver] recommended way to backup vserver guests with nightly cron job?

From: Gerhard Hofmann <gerhard.hofmann_at_planat.de>
Date: Tue 20 Dec 2005 - 09:30:47 GMT
Message-ID: <do8j07$kiq$1@sea.gmane.org>

Hi list,

I'm a newbie to vserver and I wonder how to backup my vserver guests
with a cron job run by the vserver host.

I think it should be something like that:
   vserver myvserver stop
   ...compress /etc/vserver to a tgz file and save on external storage...
   vserver myvserver start

Have I forgotten something important here?

Myvserver will run mysql and apache (TYPO3 content management system),
so I think it won't hurt to run a mysqldump before shutting down and
backing up myvserver.

What is the best way to invoke the mysqldump command within myvserver? A
separate cron job within the guest?

TIA
Gerhard

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Dec 20 09:41:03 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 20 Dec 2005 - 09:41:04 GMT by hypermail 2.1.8