In article ,
The Natural Philosopher wrote:
>what about /var that contains all the webs servers and Mysql databases
>by default? /opt as well has stuff in it. /boot has grub configs
Unless you're doing the stop/snapshot/restart thing, you shouldn't back up
the files in /var/lib/mysql directory. It'd be better to dump them with
mysqldump and back up those files, as mysqldump will only run once there are
no transactions in flight (no need to stop/restart the server, either).
Restoring from a copy of /var/lib/mysql can leave databases in an
inconsistent state.
_/_
/ v \ Scott Alfter (remove the obvious to send mail)
(IIGS( https://alfter.us/ Top-posting!
\_^_/ >What's the most annoying thing on Usenet?
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|