We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Backup failed with tmp.xxxx folders. how to recover vestacp user datas with db manually ?
Backup failed with tmp.xxxx folders. how to recover vestacp user datas with db manually ?
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.
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.
Re: Backup failed with tmp.xxxx folders. how to recover vestacp user datas with db manually ?
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
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
Re: Backup failed with tmp.xxxx folders. how to recover vestacp user datas with db manually ?
Thanks for the quick reply skamasle.skamasle wrote: Post by skamasle » Fri Sep 01, 2017 7:00 pm
Tmp file was created because you run out of space
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.
Re: Backup failed with tmp.xxxx folders. how to recover vestacp user datas with db manually ?
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.
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.
Re: Backup failed with tmp.xxxx folders. how to recover vestacp user datas with db manually ?
Hi.,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.
Thank you for your suggestion.
this doesnt work- not sure why .,
Do we have any other procedure to follow in my case ?
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Backup failed with tmp.xxxx folders. how to recover vestacp user datas with db manually ?
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.
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.