Ejemplo n.º 1
0
 def handle(self, *args, **options):
     manager = BackupManager()
     print(manager.make_backup())
Ejemplo n.º 2
0
 def handle(self, *args, **options):
     backup_file = options['backup_file'][0]
     manager = BackupManager()
     manager.restore_backup(backup_file)
Ejemplo n.º 3
0
 def handle(self, *args, **options):
     manager = BackupManager()
     print((manager.make_backup()))
Ejemplo n.º 4
0
 def handle(self, *args, **options):
     manager = BackupManager()
     manager.export_active_users()
Ejemplo n.º 5
0
 def handle(self, *args, **options):
     manager = BackupManager()
     manager.export_active_users()
Ejemplo n.º 6
0
 def handle(self, *args, **options):
     backup_file = options['backup_file'][0]
     manager = BackupManager()
     manager.restore_backup(backup_file)