backups: add preserve attributes checkbox
This commit is contained in:
@@ -219,6 +219,7 @@ async function testConfig(apiConfig) {
|
||||
|
||||
if ('noHardlinks' in apiConfig && typeof apiConfig.noHardlinks !== 'boolean') throw new BoxError(BoxError.BAD_FIELD, 'noHardlinks must be boolean');
|
||||
if ('chown' in apiConfig && typeof apiConfig.chown !== 'boolean') throw new BoxError(BoxError.BAD_FIELD, 'chown must be boolean');
|
||||
if ('preserveAttributes' in apiConfig && typeof apiConfig.preserveAttributes !== 'boolean') throw new BoxError(BoxError.BAD_FIELD, 'preserveAttributes must be boolean');
|
||||
|
||||
let rootPath; // for managed mounts, this uses 'mountPath', which could be some temporary mount location
|
||||
if (apiConfig.provider === PROVIDER_FILESYSTEM) {
|
||||
|
||||
Reference in New Issue
Block a user