![]() |
Backing up and compressing the database
Hi, I'm actually using this command for backingup my database
Code:
mysqldump --opt -Q -u dbusername -p databasename > backupname.sql Is better to do the gzip after or at the same time I make the backup? Thank you! |
Bump
|
There is no real best choice. I would prefer if it is done at the same time.
|
how does that compare to cpanel backups
|
tar cvzf file.tar.gz file_name => Compressses file
tar -zxpf file.tar.gz => Uncompresses tar.gz files tar -xpf file.tar.gz => Uncompresses .tar files gunzip file => Uncompresses .gz files I don't now how to compress with gzip format. But you can use tar.gz instead of it. |
damn. just did a cpanel backup and it won't load up our our test server because of vbseo. arrgh
EDIT: got it working. wow. it restored everthing perfectly. impressive work mr. cpanel backup. (we just had to set the site up on a subdomain to get around vbseo) |
All times are GMT. The time now is 11:50 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|