Add encryptionVersion to backups
this will identify the old style backups and warn user that a restore doesn't work anymore
This commit is contained in:
@@ -95,6 +95,7 @@ describe('backups', function () {
|
||||
describe('cleanup', function () {
|
||||
var BACKUP_0 = {
|
||||
id: 'backup-box-0',
|
||||
encryptionVersion: null,
|
||||
packageVersion: '1.0.0',
|
||||
type: backupdb.BACKUP_TYPE_BOX,
|
||||
dependsOn: [ 'backup-app-00', 'backup-app-01' ],
|
||||
@@ -104,6 +105,7 @@ describe('backups', function () {
|
||||
|
||||
var BACKUP_0_APP_0 = {
|
||||
id: 'backup-app-00',
|
||||
encryptionVersion: null,
|
||||
packageVersion: '1.0.0',
|
||||
type: backupdb.BACKUP_TYPE_APP,
|
||||
dependsOn: [],
|
||||
@@ -113,6 +115,7 @@ describe('backups', function () {
|
||||
|
||||
var BACKUP_0_APP_1 = {
|
||||
id: 'backup-app-01',
|
||||
encryptionVersion: null,
|
||||
packageVersion: '1.0.0',
|
||||
type: backupdb.BACKUP_TYPE_APP,
|
||||
dependsOn: [],
|
||||
@@ -122,6 +125,7 @@ describe('backups', function () {
|
||||
|
||||
var BACKUP_1 = {
|
||||
id: 'backup-box-1',
|
||||
encryptionVersion: null,
|
||||
packageVersion: '1.0.0',
|
||||
type: backupdb.BACKUP_TYPE_BOX,
|
||||
dependsOn: [ 'backup-app-10', 'backup-app-11' ],
|
||||
@@ -131,6 +135,7 @@ describe('backups', function () {
|
||||
|
||||
var BACKUP_1_APP_0 = {
|
||||
id: 'backup-app-10',
|
||||
encryptionVersion: null,
|
||||
packageVersion: '1.0.0',
|
||||
type: backupdb.BACKUP_TYPE_APP,
|
||||
dependsOn: [],
|
||||
@@ -140,6 +145,7 @@ describe('backups', function () {
|
||||
|
||||
var BACKUP_1_APP_1 = {
|
||||
id: 'backup-app-11',
|
||||
encryptionVersion: null,
|
||||
packageVersion: '1.0.0',
|
||||
type: backupdb.BACKUP_TYPE_APP,
|
||||
dependsOn: [],
|
||||
|
||||
Reference in New Issue
Block a user