Skip to content

Import of backup fails due to MAriaDB version incompatibility #80

@borpin

Description

@borpin

Background - https://community.openenergymonitor.org/t/import-from-archive-fails/27147

Reasons - https://community.openenergymonitor.org/t/import-from-archive-fails/27147/13?u=borpin

Solution;

At backup
Remove the line at backup time with something like mariadb-dump|tail +2.
On Import
Remove the line at import time with something like tail +2|mariadb.

For both, check for the word 'Sandbox' in the first line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions