NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 18 19 20 21 22 … 110 Next »
update npvr database UNC paths

 
  • 0 Vote(s) - 0 Average
update npvr database UNC paths
artmetz
Offline

Senior Member

NW Montana
Posts: 378
Threads: 72
Joined: Dec 2016
#1
2024-10-25, 10:06 PM
My QNAP NAS finally failed, but fortunately I knew it was going to happen.
I have a new Terramaster NAS setup and have been using robocopy to keep it in synch with the old NAS until I had time to remap my clients.
Unfortunately, I'm forced to do that now.
This isn't an easy topic to search the forums on, or I'm using the wrong search terms without luck.
I've been using UNC paths for NPVR instead of drive letters, so it's not a simple matter of mapping the same letter to the new drive.
Question is, what's a good way to update the NPVR database and change my UNC from "NAS315" to "NAS0324"? (I'll backup the db first).

It's not clear to me if and of the NextTool commands will accomplish this.
I'm capable of using SQL to update the database.
Art
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 55,183
Threads: 984
Joined: May 2006
#2
2024-10-25, 10:15 PM
Why not just change the hostname of the new NAS?

Martin
artmetz
Offline

Senior Member

NW Montana
Posts: 378
Threads: 72
Joined: Dec 2016
#3
2024-10-25, 10:32 PM
Was hoping to keep both running and swap the roles.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 55,183
Threads: 984
Joined: May 2006
#4
2024-10-25, 10:47 PM
Change the name on the old broken one first.

If you want to do this with sqlite3 it would be something like

Code:
update scheduled recording
set  filename = replace(filename,'NAS315','NAS0324')
where filename like '%NAS315%';

Make sure you have the config.xml settings to not remove files or trees that aren't found and backup first.

Martin
artmetz
Offline

Senior Member

NW Montana
Posts: 378
Threads: 72
Joined: Dec 2016
#5
2024-10-25, 10:56 PM (This post was last modified: 2024-10-25, 11:02 PM by artmetz.)
Thanks. You confirmed the SQL that I was just about to post.
should be scheduled_recording (is missing the underbar)
Thanks,
Art
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Closed captioning in NPVR Joram 30 1,571 2026-03-24, 02:10 AM
Last Post: Joram
  How to program the Green Button to launch NPVR? Joram 9 554 2026-03-17, 12:49 AM
Last Post: mvallevand
  NPVR UI not picking up TV signal Joram 9 418 2026-03-15, 10:06 PM
Last Post: Joram
  NPVR UI shutting down spontaneously Joram 19 1,062 2026-03-13, 05:28 PM
Last Post: mvallevand
  Continued issues, how is this not related to NPVR? Ricknextpvr 11 861 2026-02-11, 07:41 PM
Last Post: mvallevand
  Intermittent EPG update failure turndave 8 696 2025-12-19, 03:51 AM
Last Post: mvallevand
  EPG Update failing. bigstusexy 7 715 2025-12-06, 06:13 PM
Last Post: mvallevand
  Trouble getting NPVR to see Colossus 2 itsjames 13 972 2025-11-13, 10:55 PM
Last Post: mvallevand
  EPG wont update, device not correct, channels won't import LateNightCat 7 858 2025-11-07, 05:31 PM
Last Post: mvallevand
  [SOLVED] Windows won't sleep after waking for EPG update fla 2 449 2025-10-30, 07:56 PM
Last Post: fla

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

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

Linear Mode
Threaded Mode