Hi All,
I have restored my data using the Restore and Backup function. I waited a long time but did not see the successful restore message. I see the dataskq progress but it is not running.
Someone help me, what more information do you need I can give you.
Thanks!
I restore then run the command: /usr/local/directadmin/dataskq d2019
The first time I run the command I can see the restore process, after it's done I run the above command again but the restore process is gone. I checked again on the GUI but didn't see a successful restore message, no message at all.
The main point to run that is to see the log progress of the restoration. Does the log say restore complete or something before it's gone? Post something from the terminal.
The main point to run that is to see the log progress of the restoration. Does the log say restore complete or something before it's gone? Post something from the terminal.
I mean, when you are able to run /usr/local/direrectadmin/dataskq d2019 as you mentioned you can see some progress on the terminal?. Or if you are not able to copy those, you can store that progress in a log file
Sorry, I should have read this earlier and I'm wondering how can you access that command earlier. Did you run that as a normal user?. If you are not able to access the log file in the terminal as admin, this might not be possible to understand the issue. Contact your server admin to help you because they have the power to understand more because they have better access to the DA system.
I mean, when you are able to run /usr/local/direrectadmin/dataskq d2019 as you mentioned you can see some progress on the terminal?. Or if you are not able to copy those, you can store that progress in a log file
So here is the step:
run this command:
Wait a few moments, and now you have the restore backup log file at /tmp/restore.log
Sorry, I wish I can help more to troubleshoot this but without a full log file. I only assume that you are using Jetbackup because the log file shows u own that process and when you said you "only used to using DA on the frontend", that made my second assumption that you did not have root access. Your log file has only a few lines and there must be something wrong. I hope others can help you.
As far I understand, there is only 2 ways to determine restoration progress in Directadmin. In Directadmin message system or the command I gave to you. I ever asked this question in the forum how to determine that (so I can detect the error like what you are facing) but I got no replies and the reason is that there is no other method. It's magic in the system
I want to determine if the backup restoration has finished successfully from the admin_backup via script or command line. I can execute restoration via API and there is no problem with it. In the current DirectAdmin 1.63.0, when I do restore via API or GUI, it will just add the restoration...
forum.directadmin.com
Also, they came out with a new confusing API on how to determine the progress bar that requires an unknown process ID (PID) ( I think we need the ability to read RAM inside a server to get that PID). Believe me, I started to curse politely when I read that. Here it is:
Sorry, I wish I can help more to troubleshoot this but without a full log file. I only assume that you are using Jetbackup because the log file shows u own that process and when you said you "only used to using DA on the frontend", that made my second assumption that you did not have root access. Your log file has only a few lines and there must be something wrong. I hope others can help you.
As far I understand, there is only 2 ways to determine restoration progress in Directadmin. In Directadmin message system or the command I gave to you. I ever asked this question in the forum how to determine that (so I can detect the error like what you are facing) but I got no replies and the reason is that there is no other method. It's magic in the system
I want to determine if the backup restoration has finished successfully from the admin_backup via script or command line. I can execute restoration via API and there is no problem with it. In the current DirectAdmin 1.63.0, when I do restore via API or GUI, it will just add the restoration...
forum.directadmin.com
Also, they came out with a new confusing API on how to determine the progress bar that requires an unknown process ID (PID) ( I think we need the ability to read RAM inside a server to get that PID). Believe me, I started to curse politely when I read that. Here it is: