diff --git a/src/backups.js b/src/backups.js index ff24d49dc..924de75bf 100644 --- a/src/backups.js +++ b/src/backups.js @@ -459,7 +459,7 @@ function uploadBoxSnapshot(backupConfig, callback) { // for the moment, box backups are always tarball based. this is because it makes it easy to restore // in the future, if required, we can move out the mailboxes to a separate virtual app backup - const format = backupConfig.provider === 'exoscale-sos' ? 'flat-file' : 'tgz'; // see also rotateBoxBackup + const format = backupConfig.provider === 'exoscale-sos' ? 'rsync' : 'tgz'; // see also rotateBoxBackup runBackupTask('snapshot/box', format, paths.BOX_DATA_DIR, function (error) { if (error) return callback(error); @@ -482,7 +482,7 @@ function rotateBoxBackup(backupConfig, timestamp, appBackupIds, callback) { var snapshotTime = snapshotInfo.timestamp.replace(/[T.]/g, '-').replace(/[:Z]/g,''); var backupId = util.format('%s/box_%s_v%s', timestamp, snapshotTime, config.version()); - const format = backupConfig.provider === 'exoscale-sos' ? 'flat-file' : 'tgz'; // // see also uploadBoxSnapshot + const format = backupConfig.provider === 'exoscale-sos' ? 'rsync' : 'tgz'; // // see also uploadBoxSnapshot debug('rotateBoxBackup: rotating to id:%s', backupId);