Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: How to backup databases.
PostPosted: Wed Sep 26, 2012 11:49 am 
Offline
Junior Member

Joined: Wed Apr 25, 2012 5:38 pm
Posts: 47
I have a database running a forum. Could some advise on how I get access to that to be able to back it up myself.

Also I have the linode backup package which updates things daily, weekly and monthly. does anyone know if this includes all databases or is it just site files ?


Top
   
PostPosted: Wed Sep 26, 2012 12:16 pm 
Offline
Senior Member
User avatar

Joined: Sat Feb 25, 2012 4:44 pm
Posts: 71
Website: http://inhomeitsupport.com
What Engine are you using?

InnoDB tables= mysqldump --all-databases --single-transaction --flush-logs --master-data=2


MyISAM tabels= mysqldump --all-databases --lock-all-tables --flush-logs --master-data=2 | bzip2 -c >


Top
   
PostPosted: Wed Sep 26, 2012 2:10 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
glennk wrote:
Also I have the linode backup package which updates things daily, weekly and monthly. does anyone know if this includes all databases or is it just site files ?

Linode's backup service backs up everything, file by file, but a MySQL database restored from such a backup may end up in an inconsistent state. You should perform a database dump just before your Linode backup runs. Check out AutoMySQLBackup.

_________________
/ Peter


Top
   
PostPosted: Sat Sep 29, 2012 11:31 am 
Offline
Senior Member

Joined: Wed Jun 27, 2012 10:00 pm
Posts: 87
Website: http://hemonc.org/wiki/Main_Page
pclissold wrote:
glennk wrote:
Also I have the linode backup package which updates things daily, weekly and monthly. does anyone know if this includes all databases or is it just site files ?

Linode's backup service backs up everything, file by file, but a MySQL database restored from such a backup may end up in an inconsistent state. You should perform a database dump just before your Linode backup runs. Check out AutoMySQLBackup.
Whoa, that's a very useful tool. Thanks for sharing it!

_________________
Amateur, eager to learn.
My hematology, oncology, and chemotherapy regimen wiki


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group