mysql - Take backup of a server which is 90% full - Ask Ubuntu
how take backup of live (database) ubuntu server, 90% full , how use tar or rsync & mysqldump command copy 1 server another?
from machine can access server across network on tcp port 3306, can use mysqldump remotely, , it's same running on server itself, except dump file created locally.
the --host option used specify ip address of server. --compress option allow transfer faster across wire. purpose -- transport compression -- doesn't make actual backup file smaller.
this can done server running normally.
rsync not safe tool use mysql server, if mysql running. won't hurt server, , backup appear work, files not usable. same applies tar or other copies files themselves. using mysqldump not read files directly, if run locally.
in ubuntu, typing mysqldump on machine isn't installed, should prompt several options of "client" packages include it, 1 of should fine.
Comments
Post a Comment