HEX
Server: Apache
System: Linux srv.kreative-web.pt 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
User: kevinefranco (1040)
PHP: 8.2.30
Disabled: mail,system,passthru,exec,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,ini_restore
Upload Files
File: //lib/Acronis/PyTools/commands/protect.py
import acrort
import acrobind.protection


def deploy(*args, **kw):
    ctx = acrort.remoting.CommandContext(*args, **kw)
    result = acrobind.protection.deploy_plan(ctx.argument, ctx.connection)
    return result


def protect_now(*args, **kw):
    ctx = acrort.remoting.CommandContext(*args, **kw)
    result = acrobind.protection.protect_now(ctx.argument, ctx.connection)
    return result