mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-30 04:44:54 +01:00
Fix backup name
This commit is contained in:
parent
7abd6bab8b
commit
6f20b97488
@ -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