Plex data migration to a new NAS

DanV

Cadet
Joined
Apr 16, 2023
Messages
7
Hi.

I currently have Plex installed on TrueNAS scale, and up until a few days ago it was working perfect.

Now, my SSD is failing, and TrueNAS would just randomly reboot, sometimes after 10 minutes when using Plex and after a few hours when idle.

Few weeks ago I spent hours renaming and arranging my library of Serbian movies and series, and I really don't want to do it again.

Is there a way to backup my Plex data and restore on a new install? I Googled it, but there's a lot of conflicting information, so I'm not sure how to do it...

Running TrueNAS-SCALE-22.02.4.

MB Asus Prime Z790M-Plus D4
CPU Intel 13100
64 GB 3200 RAM
4 WD Red 10 GB and SP 1 TB NVME
2.5 GB LAN NIC

Thanks in advance
 

NickF

Guru
Joined
Jun 12, 2014
Messages
763
Hello,
Just need a bit more info on how you have your stuff setup.
  • You said you have Plex installed in TrueNAS SCALE, did you mean the App version?
  • You said that you have 4 hard drives and an SSD, but I am not sure how you have them arranged. Can you please send us the output of a couple of commands?
    • zpool list
    • zpool status
  • You mentioned you want to "backup" on a new install. Do you mean on the same hardware?
 

DanV

Cadet
Joined
Apr 16, 2023
Messages
7
Yes, Plex was installed within the Apps menu.

SSD was used to install TrueNAS.

As far as sending you commands, I have no idea how to do that, I'm an absolute newbie .

I got a 1U enclosure, and the hardware will be different.
It will be 32 GB RAM, one single 2 TB NVME, and I will reuse four 10 TB WD RED's.
I know that I can rebuild a volume, and have everything back up, but it's just that I don't want to spend hours again renaming my movies and TV shows .

Thanks
 

DanV

Cadet
Joined
Apr 16, 2023
Messages
7
Hi.

I currently have Plex installed on TrueNAS scale, and up until a few days ago it was working perfect.

Now, my SSD is failing, and TrueNAS would just randomly reboot, sometimes after 10 minutes when using Plex and after a few hours when idle.

Few weeks ago I spent hours renaming and arranging my library of Serbian movies and series, and I really don't want to do it again.

Is there a way to backup my Plex data and restore on a new install? I Googled it, but there's a lot of conflicting information, so I'm not sure how to do it...

Running TrueNAS-SCALE-22.02.4.

MB Asus Prime Z790M-Plus D4
CPU Intel 13100
64 GB 3200 RAM
4 WD Red 10 GB and SP 1 TB NVME
2.5 GB LAN NIC

Thanks in advance
Reason I know that NVME is bad is that when TrueNAS crashes, and I plug in HDMI cable, NVME is not showing in BIOS.

After a couple of minutes it will show up again.

No overheating, it will just randomly die
 

DanV

Cadet
Joined
Apr 16, 2023
Messages
7
Reason I know that NVME is bad is that when TrueNAS crashes, and I plug in HDMI cable, NVME is not showing in BIOS.

After a couple of minutes it will show up again.

No overheating, it will just randomly die
Sorry, I can't figure out how to edit my post...

MB has 3 NVME slots, I tried to switch between them, and it crashes no matter what, so the most logical answer is that NVME is dying
 

NickF

Guru
Joined
Jun 12, 2014
Messages
763
Click on System Settings then click on Shell to run those commands.

1681670686156.png
 

DanV

Cadet
Joined
Apr 16, 2023
Messages
7
root@truenas[~]
Code:
# zpool list
NAME        SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
WDx4       36.4T  24.6T  11.8T        -         -     0%    67%  1.00x    ONLINE  /mnt
boot-pool   936G  2.69G   933G        -         -     0%     0%  1.00x    ONLINE  -
root@truenas[~]# zpool status
  pool: WDx4
 state: ONLINE
config:

        NAME                                      STATE     READ WRITE CKSUM
        WDx4                                      ONLINE       0     0     0
          raidz1-0                                ONLINE       0     0     0
            645dd74c-be9c-48a0-8e47-d2c850c5bb66  ONLINE       0     0     0
            bd7e55c8-be47-46e7-a74d-38e3de023fba  ONLINE       0     0     0
            04a0e75e-81dc-4120-b77c-d615a67d6997  ONLINE       0     0     0
            291a8514-ec9f-4c48-b5e9-f06a98412725  ONLINE       0     0     0
 
Last edited by a moderator:

NickF

Guru
Joined
Jun 12, 2014
Messages
763
root@truenas[~]# zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
WDx4 36.4T 24.6T 11.8T - - 0% 67% 1.00x ONLINE /mnt
boot-pool 936G 2.69G 933G - - 0% 0% 1.00x ONLINE -
root@truenas[~]# zpool status
pool: WDx4
state: ONLINE
config:

NAME STATE READ WRITE CKSUM
WDx4 ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
645dd74c-be9c-48a0-8e47-d2c850c5bb66 ONLINE 0 0 0
bd7e55c8-be47-46e7-a74d-38e3de023fba ONLINE 0 0 0
04a0e75e-81dc-4120-b77c-d615a67d6997 ONLINE 0 0 0
291a8514-ec9f-4c48-b5e9-f06a98412725 ONLINE 0 0 0
Okay. Since the SSD is only being used as a boot drive, you must have installed the Plex App on your Hard Drive "WDx4" pool. You can literally move those hard drives into your new server and import your pool there. In order to ensure your Plex application safely travels with your pool, you should run a backup job of your OS and then restore it to your new server.
1681676746054.png

1681676758765.png


It is also a good idea to backup the application using HeavyScript:

Another solution, if you want to continue using the existing server, is to simply replace the boot SSD with another drive. After doing the above, that is.
 

DanV

Cadet
Joined
Apr 16, 2023
Messages
7
Okay. Since the SSD is only being used as a boot drive, you must have installed the Plex App on your Hard Drive "WDx4" pool. You can literally move those hard drives into your new server and import your pool there. In order to ensure your Plex application safely travels with your pool, you should run a backup job of your OS and then restore it to your new server.
View attachment 65748
View attachment 65749

It is also a good idea to backup the application using HeavyScript:

Another solution, if you want to continue using the existing server, is to simply replace the boot SSD with another drive. After doing the above, that is.
OK, I will try that.

Fingers crossed....
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
root@truenas[~]
Code:
# zpool list
NAME        SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
WDx4       36.4T  24.6T  11.8T        -         -     0%    67%  1.00x    ONLINE  /mnt
boot-pool   936G  2.69G   933G        -         -     0%     0%  1.00x    ONLINE  -
root@truenas[~]# zpool status
  pool: WDx4
 state: ONLINE
config:

        NAME                                      STATE     READ WRITE CKSUM
        WDx4                                      ONLINE       0     0     0
          raidz1-0                                ONLINE       0     0     0
            645dd74c-be9c-48a0-8e47-d2c850c5bb66  ONLINE       0     0     0
            bd7e55c8-be47-46e7-a74d-38e3de023fba  ONLINE       0     0     0
            04a0e75e-81dc-4120-b77c-d615a67d6997  ONLINE       0     0     0
            291a8514-ec9f-4c48-b5e9-f06a98412725  ONLINE       0     0     0
You need to use CODE tags to preserve the whitespace, which is very meaningful here.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Top