backup site: add contents
it is a json that can be one of the three: * null - include everything * include - only include these ids * exclude - everything except these ids
This commit is contained in:
@@ -29,7 +29,8 @@ describe('backups', function () {
|
||||
config: { backupDir: '/tmp/boxtest2' },
|
||||
format: 'rsync',
|
||||
retention: { keepWithinSecs: 2 * 24 * 60 * 60 },
|
||||
schedule: '00 00 23 * * *'
|
||||
schedule: '00 00 23 * * *',
|
||||
contents: null
|
||||
};
|
||||
|
||||
const appBackup = {
|
||||
|
||||
@@ -228,7 +228,8 @@ async function databaseSetup() {
|
||||
config: { backupDir: '/tmp/boxtest' },
|
||||
format: 'tgz',
|
||||
retention: { keepWithinSecs: 2 * 24 * 60 * 60 },
|
||||
schedule: '00 00 23 * * *'
|
||||
schedule: '00 00 23 * * *',
|
||||
contents: null
|
||||
}, auditSource);
|
||||
await backupSites.setPrimary({ id }, auditSource);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user