Hallo Community, hallo Simon,
ich bin auf der Suche nach einem Cloud-Anbieter, bei dem ich meine Backups und möglicherweise später auch Aufnahmen von Frigate speichern kann. Dabei bin ich auf das Angebot von IONOS gestoßen, wo ich 1TB für 8,40€ im Jahr bekomme, bei Stratos sogar noch günstiger. Während meiner Recherche, ob es auch ein Add-on zur Erstellung von Backups gibt, bin ich auf rclone gestoßen.
jcwillox/hassio-rclone-backup: Ein Home Assistant-Add-on zum automatischen Synchronisieren von Backups mit entfernten Speicherorten unter Verwendung von Rclone.
In den meisten Fällen reicht mein Englisch aus, um mitzukommen, ansonsten lasse ich mir die Seite übersetzen. Die Installation war super einfach, aber dann fing die Odyssee an. Eigentlich sollte laut der Dokumentation auf HiDrive (rclone.org) im Terminal nur “rclone config” eingetragen werden und das würde mich durch einen interaktiven Einrichtungsprozess führen. Aber nein, es kam die Meldung “command not found”.
Also fing ich an zu recherchieren und erstellte die Konfiguration, so wie die rclone.config selbst. Nun konnte ich auch etwas im Explorer sehen. Leider scheint jedoch keine Verbindung hergestellt zu werden.
Hier sind die:
- Konfiguration
jobs:
- name: Sync Daily Backups
schedule: 45 16 * * *
command: sync
sources:
- /backup
destination: ionos-webdav:/Backup/Home Assistant
include: []
exclude: []
flags: {}
dry_run: true
config_path: /config/rclone.conf
- Rclone.conf
[ionos-webdav]
type = webdav
url = https://webdav.hidrive.ionos.com/
vendor = other
user = "mein HIDrive Benutzername"
pass = "mein HIDrive Passwort"
- Protokoll
[2024-04-14] [16:45:00] [INFO]: running "Sync Daily Backups"; /backup -> ionos-webdav:/Backup/Home Assistant
[2024-04-14] [16:45:00] [ERROR]: failed to rename backups, aborting upload: archive/tar: invalid tar header
2024/04/15 16:11:02 ERROR : : error listing: couldn't list files: 401 Unauthorized
2024/04/15 16:11:02 ERROR : rc: "operations/list": error: error in ListJSON: couldn't list files: 401 Unauthorized
[2024-04-15] [16:45:00] [INFO]: running "Sync Daily Backups"; /backup -> ionos-webdav:/Backup/Home Assistant
[2024-04-15] [16:45:00] [ERROR]: failed to rename backups, aborting upload: archive/tar: invalid tar header
-weiteres Protokoll
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/00-banner.sh
Add-on: Rclone Backup
Automatically sync backup to remote locations using rclone
Add-on version: 3.1.0
You are running the latest version of this add-on.
System: Home Assistant OS 12.1 (aarch64 / green)
Home Assistant Core: 2024.4.1
Home Assistant Supervisor: 2024.03.1
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
cont-init: info: /etc/cont-init.d/00-banner.sh exited 0
cont-init: info: running /etc/cont-init.d/01-log-level.sh
cont-init: info: /etc/cont-init.d/01-log-level.sh exited 0
cont-init: info: running /etc/cont-init.d/init.sh
cont-init: info: /etc/cont-init.d/init.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun rclone (no readiness notification)
services-up: info: copying legacy longrun scheduler (no readiness notification)
s6-rc: info: service legacy-services successfully started
[14:13:54] INFO: Installed rclone version:
[14:13:54] INFO: Starting Rclone Web GUI…
2024/04/08 14:13:54 NOTICE: Serving files from “/usr/share/rclone-webui-react”
2024/04/08 14:13:54 NOTICE: Serving remote control on http://[::]:8099/
2024/04/08 14:13:54 NOTICE: Web GUI is not automatically opening browser. Navigate to http://[::]:8099/ to use.
[14:13:54] INFO: rclone v1.65.0
os/version: alpine 3.16.0 (64 bit)
os/kernel: 6.6.20-haos (aarch64)
os/type: linux
os/arch: arm64 (ARMv8 compatible)
go/version: go1.21.4
go/linking: static
go/tags: none
[14:13:54] INFO: Starting Scheduler…
[2024-04-08] [14:13:54] [INFO]: rclone config found
[2024-04-08] [14:13:55] [INFO]: checking job configs…
[2024-04-08] [14:13:55] [INFO]: scheduled jobs:
10 4 * * * sync “Sync Daily Backups”; /backup → ionos-webdav:/Backup/Home Assistant
2024/04/08 14:14:52 ERROR : rc: “operations/uploadfile”: error: couldn’t decrypt password: base64 decode failed when revealing password - is it obscured?: illegal base64 data at input byte 22
2024/04/08 14:15:43 ERROR : rc: “operations/uploadfile”: error: couldn’t decrypt password: base64 decode failed when revealing password - is it obscured?: illegal base64 data at input byte 22
Ich bin hier auf eure Hilfe angewiesen, denn meine bisherigen Recherchen haben mich nicht weitergebracht. Ich bin für jede Hilfestellung dankbar.
Update:
Hier noch weitere Fehlermeldungen:
[2024-04-14] [16:45:00] [INFO]: running "Sync Daily Backups"; /backup -> ionos-webdav:/Backup/Home Assistant
[2024-04-14] [16:45:00] [ERROR]: failed to rename backups, aborting upload: archive/tar: invalid tar header
2024/04/15 16:11:02 ERROR : : error listing: couldn't list files: 401 Unauthorized
2024/04/15 16:11:02 ERROR : rc: "operations/list": error: error in ListJSON: couldn't list files: 401 Unauthorized
[2024-04-15] [16:45:00] [INFO]: running "Sync Daily Backups"; /backup -> ionos-webdav:/Backup/Home Assistant
[2024-04-15] [16:45:00] [ERROR]: failed to rename backups, aborting upload: archive/tar: invalid tar header
by HarryP: Zusammenführung Doppelpost (bitte “bearbeiten” Funktion nutzen)