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 … 20 21 22 23 24 … 113 Next »
update npvr database UNC paths

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

Senior Member

NW Montana
Posts: 402
Threads: 76
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
Online

Posting Freak

Ontario Canada
Posts: 56,662
Threads: 996
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: 402
Threads: 76
Joined: Dec 2016
#3
2024-10-25, 10:32 PM
Was hoping to keep both running and swap the roles.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,662
Threads: 996
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: 402
Threads: 76
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
Thumbs Down New USB Stick works with TVRPlayer won't scan channels in NPVR SteveEllard 1 108 2026-08-01, 06:33 PM
Last Post: mvallevand
  Continued issues, how is this not related to NPVR? Ricknextpvr 12 1,646 2026-06-23, 10:45 PM
Last Post: Ricknextpvr
  V7.1.1.1.260616 appears not to update jcole998 6 556 2026-06-16, 01:26 PM
Last Post: jcole998
  Problems with NPVR offline installation Joram 11 977 2026-06-15, 11:46 PM
Last Post: sub
  Cableco DVR with six tuners, can NPVR use more than one? Joram 9 836 2026-04-28, 04:31 PM
Last Post: Joram
Question m3u Update 7.0.5 Flixifix 1 432 2026-04-15, 02:10 PM
Last Post: mvallevand
  Closed captioning in NPVR Joram 30 3,043 2026-03-24, 02:10 AM
Last Post: Joram
  How to program the Green Button to launch NPVR? Joram 9 1,065 2026-03-17, 12:49 AM
Last Post: mvallevand
  NPVR UI not picking up TV signal Joram 9 996 2026-03-15, 10:06 PM
Last Post: Joram
  NPVR UI shutting down spontaneously Joram 19 1,973 2026-03-13, 05:28 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode