INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Moving files to new NAS  (Read 788 times)

Mike48

  • World Citizen
  • ***
  • Posts: 214
Moving files to new NAS
« on: July 23, 2022, 11:14:20 pm »

I will be moving a lot of data, including all my music files (FLAC files) from one Synology NAS to another. I'll do this using Synology's HyperBackup, so everything will be moved before I reconfigure Media Center.

The new NAS will have a different hostname from the original NAS.

The Media Center "library" (database) will not be moved.

I am unsure how to change my Import and file location settings in Media Center to prevent the whole library from being rebuilt. In looking at the help and Wiki, I have not found directions for this particular case.

If someone can point me to directions, or give concise directions, I would appreciate it. I have been working with computers for a long time, so you needn't start with telling me how to turn the computer on.  :)

Thanks!

Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Moving files to new NAS
« Reply #1 on: July 24, 2022, 07:06:20 am »

The wiki has a topic called Moving Files.

Preserve the same directory names and structure.

Better would be to let MC move the files.  Rename, Move, & Copy.
Logged

Mike48

  • World Citizen
  • ***
  • Posts: 214
Re: Moving files to new NAS
« Reply #2 on: July 24, 2022, 09:56:57 am »

So there's no approved way to do this without having Media Center move the files?
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Moving files to new NAS
« Reply #3 on: July 24, 2022, 10:19:19 am »

What I said in the first reply.
Logged

badger

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 397
  • Change this by choosing profile
Re: Moving files to new NAS
« Reply #4 on: July 24, 2022, 11:34:17 am »

So assuming the new Synology is on the same LAN... then after running the Hyperbackup, I'll also assume the only change to the path name of each track would be the name of the NAS...  correct?

So old path would be something like \\OLDNAS\Music\Artist\Album\TrackName.FLAC
And new path would be                    \\NEWNAS\Music\Artist\Album\TrackName.FLAC

So assuming the above scenario... you'd go to Audio... Files... (select All).  Then Tools.... Library Tools.... Rename, Move & Copy...
- At the top drop down select "Update database to point to a new location (no file rename, move or copy)
- Uncheck the Directories box
- Uncheck the Filename box
- Check the Find and Replace box
    Find What?       OLDNAS
    Replace with ?  NEWNAS
- Click OK
That should do it for the library.  Everything should work as with the OLDNAS (provided the permissions with the NEWNAS are identical to the OLDNAS). If they are not (e.g. usernames, passwords, read, write, etc) you could have access problems.

Then if you use Auto Inport... go there and edit the path for your import folders to match that of the NEWNAS.  That should do it.
Logged

Mike48

  • World Citizen
  • ***
  • Posts: 214
Re: Moving files to new NAS
« Reply #5 on: July 24, 2022, 07:34:24 pm »

Thanks, @badger! It is wonderful how users here are so helpful.
Logged

dtc

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3119
Re: Moving files to new NAS
« Reply #6 on: July 24, 2022, 07:48:08 pm »

Make sure you have a current library backup before trying this - just in case.
Logged

Mike48

  • World Citizen
  • ***
  • Posts: 214
Re: Moving files to new NAS
« Reply #7 on: July 24, 2022, 08:01:17 pm »

Make sure you have a current library backup before trying this - just in case.
Thanks -- Yes, certainly I will.
Logged
Pages: [1]   Go Up