2019-01-06 17:34:02 +01:00
|
|
|
import os
|
|
|
|
|
|
|
|
|
|
|
|
class Backup:
|
|
|
|
|
|
|
|
config = {}
|
|
|
|
|
2019-01-06 21:29:21 +01:00
|
|
|
def __init__(self, name, cfg=None):
|
2019-01-06 17:34:02 +01:00
|
|
|
pass
|
|
|
|
|
|
|
|
def run(self):
|
|
|
|
pass
|
|
|
|
|
2019-01-06 21:29:21 +01:00
|
|
|
@classmethod
|
|
|
|
def instance(cls, name, cfg):
|
|
|
|
return Backup(name, cfg)
|