MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Tips and Tricks => Topic started by: LotsOfQ on 2016-07-04, 18:15:43

Title: Restore NOT Working
Post by: LotsOfQ on 2016-07-04, 18:15:43
So I finally decided to upgrade my VPS. I backup using "Backup/Restore" feature. Working perfectly and downloaded the backup. But when I used "Backup/Restore" to restore on the new VPS it didn't work.

I selected the file to restore it just blank. So I tried to add the path myself "/home/kloxo/client/admin/__backup/my-backup-file.tgz" and got this error.

Quote
Alert: Could not find file [__path_program_home/client/admin/__backup/homekloxoclientadmin__backupmy-backup-file.tgz]

I also check on my old VPS running 7.0.0.b-2016062202 and when I selected the file the input path also go blank.


Title: Re: Restore NOT Working
Post by: LotsOfQ on 2016-07-05, 09:11:19
Can someone please help with this issue?
Title: Re: Restore NOT Working
Post by: LotsOfQ on 2016-07-06, 16:30:58
Just in case this will help someone in the future.

I ended up doing this and it works.

sh /script/restore --restore --accounts=all /home/kloxo/client/admin/__backup/mybackupfile.tgz

NOTE: Backup / Restore feature doesn't do a perfect job backup. If your database is large then it will not backup properly. I had 2 databases that was over 40mb. I have to used SQL Manager to export them manually. Then restored it manually with SQL Manager as well.

Oh the .sql I zip it before upload it to imported.

Wordpress: If you're going Wordpress and this happens then Wordpress will redirect you to the install page / install.php.
Title: Re: Restore NOT Working
Post by: MRatWork on 2016-07-08, 04:47:21
I am not sure but I think it's must no issue related large size file because variable in webserver (hiawatha) and php54s higher enough.

I will investigate this issue.