mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-29 13:12:20 +03:00
14 lines
346 B
Python
14 lines
346 B
Python
|
#!/usr/bin/python3
|
||
|
# -*- coding: utf-8 -*-
|
||
|
# Author: Seren Piri <seren.piri@agem.com.tr>
|
||
|
|
||
|
import sys
|
||
|
import os.path
|
||
|
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__))))
|
||
|
|
||
|
from backup_util import BackupUtil
|
||
|
|
||
|
def handle_policy(profile_data, context):
|
||
|
backup = BackupUtil(profile_data, context, "policy")
|
||
|
backup.backup()
|