Crashed Restore - How to Clean up?
Hello,
during an account restore, at around 36%, the server did abnormal reset (power outage) and
the restore did not had the time to properly finish or exit, as it was not a normal reboot ...
So, now in the transfer logs, it is FROZEN on the status, showing like it is still running,
but the process is actually not running / pid is not exist, as box rebooted ...
Any ideas how to properly clean-up all partial left-overs and then run again the restoration ???
I tried restoring and check the option to overwrite user, but it says username already exists,
while I have confirmed the account not exists on "list accounts", so I'm afraid things broke
in the middle, due to power out-age ...
Please, let me know if there is some script / command / tool, that can clean-up partial / broken
restore / transfers ...
Thanks !!!
-
I would try from SSH: # /scripts/restorepkg --force /location/to/backup.tar.gz0 -
I tried restoring and check the option to overwrite user, but it says username already exists,
Hello :) You can check to see if the user exists with a command such as:id $username
If so, you can manually remove this user via the "userdel" and "groupdel" commands:userdel $user groupdel $user
Thank you.0
Please sign in to leave a comment.
Comments
2 comments