NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 59 60 61 62 63 … 193 Next »
Save Multiple Versions of Recording-Dump.xml

 
  • 0 Vote(s) - 0 Average
Save Multiple Versions of Recording-Dump.xml
LewE
Offline

Posting Freak

Posts: 771
Threads: 115
Joined: Oct 2007
#1
2008-09-20, 03:46 PM
I would like to see there be the three previous versions of recording.dump.xml rather than the current one version. This would allow us to be able to go back several versions if for some reason the more recent version(s) are not adequate for restoring.

I first learned about this wonderful restore point when I added a dedicated disk to store all my GBPVR recordings. When I moved them to the new disk, I lost all the episode descriptions. I was able to recover them when someone on these forums pointed me to the Import feature using recording-dump.xml.

The presence of only one recording-dump.xml file became an issue for me today. Since I had been having problems due to channel lineup changes by my cable provider, I tried using ChangeEPGSources, which I saw mentioned today. Unfortunately, I had some problems and it took multiple tries to get it to work successfully. My list of recordings went AWOL. Unfortunately, by this time recording-dump.xml had nothing in it.

What I would like to see is when recording-dump.xml is created, the program save earlier versions. For example, the files might be renamed such that in addition to recording-dump.xml, there would be recording-dump 1.xml, recording-dump 2.xml, recording-dump 3.xml, each time droipping the previous oldest version. Then we could use the version we want with the Import function.

This would allow us a longer time to recover the episode information.

I know that it isn't often that Import is used but when it is needed this change (which I think would be easy to implement) would be very useful.
ilovejedd
Offline

Member

Posts: 217
Threads: 8
Joined: Apr 2008
#2
2008-09-20, 03:53 PM
There is one backup - recording-dump.xml.bak. Is that one empty, too? As a rule, I make a time-stamped archive of my recording-dump.xml, gbpvr.db3 and .ini files prior to making any major changes to my GB-PVR configuration. Better safe than sorry.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,727
Threads: 767
Joined: Nov 2003
#3
2008-09-20, 04:50 PM
Yep, as mentioned above, there is already a backup of the dump giving you an extra day.
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#4
2008-09-20, 06:02 PM
That is one file that goes in my daily Acronis backup schedule - along with the database and config.xml - saved my bacon a few times.
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#5
2008-09-20, 08:52 PM
I made a very very simple postupdateepg.bat, my batch knowledge is from way back in about 1996 & way out of date so there is probably a simpler way these days, but it works & has saved my bacon more than once Smile The reason for using postupdateepg.bat is GB-PVR doesn't update the recording-dump.xml until it has finished updating the EPG.

C:
cd\
cd c:\progs\Recording_Dump
if exist recording-dump.10 del recording-dump.10
if exist recording-dump.9 ren recording-dump.9 recording-dump.10
if exist recording-dump.8 ren recording-dump.8 recording-dump.9
if exist recording-dump.7 ren recording-dump.7 recording-dump.8
if exist recording-dump.6 ren recording-dump.6 recording-dump.7
if exist recording-dump.5 ren recording-dump.5 recording-dump.6
if exist recording-dump.4 ren recording-dump.4 recording-dump.5
if exist recording-dump.3 ren recording-dump.3 recording-dump.4
if exist recording-dump.2 ren recording-dump.2 recording-dump.3
if exist recording-dump.1 ren recording-dump.1 recording-dump.2
if exist recording-dump.xml ren recording-dump.xml recording-dump.1
if exist "c:\program files\devnz\gbpvr\recording-dump.xml" copy "c:\program files\devnz\gbpvr\recording-dump.xml" c:\progs\Recording_Dump
cd\
exit

I have been meaning to also copy them to the recordings drive ( D: ) but haven't got round to it yet.
LewE
Offline

Posting Freak

Posts: 771
Threads: 115
Joined: Oct 2007
#6
2008-09-20, 10:41 PM
ilovejedd Wrote:There is one backup - recording-dump.xml.bak. Is that one empty, too? As a rule, I make a time-stamped archive of my recording-dump.xml, gbpvr.db3 and .ini files prior to making any major changes to my GB-PVR configuration. Better safe than sorry.
I didn't notice that bak file because I had sorted the directory by extension to find the recording-dump.xml file.

I'm not sure that would have been enough since I went through multiple attempts at running ChangeEPG Source as well as a try or two of running UpdateEPG.bat. I had lineup issues and was trying all sorts of things trying to fix them. Once they had all settled down, the recording-dump files were long gone.

I think I will add to the postupdate batch similar what what Jaggy suggests. The impact on disk space and processing time will be minimal to the extra degree of safety will be worth it.
LewE
Offline

Posting Freak

Posts: 771
Threads: 115
Joined: Oct 2007
#7
2008-09-20, 10:43 PM
Jaggy Wrote:I made a very very simple postupdateepg.bat
This will accomplish what I want. Thank you for the suggestion.

I knew what would have had to be done in the BAT file because I have used similar logic for a number of different files elsewhere. I just didn't know where exactly to put the logic.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Overwrite oldest recording with lock feature djenson 0 564 2023-09-28, 10:37 AM
Last Post: djenson
  Recording status displayed when finished coreymichael 6 1,082 2023-08-31, 05:32 PM
Last Post: sub
  Recording scheduling mzanetti 2 925 2023-07-28, 05:24 PM
Last Post: sub
  save pre, post padding settings for each channel koijh65 0 738 2023-01-10, 01:43 AM
Last Post: koijh65
  Feature Request: EIT Support, plus Stop and Save Recording. Chris4877 8 1,727 2022-09-12, 12:58 AM
Last Post: mvallevand
  Multiple user accounts linustorvalds 3 1,394 2022-07-15, 02:08 PM
Last Post: mvallevand
  Add manual recording - default time markn62 0 926 2022-02-14, 12:46 AM
Last Post: markn62
  Sorting Options for Recurring Recording List pkscout 1 933 2021-11-23, 07:51 PM
Last Post: sub
  Remove failed recurring recording artmetz 0 764 2021-11-17, 07:55 PM
Last Post: artmetz
  Edit recurring recording oliroe 8 2,268 2020-12-17, 08:15 PM
Last Post: oliroe

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

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

Linear Mode
Threaded Mode