[98_backupToStorage] Modul zum upload des FHEM Backups auf ein Storage

Begonnen von CoolTux, 18 Juni 2020, 13:14:42

Vorheriges Thema - Nächstes Thema

CoolTux

Ich überarbeite gerade das Modul.
Ich habe als Setter nun active und inactive und als Attribute disable und disaledForIntervals.
Desweiteren habe ich die komplette Fehlerbehandlung verbessert. Nun kommen auch entsprechende Fehlermeldungen.

Gebt mir noch ein paar Tage dann habe ich auch was zum testen für Euch.



Grüße
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

DS_Starter

Hallo zusammen,

ich habe nun die Beta-Version von SSFile - Integration der Synology File Station über mein contrib veröffentlicht.
Siehe -> https://forum.fhem.de/index.php/topic,115371.0.html

Die Verwendung der privaten Cloud zu Hause für Backup und Restore auf seine Synology ist nun über die API möglich.

@Cooltux, zu gegebener Zeit können wir uns dann mal der Integration in dein Modul widmen.

Grüße,
Heiko
ESXi@NUC+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

CoolTux

Neue Version ist draußen. Bitte testet diese einmal. Es kann nun das Device disabled werden und außerdem kann ein disabledForIntervals gesetzt werden.


Grüße
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

fr00sch

@CoolTux:

Cool dankeschön.

attr TestBackup disable 1
funktioniert schonmal. Cool wäre die Möglichkeit auch  "disable 0" zu übergeben, um es dynamisch immer ein- und auszuschalten, statt das Attribute löschen zu müssen.

Der Code:
attr TestBackup disabledForIntervals 1@00:00-6@24:00
wie es in https://fhem.de/commandref_DE.html#disabledForIntervals beschrieben wird funktioniert leider nicht.
Hier kommt folgender Fehler auf:
check disabledForIntervals Syntax HH:MM-HH:MM or HH:MM-HH:MM HH:MM-HH:MM ...

Wäre cool, wenn eine der beiden Varianten funktionieren würde.
RPi3B+ als FHEM mit VCCU,ZWave,Signalduino,MQTT
RPi4B als CCU3
QNAP TS451p(mit Docker) als Messwerte-Datenbank

CoolTux

Bei mir gibt es für disable keine 0, entweder aktivieren oder entfernen.
Man kann auch set inaktive machen, geht dann flexibel und ohne Attribut.

Probiere mal bitte 13:00-13:30 16:00-23:00

So ist die korrekte Syntax.


Grüße
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

antonwinden

Wann genau wird eigentlich gesichert? mein device hat einmal in nextcloud ein file gesichert aber trotz neuer backup's tut sich nichts...
siehe list vom device:
Internals:
   FUUID      5f8e8966-f33f-d8e8-e14b-c47c07d54137b080
   NAME       myNextcloudUpload
   NOTIFYDEV  global,myNextcloudUpload
   NR         941
   NTFY_ORDER 51-myNextcloudUpload
   STATE      ready
   STORAGETYPE Nextcloud
   TYPE       backupToStorage
   VERSION    v1.1.0
   READINGS:
     2020-10-31 23:50:00   fhemBackupFile  ./backup/FHEM-20201031_235000.tar.gz
     2020-10-20 23:50:54   state           ready
     2020-10-20 23:50:54   uploadState     upload successfully
Attributes:
   bTS_Host   nextcloud.XXX.eu
   bTS_Path   /fhem
   bTS_Type   Nextcloud
   bTS_User   XXX
   group      Backup
   room       System

gruß anton
KNX, Raspberry, Denon 3313, Philips TV, Xtrend9X00 und viel Optimismus...

CoolTux

Zitat von: antonwinden am 01 November 2020, 14:34:56
Wann genau wird eigentlich gesichert? mein device hat einmal in nextcloud ein file gesichert aber trotz neuer backup's tut sich nichts...
siehe list vom device:
Internals:
   FUUID      5f8e8966-f33f-d8e8-e14b-c47c07d54137b080
   NAME       myNextcloudUpload
   NOTIFYDEV  global,myNextcloudUpload
   NR         941
   NTFY_ORDER 51-myNextcloudUpload
   STATE      ready
   STORAGETYPE Nextcloud
   TYPE       backupToStorage
   VERSION    v1.1.0
   READINGS:
     2020-10-31 23:50:00   fhemBackupFile  ./backup/FHEM-20201031_235000.tar.gz
     2020-10-20 23:50:54   state           ready
     2020-10-20 23:50:54   uploadState     upload successfully
Attributes:
   bTS_Host   nextcloud.XXX.eu
   bTS_Path   /fhem
   bTS_Type   Nextcloud
   bTS_User   XXX
   group      Backup
   room       System

gruß anton

Mach bitte ein Update und teste dann noch mal.


Grüße
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

antonwinden

Update hab ich gemacht (von 1.1.0 auf 1.2.0) - zuerst keine Wirkung aber nach set active schreibt er das backup in meine cloud nur gibt es dabei eine Fehlermeldung:
Internals:
   FUUID      5f8e8966-f33f-d8e8-e14b-c47c07d54137b080
   NAME       myNextcloudUpload
   NOTIFYDEV  global,myNextcloudUpload
   NR         941
   NTFY_ORDER 51-myNextcloudUpload
   STATE      ready
   STORAGETYPE Nextcloud
   TYPE       backupToStorage
   VERSION    v1.2.0
   READINGS:
     2020-11-01 19:04:21   fhemBackupFile  ./backup/FHEM-20201101_190421.tar.gz
     2020-11-01 19:05:33   state           ready
     2020-11-01 19:05:33   uploadState     unknown error
Attributes:
   bTS_Host   nextcloud.XXXX.eu
   bTS_Path   /fhem
   bTS_Type   Nextcloud
   bTS_User   XXXX
   group      Backup
   room       System

gruß anton
KNX, Raspberry, Denon 3313, Philips TV, Xtrend9X00 und viel Optimismus...

CoolTux

Stell mal bitte auf verbose 5 und starte noch mal. Dann das Log hier Posten oder mir privat zukommen lassen.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

fr00sch

Zitat von: CoolTux am 31 Oktober 2020, 20:10:39
Bei mir gibt es für disable keine 0, entweder aktivieren oder entfernen.
Man kann auch set inaktive machen, geht dann flexibel und ohne Attribut.

Probiere mal bitte 13:00-13:30 16:00-23:00

So ist die korrekte Syntax.


Grüße

Die set-Funktion "active" und "inactive" löst mein Problem :-D, danke damit kann ich gut arbeiten.

Die Zeitenangabe, wie du es vorgeschlagen hast, funktioniert.

Vielen Dank für das Modul.
RPi3B+ als FHEM mit VCCU,ZWave,Signalduino,MQTT
RPi4B als CCU3
QNAP TS451p(mit Docker) als Messwerte-Datenbank

antonwinden

na ja - der erfolg mit fehlermeldung war nur von kurzer Dauer. Um Mitternacht hat es das tägliche Backup noch in die Cloud gespeichert seither ist nix.
hab es heute auf verbose 5 gestellt und backup angestoßen. Ergebnis:
2020.11.02 07:51:26.482 4:  backupToStorage (myNextcloudUpload) - Devname: global Name: myNextcloudUpload Notify: $VAR1 = [
          'backup done'
        ];

2020.11.02 07:51:26.482 4:  backupToStorage (myNextcloudUpload) - push to storage function
2020.11.02 07:53:47.753 4:  backupToStorage (myNextcloudUpload) - Read password from file
2020.11.02 07:53:47.754 4:  backupToStorage (myNextcloudUpload) - Read password from file
2020.11.02 07:56:24.351 4:  backupToStorage (myNextcloudUpload) - Read password from file
2020.11.02 07:56:24.353 4:  backupToStorage (myNextcloudUpload) - Read password from file
2020.11.02 08:02:04.084 4:  backupToStorage (myNextcloudUpload) - Devname: global Name: myNextcloudUpload Notify: $VAR1 = [
          'UNDEFINED KNX_0106053 KNX 1/6/53:MODEL_NOT_DEFINED'
        ];

2020.11.02 08:17:04.026 1:  PERL WARNING: Argument "11.67 Celsius" isn't numeric in addition (+) at ./FHEM/98_feels_like.pm line 584.
2020.11.02 08:17:04.153 4:  backupToStorage (myNextcloudUpload) - Devname: global Name: myNextcloudUpload Notify: $VAR1 = [
          'UNDEFINED KNX_0106053 KNX 1/6/53:MODEL_NOT_DEFINED'
        ];

2020.11.02 08:19:35.348 3:  [FroniusWR] [fronius_setState] to connected
2020.11.02 08:20:03.986 4:  backupToStorage (myNextcloudUpload) - Devname: global Name: myNextcloudUpload Notify: $VAR1 = [
          'UNDEFINED KNX_0106053 KNX 1/6/53:MODEL_NOT_DEFINED'
        ];

2020.11.02 08:22:49.201 3:  FroniusMPPT: ParseObj unpack of 8000 with f> for Temp_String2__C resulted in undefined value
2020.11.02 08:23:01.945 4:  backupToStorage (myNextcloudUpload) - Devname: global Name: myNextcloudUpload Notify: $VAR1 = [
          'UNDEFINED KNX_0106053 KNX 1/6/53:MODEL_NOT_DEFINED'
        ];

2020.11.02 08:25:35.514 3:  [FroniusWR] [fronius_setState] to connected
2020.11.02 08:26:03.786 4:  backupToStorage (myNextcloudUpload) - Devname: global Name: myNextcloudUpload Notify: $VAR1 = [
          'UNDEFINED KNX_0106053 KNX 1/6/53:MODEL_NOT_DEFINED'
        ];

2020.11.02 08:28:49.503 3:  FroniusMPPT: ParseObj unpack of 8000 with f> for Temp_String2__C resulted in undefined value
2020.11.02 08:29:02.049 4:  backupToStorage (myNextcloudUpload) - Devname: global Name: myNextcloudUpload Notify: $VAR1 = [
          'UNDEFINED KNX_0106053 KNX 1/6/53:MODEL_NOT_DEFINED'
        ];

2020.11.02 08:31:34.793 3:  [FroniusWR] [fronius_setState] to connected
2020.11.02 08:32:04.087 4:  backupToStorage (myNextcloudUpload) - Devname: global Name: myNextcloudUpload Notify: $VAR1 = [
          'UNDEFINED KNX_0106053 KNX 1/6/53:MODEL_NOT_DEFINED'
        ];

keine ahnung warum und wieso es gestern ging mit fehlermeldung und heute hängt es wieder.
gruß anton
hab die anderen teile des logs gelöscht und nur jeweils die letzte Zeile vor backup... drinnen gelassen.
KNX, Raspberry, Denon 3313, Philips TV, Xtrend9X00 und viel Optimismus...

CoolTux

Er scheint nicht weiter zu machen weil der Timestamp des Readings für das Backupfile zu alt ist.
Mach mal bitte noch mal ein backup und danach sofort ein list vom Device. Verbose 5 bitte nicht vergessen.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

antonwinden

List vom Device:
Internals:
   FUUID      5f8e8966-f33f-d8e8-e14b-c47c07d54137b080
   NAME       myNextcloudUpload
   NOTIFYDEV  global,myNextcloudUpload
   NR         941
   NTFY_ORDER 51-myNextcloudUpload
   STATE      ready
   STORAGETYPE Nextcloud
   TYPE       backupToStorage
   VERSION    v1.2.0
   READINGS:
     2020-11-02 10:42:02   fhemBackupFile  ./backup/FHEM-20201102_104202.tar.gz
     2020-11-02 07:49:51   state           ready
     2020-11-01 23:51:13   uploadState     unknown error
Attributes:
   bTS_Host   nextcloud.XXX.eu
   bTS_Path   /fhem
   bTS_Type   Nextcloud
   bTS_User   XXX
   group      Backup
   room       System
   verbose    5

log dazu:
2020.11.02 10:42:02.241 2:  backup include:
2020.11.02 10:42:02.253 2:  backup include:
2020.11.02 10:42:02.260 2:  Backup with command: tar czf ./backup/FHEM-20201102_104202.tar.gz "./unused" "./GPL_V2.txt" "./fhem.cfg" "./fhem.cfg.default" "./alexa-fhem.cfg" "./www" "./log" "./configDB.pm" "./lib" "./COPYING" "./MAINTAINER.txt" "./HISTORY" "./UPGRADE" "./configDB.conf" "./CHANGED" "./contrib" "./demolog" "./Makefile" "./fhem.pl" "./README.SVN" "./fhem.cfg.demo" "./fhem.cfg.bak" "./webfrontend" "./README_DEMO.txt" "./docs" "./restoreDir" "./FHEM"
2020.11.02 10:42:09.714 4:  backupToStorage (myNextcloudUpload) - Read password from file
2020.11.02 10:42:09.715 4:  backupToStorage (myNextcloudUpload) - Read password from file
Backup done
2020.11.02 10:43:23.175 4:  backupToStorage (myNextcloudUpload) - Devname: global Name: myNextcloudUpload Notify: $VAR1 = [
          'backup done'
        ];

2020.11.02 10:43:23.175 4:  backupToStorage (myNextcloudUpload) - push to storage function

danach bis jetzt (11:23) nur mehr Meldungen anderer Devices
wie erkennt man ob das Device aktiv ist?
gruß anton
KNX, Raspberry, Denon 3313, Philips TV, Xtrend9X00 und viel Optimismus...

CoolTux

Kannst bitte einmal im File /opt/fhem/lib/FHEM/backupToStorage.pm
in Zeile 383 das

if ( ReadingsAge($name,'fhemBackupFile',1) > 60 );

ändern in

if ( ReadingsAge($name,'fhemBackupFile',1) > 160 );

Und dann ein neustart machen
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

antonwinden

ergibt:
listInternals:
   FUUID      5f8e8966-f33f-d8e8-e14b-c47c07d54137b080
   NAME       myNextcloudUpload
   NOTIFYDEV  global,myNextcloudUpload
   NR         940
   NTFY_ORDER 51-myNextcloudUpload
   STATE      ready
   STORAGETYPE Nextcloud
   TYPE       backupToStorage
   VERSION    v1.2.0
   READINGS:
     2020-11-02 14:15:36   fhemBackupFile  ./backup/FHEM-20201102_141536.tar.gz
     2020-11-02 14:08:03   state           ready
     2020-11-01 23:51:13   uploadState     unknown error
Attributes:
   bTS_Host   nextcloud.XXX.eu
   bTS_Path   /fhem
   bTS_Type   Nextcloud
   bTS_User   XXX
   group      Backup
   room       System
   verbose    5

log
2020.11.02 14:15:30.319 2:  Backup with command: tar czf ./backup/FHEM-20201102_141530.tar.gz "./HISTORY" "./FHEM" "./alexa-fhem.cfg" "./contrib" "./lib" "./fhem.cfg" "./UPGRADE" "./docs" "./CHANGED" "./unused" "./Makefile" "./COPYING" "./demolog" "./configDB.conf" "./GPL_V2.txt" "./README.SVN" "./webfrontend" "./MAINTAINER.txt" "./fhem.cfg.bak" "./fhem.cfg.demo" "./fhem.cfg.default" "./www" "./restoreDir" "./configDB.pm" "./log" "./fhem.pl" "./README_DEMO.txt"
2020.11.02 14:15:36.323 2:  backup include:
2020.11.02 14:15:36.331 2:  backup include:
2020.11.02 14:15:36.337 2:  Backup with command: tar czf ./backup/FHEM-20201102_141536.tar.gz "./HISTORY" "./lib" "./alexa-fhem.cfg" "./contrib" "./FHEM" "./fhem.cfg" "./UPGRADE" "./docs" "./CHANGED" "./Makefile" "./unused" "./COPYING" "./demolog" "./README.SVN" "./GPL_V2.txt" "./configDB.conf" "./webfrontend" "./fhem.cfg.bak" "./MAINTAINER.txt" "./www" "./fhem.cfg.default" "./fhem.cfg.demo" "./fhem.pl" "./README_DEMO.txt" "./log" "./configDB.pm" "./restoreDir"
2020.11.02 14:16:09.038 3:  [FroniusWR] [fronius_setState] to connected
2020.11.02 14:16:09.250 3:  [FroniusWR] [fronius_setState] to connected
2020.11.02 14:16:18.251 3:  FroniusMPPT: ParseObj unpack of 8000 with f> for Temp_String1__C resulted in undefined value
2020.11.02 14:16:25.011 3:  FroniusMPPT: ParseObj unpack of 8000 with f> for Temp_String2__C resulted in undefined value
Backup done
2020.11.02 14:16:34.734 4:  backupToStorage (myNextcloudUpload) - Devname: global Name: myNextcloudUpload Notify: $VAR1 = [
          'backup done'
        ];

2020.11.02 14:16:34.734 4:  backupToStorage (myNextcloudUpload) - push to storage function
2020.11.02 14:16:34.734 4:  backupToStorage (myNextcloudUpload) - after readings age return
2020.11.02 14:16:34.759 4:  backupToStorage (myNextcloudUpload) - Read password from file
2020.11.02 14:16:34.782 4:  backupToStorage (myNextcloudUpload) - Devname: myNextcloudUpload Name: myNextcloudUpload Notify: $VAR1 = [
          'state:  file upload in progress'
        ];

2020.11.02 14:16:34.783 4:  backupToStorage (myNextcloudUpload) - Read password from file
2020.11.02 14:16:34.785 4:  backupToStorage (myNextcloudUpload) - execute command asynchronously (PID=2742852)
2020.11.02 14:16:34.785 4:  backupToStorage (myNextcloudUpload) - control passed back to main loop.
Backup done
2020.11.02 14:16:35.122 4:  backupToStorage (myNextcloudUpload) - Devname: global Name: myNextcloudUpload Notify: $VAR1 = [
          'backup done'
        ];

2020.11.02 14:16:35.122 4:  backupToStorage (myNextcloudUpload) - push to storage function
2020.11.02 14:16:35.122 4:  backupToStorage (myNextcloudUpload) - after readings age return
2020.11.02 14:16:35.152 4:  backupToStorage (myNextcloudUpload) - Read password from file
2020.11.02 14:16:35.173 4:  backupToStorage (myNextcloudUpload) - Devname: myNextcloudUpload Name: myNextcloudUpload Notify: $VAR1 = [
          'state:  file upload in progress'
        ];

2020.11.02 14:16:35.174 4:  backupToStorage (myNextcloudUpload) - Read password from file
2020.11.02 14:16:35.176 4:  backupToStorage (myNextcloudUpload) - execute command asynchronously (PID=2742877)
2020.11.02 14:16:35.176 4:  backupToStorage (myNextcloudUpload) - control passed back to main loop.
2020.11.02 14:16:35.791 5:  backupToStorage (myNextcloudUpload) - still waiting (read: no data).
2020.11.02 14:16:36.231 5:  backupToStorage (myNextcloudUpload) - still waiting (read: no data).
2020.11.02 14:16:36.812 5:  backupToStorage (myNextcloudUpload) - still waiting (read: no data).
2020.11.02 14:16:37.244 5:  backupToStorage (myNextcloudUpload) - still waiting (read: no data).
2020.11.02 14:16:37.815 5:  backupToStorage (myNextcloudUpload) - still waiting (read: no data).
2020.11.02 14:16:38.246 5:  backupToStorage (myNextcloudUpload) - still waiting (read: no data).
2020.11.02 14:16:38.816 5:  backupToStorage (myNextcloudUpload) - still waiting (read: no data).
2020.11.02 14:16:39.303 5:  backupToStorage (myNextcloudUpload) - still waiting (read: no data).
2020.11.02 14:16:39.818 5:  backupToStorage (myNextcloudUpload) - still waiting (read: no data).
2020.11.02 14:16:40.320 5:  backupToStorage (myNextcloudUpload) - still waiting (read: no data).
2020.11.02 14:16:40.823 5:  backupToStorage (myNextcloudUpload) - still waiting (read: no data).
2020.11.02 14:16:41.322 5:  backupToStorage (myNextcloudUpload) - still waiting (read: no data).
2020.11.02 14:16:41.835 5:  backupToStorage (myNextcloudUpload) - still waiting (read: no data).
2020.11.02 14:16:42.323 5:  backupToStorage (myNextcloudUpload) - still waiting (read: no data).
2020.11.02 14:16:42.842 5:  backupToStorage (myNextcloudUpload) - still waiting (read: no data).
2020.11.02 14:16:45.661 5:  backupToStorage (myNextcloudUpload) - still waiting (read: no data).
2020.11.02 14:16:45.662 5:  backupToStorage (myNextcloudUpload) - still waiting (read: no data).
2020.11.02 14:16:46.662 5:  backupToStorage (myNextcloudUpload) - still waiting (read: no data).
2020.11.02 14:16:46.666 5:  backupToStorage (myNextcloudUpload) - still waiting (read: no data).
backupToStorage File Upload - FileUpload Nextcloud, returnCode: 72057594037927935 , returnString:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0  214M    0     0    0 1248k      0  5971k  0:00:36 --:--:--  0:00:36 5942k
  1  214M    0     0    1 2752k      0  2274k  0:01:36  0:00:01  0:01:35 2272k
10  214M    0     0   10 22.4M      0  10.0M  0:00:21  0:00:02  0:00:19 10.0M
20  214M    0     0   20 44.3M      0  13.7M  0:00:15  0:00:03  0:00:12 13.7M
30  214M    0     0   30 66.2M      0  15.7M  0:00:13  0:00:04  0:00:09 15.7M
41  214M    0     0   41 88.6M      0  17.0M  0:00:12  0:00:05  0:00:07 17.4M
50  214M    0     0   50  107M      0  17.3M  0:00:12  0:00:06  0:00:06 20.9M
60  214M    0     0   60  130M      0  18.0M  0:00:11  0:00:07  0:00:04 21.6M
70  214M    0     0   70  151M      0  18.4M  0:00:11  0:00:08  0:00:03 21.3M
79  214M    0     0   79  171M      0  18.6M  0:00:11  0:00:09  0:00:02 21.0M
88  214M    0     0   88  189M      0  18.5M  0:00:11  0:00:10  0:00:01 20.1M
95  214M    0     0   95  205M      0  18.3M  0:00:11  0:00:11 --:--:-- 19.5M
100  214M  100   287  100  214M     24  18.4M  0:00:11  0:00:11 --:--:-- 19.1M


  OCA\DAV\Connector\Sabre\Exception\FileLocked
  "antonduernberger/files/fhem/FHEM-20201102_141536.tar.gz.upload.part" is locked


backupToStorage File Upload - FileUpload Nextcloud, returnCode: 72057594037927935 , returnString:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0  214M    0     0    0 1408k      0  2323k  0:01:34 --:--:--  0:01:34 2319k
  4  214M    0     0    4 9728k      0  6053k  0:00:36  0:00:01  0:00:35 6049k
14  214M    0     0   14 30.9M      0  11.8M  0:00:18  0:00:02  0:00:16 11.8M
23  214M    0     0   23 51.3M      0  14.2M  0:00:15  0:00:03  0:00:12 14.2M
33  214M    0     0   33 72.1M      0  15.6M  0:00:13  0:00:04  0:00:09 15.6M
42  214M    0     0   42 91.2M      0  16.2M  0:00:13  0:00:05  0:00:08 17.9M
52  214M    0     0   52  111M      0  16.8M  0:00:12  0:00:06  0:00:06 20.4M
61  214M    0     0   61  131M      0  17.3M  0:00:12  0:00:07  0:00:05 20.1M
70  214M    0     0   70  151M      0  17.6M  0:00:12  0:00:08  0:00:04 20.1M
80  214M    0     0   80  172M      0  17.9M  0:00:11  0:00:09  0:00:02 20.0M
89  214M    0     0   89  191M      0  18.0M  0:00:11  0:00:10  0:00:01 20.0M
98  214M    0     0   98  211M      0  18.2M  0:00:11  0:00:11 --:--:-- 20.0M
100  214M    0     0  100  214M      0  17.1M  0:00:12  0:00:12 --:--:-- 16.7M
curl: (92) Stream error in the HTTP/2 framing layer

2020.11.02 14:16:47.663 4:  backupToStorage (myNextcloudUpload) - got result from asynchronous parsing: {"ncUpload":"unknown error"}
2020.11.02 14:16:47.663 4:  backupToStorage (myNextcloudUpload) - asynchronous finished.
2020.11.02 14:16:47.663 4:  backupToStorage (myNextcloudUpload) - clean Subprocess
2020.11.02 14:16:47.668 4:  backupToStorage (myNextcloudUpload) - Devname: myNextcloudUpload Name: myNextcloudUpload Notify: $VAR1 = [
          'state: ready',
          'uploadState: unknown error'
        ];

2020.11.02 14:16:47.668 4:  backupToStorage (myNextcloudUpload) - Read password from file

jetzt hat er das File in die Cloud geladen - mit unknown error
Internals:
   FUUID      5f8e8966-f33f-d8e8-e14b-c47c07d54137b080
   NAME       myNextcloudUpload
   NOTIFYDEV  global,myNextcloudUpload
   NR         940
   NTFY_ORDER 51-myNextcloudUpload
   STATE      ready
   STORAGETYPE Nextcloud
   TYPE       backupToStorage
   VERSION    v1.2.0
   READINGS:
     2020-11-02 14:15:36   fhemBackupFile  ./backup/FHEM-20201102_141536.tar.gz
     2020-11-02 14:16:47   state           ready
     2020-11-02 14:16:47   uploadState     unknown error
Attributes:
   bTS_Host   nextcloud.XXX.eu
   bTS_Path   /fhem
   bTS_Type   Nextcloud
   bTS_User   XXX
   group      Backup
   room       System
   verbose    5

gruß anton
KNX, Raspberry, Denon 3313, Philips TV, Xtrend9X00 und viel Optimismus...