• Dietmar Maurer's avatar
    cleanup vzdump -stop implementation · 8b0470b4
    Dietmar Maurer authored
    * 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
    8b0470b4
VZDump.pm 4.39 KB