Thread: is it possible to recover db.xml
-
December 17th, 2022, 06:43 #1
- Join Date
- Oct 2020
- Posts
- 109
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.
-
December 17th, 2022, 09:25 #2
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-SeriesIf 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
-
December 17th, 2022, 16:01 #3
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.
-
December 17th, 2022, 18:45 #4
- Join Date
- Oct 2020
- Posts
- 109
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.
-
December 18th, 2022, 03:28 #5
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