Solved

Fstab info -> where to save my data

Posted on 2011-10-01
5
340 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
can i read my emails on lamp ftp 4 71
CLI command keep running after close 7 73
Unix Help with:  mailx -s 17 65
touch cat vi differences 7 40
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

752 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