*BUMP*!!!
Can you please help me?
I think that I am going to reinstall my VPS but for that I need to backup my databases, can you tell me where are they located?
They are in /var/lib/mysql. I recovered a server for a client in the same situation. First, back up this directory. Next, on the new server install mysql, and back up the /var/lib/mysql directory it creates just for good measure. Now stop the new mysql server with "sudo service mysql stop", move /var/lib/mysql to /var/lib/mysql.bak, then copy over the old directory, and restart mysql with "sudo service mysql start". That worked for me.
You should learn how to use mysqldump to create backups of your database. I make a backup every day and copy it to a remote location over the Internet for safe keeping. You'll need to write a little script that you can run with cron. I posted one here; you're welcome to give it a try.
Last edited by SeijiSensei; April 3rd, 2013 at 02:40 PM.
If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.
Blog · Linode System Administration Guides · Android Apps for Ubuntu Users
Thank you very much for your reply.
I am going to reinstall my VPS..
But there is just one little problem, i don't have backup space, so can anybody who has 1 GB of backup space contact me in pm so i can backup my data for few hours!
Thanks!
Can you not copy it over the Internet with something like scp or rsync?
When I have moved things between virtual hosts, I obtain the new host first, then copy things over the Internet between the old and new virtual machines. Don't bother reformatting this machine, just set up a new one and delete the old one when you are finished. It's a lot easier and a lot safer, too.
If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.
Blog · Linode System Administration Guides · Android Apps for Ubuntu Users
I would do that but by host does not want to give me two VMs.. Because of that I am searching for a nice person who would like to borrow me FTP account with 1GB space so I can backup my data..
Just back it up onto your own machine, and restore it when your done.
Do you not have 1G of space free on whatever machine you are using?
Cheesemill
Hou don't understand..
I have 800 GB but if I reinstall from my panel I will loose all data!!
Ufg, I just looked at my backup archive and it sizes 2 GB..
On my VPS I have about 800 GB free space, and if I reinstall it I will loose everything, all files..
There is an option from my hosting provider so I can buy an extra backup space but it's really very very expensive! On my PC i have very slow connection and if I try to download 2 GB file and after reinstallation upload it, that may take ages! So I am asking here if anybody here has own Server/PC with FTP and fast connection so I can backup my data there just for few hours!
Thanks again!
Bookmarks