mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-08-18 13:44:55 +02:00
Change :
to -
in auto backup name
This commit is contained in:
parent
314a194368
commit
982b16a8ee
@ -124,7 +124,7 @@ class CronContainer {
|
|||||||
if (status.status === "creating" || status.status === "upload" || status.status === "download")
|
if (status.status === "creating" || status.status === "upload" || status.status === "download")
|
||||||
return;
|
return;
|
||||||
|
|
||||||
let name = 'Auto-' + moment().format('YYYY-MM-DD_HH:mm');
|
let name = 'Auto-' + moment().format('YYYY-MM-DD_HH-mm');
|
||||||
hassioApiTools.createNewBackup(name).then((id) => {
|
hassioApiTools.createNewBackup(name).then((id) => {
|
||||||
hassioApiTools.downloadSnapshot(id)
|
hassioApiTools.downloadSnapshot(id)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user