cleanup vzdump -stop implementation
* do not unlink $pidfile inside stop_running_backups to avoid race conditions * use pve UPID to save pid (see PVE::Tools::upid_decode) * allow to pass -stop parameter to nomal backup job * simple return 'OK' instead of calling exit() inside API call. * rename stop_all_backups to stop_running_backups
Showing
Please register or sign in to comment