i usually use mysqldump to backup databases or to get a snapshot for propagation
to dump mysql database to a file
# mysqldump -u user -p password <database name> > dumpfile
to dump a specific table to a file (in case you want to bakup/propagate just one table)
# mysqldump -u user -p password <database name> <table name> > dumpfile
you can add --opt for optimized dump with 'drop table if exists' etc...
to load mysql dump file
# mysql -u user -p password <database name> < dumpfile
Subscribe to:
Post Comments (Atom)
SSH : No matching host key type found. Their offer: ssh-rsa,ssh-dss
Got this while connecting to my mikrotik router via ssh Unable to negotiate with <ip address> port <ssh port>: no matching hos...
-
got: Warning: dl() [function.dl]: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_mapscript...
-
*thanks to eaperezh of zimbra forums for this fix ( src: http://www.zimbra.com/forums/administrators/44241-solved-solved-zimbra-6-0-1-stop-w...
-
getting NOQUEUE: reject: RCPT from unknown[x.x.x.x]: 554 5.7.1 : Relay access denied ? in your zimbra admin go to: server > mta >...
No comments:
Post a Comment