Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Backup failed with tmp.xxxx folders. how to recover vestacp user datas with db manually ?

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
anuradhan
Posts: 14
Joined: Sat Dec 03, 2016 10:34 am

Backup failed with tmp.xxxx folders. how to recover vestacp user datas with db manually ?
  • Quote

Post by anuradhan » Thu Aug 31, 2017 9:45 pm

I had vestacp running on ubuntu.
the server crashed. when checked it was due to disk outage.

Now, i only have one option to setup new server with old data.
when i checked inside old disk backup folder, there is no tar file, i see lot of folders starting with name tmp.xxxxxx
they are not openable too.

is it possible to recover all website and database.? i have /home/user/web folder as well as /var/lib/mysql datas withme.

please help.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Backup failed with tmp.xxxx folders. how to recover vestacp user datas with db manually ?
  • Quote

Post by skamasle » Fri Sep 01, 2017 1:30 pm

Tmp file was created because you run out of space

Of curse you can transfer website or do backup with /var/lib/mysql content and /home/user/web

Try free some space and run new backup, check your tmp.xxx files this can eat a lot of space some times, try free space from it
Top

anuradhan
Posts: 14
Joined: Sat Dec 03, 2016 10:34 am

Re: Backup failed with tmp.xxxx folders. how to recover vestacp user datas with db manually ?
  • Quote

Post by anuradhan » Sat Sep 02, 2017 1:03 am

skamasle wrote: Post by skamasle » Fri Sep 01, 2017 7:00 pm

Tmp file was created because you run out of space
Thanks for the quick reply skamasle.

rightnow., i'm on new server.
i created user, domains and databases manually,
then i copied old files using commands :
cp -Rf /olddisk/home/user/web /home/user/web
and
cp -Rf /olddisk/var/lib/mysql /var/lib/mysql

Now, the web files are copied, but the databases are not restored.

what am i doing wrong ? please help.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Backup failed with tmp.xxxx folders. how to recover vestacp user datas with db manually ?
  • Quote

Post by skamasle » Sat Sep 02, 2017 8:56 am

This is not good idea cp -Rf /olddisk/var/lib/mysql /var/lib/mysql

May can work, but you need stop mysql and if youu have innodb and you not stop mysql propertly in origin can be broken

If you use myissam shlould work fine.

Try restart mysql, but I cant help you with this prosedure.
Top

anuradhan
Posts: 14
Joined: Sat Dec 03, 2016 10:34 am

Re: Backup failed with tmp.xxxx folders. how to recover vestacp user datas with db manually ?
  • Quote

Post by anuradhan » Sat Sep 02, 2017 2:04 pm

skamasle wrote:This is not good idea cp -Rf /olddisk/var/lib/mysql /var/lib/mysql

May can work, but you need stop mysql and if youu have innodb and you not stop mysql propertly in origin can be broken

If you use myissam shlould work fine.

Try restart mysql, but I cant help you with this prosedure.
Hi.,
Thank you for your suggestion.
this doesnt work- not sure why .,

Do we have any other procedure to follow in my case ?
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Backup failed with tmp.xxxx folders. how to recover vestacp user datas with db manually ?
  • Quote

Post by mehargags » Sat Sep 02, 2017 6:27 pm

Why are you making it so tough when the issue is relatively easy.
I don't know what exactly you mean by "Server crashed" but I think just cleaning a couple of GBs from the old server and restarting it should make it work back. Alteast you can put on MySQL service (if it is stopped) and just mysqldump the databases and restore them to the new server.
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password