Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1484

Backup manager and engine databases

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.3
    • Fix Version/s: 4.1.0
    • Component/s: Framework
    • Sprint:
      nxDrive 11.1.2, nxDrive 11.1.3
    • Story Points:
      2

      Description

      We need to add a backup system for local databases.

      The final implementation does the following:

      • It runs every hour, as well as on exit before trying to stop threads (a potential cause of database corruption).
      • It dumps the database into a "backups" folder, and appends a timestamp to the original filename.
      • It deletes backups older than 24 hours upon saving a new one.
      • In case of database error on startup, it restores the most recent backup.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 4 hours
                  1d 4h