Software Development, Linux, and Windows

Notes on Software Development, Linux, and Windows

September, 2011

Dump and Restore a MySQL database

Dump a MySQL database to a file: mysqldump -h ‘hostname’ -u db_username -p –quick db_name | gzip > dump_file_name.gz Restore a MySQL database from a dump file: gunzip < dump_file_name.gz | mysql -h ‘hostname’ -u db_username -p db_name

Tags:

Posted in MySQL | Comments Off

Create a branch in Subversion

svn copy https://server/path/to/trunk https://server/path/to/branches/newBranch -m “Cut branch: newBranch”

Tags:

Posted in Subversion | Comments Off