Solved

Fstab info -> where to save my data

Posted on 2011-10-01
5
334 Views
Last Modified: 2012-05-12
Hello,

I rent a virtual ubuntu server. In the specification is written that I have 2 hard drives.

In the fstab I can see:

 fstab
I want to save MySql data every day to the other hard drive. So if Mysql is on the first hard drive, I want to save it to the second.

How can I get this information? (which drive Mysql is stored on, which folder to copy).

Do I need to do addition modification in fstab?

Thank you
0
Comment
Question by:starhu
  • 3
  • 2
5 Comments
 
LVL 87

Accepted Solution

by:
rindi earned 500 total points
ID: 36897278
It looks like your drives are in a RAID array (/dev/mdx points to RAID). so your 2 are already being used for the complete system.
0
 

Author Comment

by:starhu
ID: 36897313
Should I write then to the technical support of the company?
0
 
LVL 87

Expert Comment

by:rindi
ID: 36897343
Why? Using RAID 1 is better than not using RAID. It gives you some protection against a disk failure (that doesn't mean you don't have to run backups though). If you want to have the database on other drives you should add another 2 drives and set those up in a 2nd RAID 1 array (for that you would of course have to consult the hosting company).
0
 

Author Comment

by:starhu
ID: 36897378
This server is far away from me - in fact it is in another country.

So assuming that it's in Raid, is it indifferent which folder I save the daily MySql backup files into?
0
 
LVL 87

Expert Comment

by:rindi
ID: 36897416
Any backup should be saved to some external device, if you don't have physical access to the server then to a location on another server somewhere else for instance. But normally in such a setup your hoster will also be doing backups...
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now