storage: pass limits object to backend
This commit is contained in:
@@ -264,7 +264,7 @@ async function upload(backupSite, remotePath, dataLayout, progressCallback) {
|
||||
return await promiseRetry({ times: 5, interval: 20000, debug }, async () => {
|
||||
progressCallback({ message: `Uploading backup ${remotePath}` });
|
||||
|
||||
const uploader = await backupSites.storageApi(backupSite).upload(backupSite.config, remotePath);
|
||||
const uploader = await backupSites.storageApi(backupSite).upload(backupSite.config, backupSite.limits, remotePath);
|
||||
const { stats, integrity } = await tarPack(dataLayout, backupSite.encryption, uploader, progressCallback);
|
||||
|
||||
// use '.' instead of remote path since the backup can be moved to another path
|
||||
|
||||
Reference in New Issue
Block a user