Page 1 of 1

Back and Restore Db

PostPosted: Mon Mar 05, 2012 1:44 pm
by gmcust3
How to take Back and Restore of Leads Before Reinstalling the dialer ?

PostPosted: Tue Mar 06, 2012 10:06 am
by rrb555
to backup database

Code: Select all
mysqldump -u [uname] -p[pass] [dbname] | gzip -9 > [backupfile.sql.gz]


to restore database

Code: Select all
gunzip < [backupfile.sql.gz] | mysql -u [uname] -p[pass] [dbname]