04-20-2012 05:37 AM
We are currently doing a restore of Airwave to a server that has a fresh Centos install on it. We started the restore approximately 13 hours ago and it is still going. There is no progress bar to tell us the status. Tech support said that it would take over a day. Has anyone ever had any experience with this? The processes are hanging at 0 percent which has us concerned. We hate to bail out of it at this point and lose the 13 hours that we have in it. Can anyone advise?
04-20-2012 09:24 AM
You can tell if the restore process is still running with this command:
# psg amp_restore
If that command returns nothing, then the restore has stopped and should be restarted. If you see that it is running, then it's just taking a long time (because it's unzipping/untarring a lot of data).
Pro tip: the amp_restore script should always be run in a screen session. If you need to restart it, I would do this:
# amp_restore -d </complete/path/to/file.tgz>
04-20-2012 10:41 AM
We did run the PSG command and it does show the process. Our worry is that the cpu usage is at 0 percent, so it does not seem like it is doing anything. Can I ask what the "screen" does? I'm not sure what that command is.
04-20-2012 10:44 AM
To answer your question too, Yes, we are going from 7.3.8 (32bit) to 7.3.8 (64bit) version. It looks like it is just hanging at this point because processor usage is at 0%
04-20-2012 11:45 AM
screen creates a multiple window feel at the shell. http://linux.die.net/man/1/screen.
I'm not surprised that there's close to 0 cpu usage. When all the files in the backup are being unpacked, the disks are expected to be heavily utilized, and cpu not utilized.