TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: TNP@INVALID.INVALID
from: SCOTT ALFTER
date: 2021-01-14 20:08:00
subject: Re: My darn NAS...

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)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.