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

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User