backup_service.py

Module containing methods for creating and restoring backups of the system

@TeamAlpha 2018 CodeMarker backup_service.py

app.backup_service.create_backup()[source]

Create backup zip and store it in the backups/ folder

Returns:
response – description whether backup was successful
app.backup_service.restore_backup(request)[source]

Provided a backup file, restore the file system from it

Returns:
request – whether backup was successful or not.