?
Solved

Fstab info -> where to save my data

Posted on 2011-10-01
5
Medium Priority
?
345 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Fine Tune your automatic Updates for Ubuntu / Debian
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.
Suggested Courses
Course of the Month8 days, 11 hours left to enroll

621 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