Quote:
Originally Posted by hornstar1337
this command mysqldump --opt -u user -p dbname > /path....
Does it compress the database?
As my old database size was 929 megs (done through cpanel) and this one is 721 megs. (done through SSH)
|
I notice that the database size is smaller when backing up with ssh...
but having backed up and restored numerous times now using ssh and the command you have posted, I have found it to be very smooth and works perfectly. I was using myphpadmin for back ups and bigdump.php for restoring.......but as the database grew I began getting errors and this method became unusable...
not to mention I can backup and restore a database in about 10 minutes using ssh, while the other method can take hours. It really sucks to spend 3 plus hours only to find you have a corrupted db