mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-22 09:12:58 +01:00
Fix backup name
This commit is contained in:
parent
f0e603431c
commit
54e4f2f769
@ -73,13 +73,13 @@ export function doBackupWorkflow(type: WorkflowType) {
|
|||||||
if (webdavConfig.chunckedUpload) {
|
if (webdavConfig.chunckedUpload) {
|
||||||
return webDavService.chunkedUpload(
|
return webDavService.chunkedUpload(
|
||||||
tmpFile,
|
tmpFile,
|
||||||
getBackupFolder(type, webdavConfig) + name,
|
getBackupFolder(type, webdavConfig) + name + ".tar",
|
||||||
webdavConfig
|
webdavConfig
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return webDavService.webdavUploadFile(
|
return webDavService.webdavUploadFile(
|
||||||
tmpFile,
|
tmpFile,
|
||||||
getBackupFolder(type, webdavConfig) + name,
|
getBackupFolder(type, webdavConfig) + name + ".tar",
|
||||||
webdavConfig
|
webdavConfig
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user