Giter Site home page Giter Site logo

Comments (4)

mikeberger avatar mikeberger commented on August 14, 2024

Your database file has been corrupted. Usual causes are running out of disk space, improper machine shutdown due to power failure or crash, disk drive failure, running the database on an NFS shared drive.

Your options are to either try to run the H2 recover tool and see what is restored, restore from your latest BORG backup, or restore a good copy of the .borg_db folder if you are backup up your disk.

To restore from either type of backup, first move the database folder to somewhere safe - i.e. mv /home/doug/.borg_db /home/doug/borg_save.

To restore from a disk backup (if you have one), just restore the .borg_db folder from your backup.

To restore from a BORG backup (a backup zip file created by BORG), start BORG, which creates a new, empty db. then use the Import option in BORG to import your latest backup zip file.

I'll continue in a new post....

from borg_calendar.

mikeberger avatar mikeberger commented on August 14, 2024

To attempt using the H2 recover tool you have to run a java program. I'm on windows now. For the actual command lines on Linux, I'd have to switch over to Linux.

In general, you run a program that tries to extract whatever it can from the borgdb.mv.db file into an SQL file. Then you run a second program to recreate the db file from the SQL file. This may be able to recover the entire DB or maybe nothing. It depends what the failure was.

If you need me to get on linux to get the actual commands, let me know. You'd have to have Java installed on your linux machine.

from borg_calendar.

DougBain avatar DougBain commented on August 14, 2024

from borg_calendar.

mikeberger avatar mikeberger commented on August 14, 2024

Good to hear.

from borg_calendar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.