Solved

Fstab info -> where to save my data

Posted on 2011-10-01
5
335 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 88

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 88

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 88

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

813 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

18 Experts available now in Live!

Get 1:1 Help Now