Backup failed get error message.

General discussions around KeyHelp.
Post Reply
akong77
KeyHelp Translator
Posts: 44
Joined: Mon 2. Aug 2021, 07:39

Backup failed get error message.

Post by akong77 »

Hello,
I backup keyhelp and set keep seven days.But it's fail third day.It' has error message.
Failed to create backup: Fatal: Unmarshal: invalid character 'w' after top-level value


How to fix it?
User avatar
Alexander
Keyweb AG
Posts: 3810
Joined: Wed 20. Jan 2016, 02:23

Re: Backup failed get error message.

Post by Alexander »

You can have a look into <path-to-repository>/keys/ and view the file inside (do not post it here, it contains sensible data). It should contain a valid JSON string. It may got corrupted on your system.

Easy fix, just add a new repository and remove the corrupt one.

Also Restic offers various commands to repair a corrupt repository, you can try that too. More information can be found at restic.net or their forums: https://forum.restic.net/
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Post Reply