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

Re: Backup mysql



Hi,

On Tue, Dec 03, 2024 at 06:51:34AM +0800, Bitfox wrote:
> I run mysql on debian.

Do you? Or do you run MariaDB?

Debian supplies MariaDB but it is possible to get MySQL from elsewhere.

> I want to backup the tables for database grants and authentication. What
> tables should I pick to backup then?

Just backup all of the `mysql` database. I'm sure it is possible to
pare this down to only the tables you need but come on, this is a
relatively small amount of text, what is the point in trying to micro
optimise?

Thanks,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting


Reply to: