Validation errors: [backups.0.instances.10.repository_path: Invalid type. Expected: string, given: null]

NethServer Version: NS8
Module: Backup

Hi,

I am unable to access the Backup section of Dashboard.

Error:

Validation errors: [backups.0.instances.10.repository_path: Invalid type. Expected: string, given: null]

I had a working backup for some month now, but recently installed odoo. As part of the setup it asked to configure a backup, which i went through.

A few days later i went into the backup section of the dashboard and realised i 2 separate backups there. One was the old one, and the other for Odoo, that i installed recently. My idea was to consolidate it, so i deleted the last one for odoo, and ticked the option in my original Backup.

Then i went on doing a restore of a wordpress module a few times, and is now blurry how exactly, but i ended up with the Backup module being not accessible anymore, with the above error.

I followed this post but api-cli run list-backups | jq did not fix it for me.

Trying to follo this, but i do not know where to find the ID for api-cli run remove-backup-repository --data ‘{“id”:“c7a9cfea-303c-5104-8ab7-39ac9f9842bd”}’

Any help is appretiated.

To find the ID you could use the restic-wrapper command.

Great, that solved it for me:

runagent restic-wrapper --help
restic-wrapper --show

:slight_smile:

1 Like