home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
leftovers in database
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="RoChess" data-source="post: 920019" data-attributes="member: 18896"><p>And next time make a backup <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p> </p><p>There are plugins that will do it for you, or you can use your own method. I launch MediaPortal via a batch-script to make sure it doesn't launch again when it is already running (concurrent RDP), and I've added a verification and backup method to it. To verify the databases did not corrupt I use the open source commandline util from the SQLite project via:</p><p> </p><p>[code]</p><p>echo pragma integrity_check; | sqlite3.exe "%~dpf1" | find /c "ok" &&SET Pass=Yes</p><p>IF "%Pass%"=="Yes" (</p><p> ::DB3 good</p><p>)</p><p>IF "%Pass%"=="No" (</p><p> ::DB3 corrupt</p><p>)</p><p>[/code]</p><p> </p><p>And if it passes it will become the new backup and if it fails the previous backup file is restored. Was forced to do this because the FanartHandler database tends to corrupt on occasion for me. The script also checks to see if it is a new month and then makes an additional backup. The entire script is very specific for my usage, but if there is interest I will clean it up so others can use it.</p></blockquote><p></p>
[QUOTE="RoChess, post: 920019, member: 18896"] And next time make a backup :) There are plugins that will do it for you, or you can use your own method. I launch MediaPortal via a batch-script to make sure it doesn't launch again when it is already running (concurrent RDP), and I've added a verification and backup method to it. To verify the databases did not corrupt I use the open source commandline util from the SQLite project via: [code] echo pragma integrity_check; | sqlite3.exe "%~dpf1" | find /c "ok" &&SET Pass=Yes IF "%Pass%"=="Yes" ( ::DB3 good ) IF "%Pass%"=="No" ( ::DB3 corrupt ) [/code] And if it passes it will become the new backup and if it fails the previous backup file is restored. Was forced to do this because the FanartHandler database tends to corrupt on occasion for me. The script also checks to see if it is a new month and then makes an additional backup. The entire script is very specific for my usage, but if there is interest I will clean it up so others can use it. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
leftovers in database
Contact us
RSS
Top
Bottom