TALES of the VALIANT
  1. #1

    is it possible to recover db.xml

    Hi,

    I was manually editing db.xml to put multiple paragraphs in a frame, something i've done dozens of times. but i must have done something wrong, as when I loaded the campaign to check my work i got some warnings (see below), and the campaign was completely utterly blank. Some quick googling suggests there's a db.backup.xml somewhere, but i don't see one in the campaign folder, i'm not sure if that's something people (smartly) do manually before manipulating their files. It's not a huge loss, but would be nice to recover if at all possible (i'm suspecting not - although i see below the log mentioned a backup was created...where is it?)

    [12/17/2022 12:47:32 AM] [ERROR] Process Data File (): An error occurred while parsing EntityName. Line 1604, position 545.
    [12/17/2022 12:47:32 AM] [ERROR] Error while loading campaign database.
    [12/17/2022 12:47:33 AM] MEASURE: LOAD - PART 1 - 8.5653756
    [12/17/2022 12:47:33 AM] Migrating campaign database to latest data version. (CoreRPG)
    [12/17/2022 12:47:33 AM] Campaign database backup created.
    [12/17/2022 12:47:33 AM] MEASURE: MODULE LOAD - 0.2529739 - D&D Monster Manual
    [12/17/2022 12:47:33 AM] MEASURE: MODULE LOAD - 0.0214616 - D&D Monsters of the Multiverse - Players
    [12/17/2022 12:47:34 AM] MEASURE: LOAD - PART 2 - 1.3304518
    [12/17/2022 12:48:08 AM] Destroying match
    [12/17/2022 12:48:08 AM] Tabletop scene exiting.
    [12/17/2022 12:48:08 AM] Launcher scene starting.

  2. #2
    Zacchaeus's Avatar
    Join Date
    Dec 2014
    Location
    Scotland
    Posts
    21,945
    If you have session files you can revert to an earlier save https://fantasygroundsunity.atlassia...n+Earlier+Save

    Note that you can add a paragraph inside a text frame by positioning your cursor where you want the break to be and press SHIFT+ enter. See video fourteen here https://www.fantasygrounds.com/forum...w-Video-Series
    If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php

  3. #3
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    18,235
    Blog Entries
    9
    If you don't have a backup of the db, you can use something like notepad++ to make sure the xml is well formatted. It might be as simple as you forgot to close a tag or such. If you haven't already.

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

  4. #4
    Thank-you! I didn't realize the session files were backups, i thought there were maybe chatlogs. I had only one session file with the content, which also had the error in it. Turned out to be a missing '#'. It wouldn't have been a huge disaster like some of my other modules, but I'm a bit relieved to not have to recreate that work, and to know that each campaign does indeed have backup files.

  5. #5
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    27,247
    Blog Entries
    1
    You shoudl consider also backing up your campaign directories periodically in case you have a disk failure, virus, human error etc..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in