import os
class Backup:
config = {}
def __init__(self, name, cfg=None):
pass
def run(self):
@classmethod
def instance(cls, name, cfg):
return Backup(name, cfg)