Solved

Fstab info -> where to save my data

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Impact of disabling SMB v1 on Mac and Linux clients 4 548
linux SFTP 8 62
I NEED A "BARE" LINUX ... 9 57
Recover Lacie Edmini data. 11 55
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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.
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.

828 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