NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 92 93 94 95 96 … 433 Next »
Shows gone from database after crash

Shows gone from database after crash
afeldspar
Offline

Junior Member

Posts: 6
Threads: 2
Joined: Nov 2016
#1
2017-04-21, 11:45 PM
tl;dr version -- My NextPVR computer lost power and now the database is missing most shows it should have. What's the best way to make sure I've got a healthy database to go on with? (Restoring the missing shows would be nice, but it's not crucial.)



So. Yesterday someone accidentally knocked the power cord for the computer that I'm running NextPVR on out of its socket.

I found out about it about six hours later, and thought I fixed things; when I went to bed a couple of hours later, I thought it was back as it should be. (I can't remember if I checked what recordings it listed; I was very tired at the time.)

In the morning, I checked to make sure the program that should have recorded overnight did... but it didn't. That was when I noticed that the date on the computer was actually set to January 2008! It didn't record the program because it thought the recording date was nine years and four months in the future...

At the same time, I discovered that the database was only reporting 11 recordings, when I have easily six times that many. Thankfully, the actual files appear to all be where they should be, but the database only lists those 11.

I did a little digging in the NPVR data folder, and found the following files:
  • recording-backup.xml -- dated 4/21/2017 5:50 AM -- size 12 KB
  • recording-backup.xml.1 -- dated 1/1/2008 2:16 AM -- size 12 KB
  • recording-backup.xml.2 -- dated 4/20/2017 2:17 AM -- size 160 KB

A quick look in the files suggests that the first two files contain entries only for the 11 files the database reports now, while the last one -- the one that's 160 KB -- seems like it contains all the entries the database should contain.

What's the best way I can make sure the database is "clean", i.e. doesn't contain hidden corruption that'll cause disaster later on? Is there any (relatively easy) way to restore the database's missing entries while I'm at it? I should mention that the listing of my recurring recordings seems to be intact, thankfully.
Graham
Online

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#2
2017-04-22, 09:24 AM
afeldspar Wrote:What's the best way I can make sure the database is "clean", i.e. doesn't contain hidden corruption that'll cause disaster later on? Is there any (relatively easy) way to restore the database's missing entries while I'm at it? I should mention that the listing of my recurring recordings seems to be intact, thankfully.

The NextPVR database is npvr.db3 in the data folder. Create a copy as a backup.

You can import the recording records into the database at Settings --> Recordings --> Import Recordings and it will ask you which file to import.

It is likely that the database is uncorrupted if NextPVR is now working normally.
afeldspar
Offline

Junior Member

Posts: 6
Threads: 2
Joined: Nov 2016
#3
2017-04-22, 12:23 PM
Thank you. Sadly, I wish I had realized that the zip of log files which is created by that button on the Settings->About panel does NOT include those recording files -- the recording file I wanted to import doesn't exist now.

Oh well.
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#4
2017-04-22, 03:01 PM
You might try https://forums.nextpvr.com/showthread.ph...ght=import
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#5
2017-04-22, 09:34 PM
Sounds like you need a new motherboard/systemboard battery, not going to fix your recordings but at least the date will be correct in next power cut for whatever reason
[SIZE="1"]Specs[/SIZE]
[SIZE="1"]Server:Cpu-Intel i3,ATI Radeon HD 5670 ,OS-Windows 7,2gig ram. 2xHvr4400,Nova-s plus(dvb-s SD),hvr2210(dvb-t HD)[/SIZE]
[SIZE="1"]Client:Cpu-AMD am2,Gpu-Ati HD2100 integrated ,OS-Windows 7,2gig ram[/SIZE]
[SIZE="1"]Client:Cpu Intel 2 gig ram ,Nvidia 9400[/SIZE]
[SIZE="1"]ClientTongueopcorn Hour A110[/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2012]BD-E5900x2 [/SIZE]
[SIZE="1"]Client:Samsung [NZ][DVB-s][2013]BD-F6500 [/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  NPVR 4.2.4 Video Library No Longer Shows folder.jpg Lao Pan 12 3,797 2022-04-14, 04:33 AM
Last Post: Antmannz
  ts file shows length too long? SuttonWillow 2 1,862 2021-03-15, 01:56 PM
Last Post: mvallevand
  ts file shows length too long SamM 4 2,300 2020-10-06, 02:45 AM
Last Post: Ehrlichia
  NextPVR's epg database and xml export hugo84 2 2,514 2020-05-31, 12:01 PM
Last Post: hugo84
  Import recorded tv shows to NPVR mattman1968 9 5,914 2020-03-03, 12:57 PM
Last Post: Jimixter
  Artwork for Recorded Shows ChrisI 6 2,382 2020-01-12, 08:57 PM
Last Post: sub
Photo Server database error mnthope 4 2,174 2019-12-23, 11:28 PM
Last Post: sub
  NPVR 4 hangs/crash/frezze WIPE 23 6,596 2019-12-18, 06:26 PM
Last Post: sub
  Trying to record New series NEW shows. Records all, old and new. bass_gas 5 2,459 2019-08-20, 10:31 PM
Last Post: sub
  Force retune between two back-to-back shows on same channel? jhyler 3 1,377 2019-07-08, 05:52 PM
Last Post: jhyler

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode