Migrate all data

carleycr

Patron
Joined
May 2, 2014
Messages
233
@Administrator , please let me know if this should be posted somewhere else. I’d like to migrate all my data on my Freenas to an external HDD connected to PC or I could connect to router instead. Whatever is the easiest solution. I haven’t used my Freenas box for around a year now. I don’t have time to maintain anymore. But I’d still like all the content available to me. The pc has never connected to Freenas on the network.

What’s the easiest recommended solution for this? Am I going to run into permissions issues when accessing on PC? How do I avoid permissions issues?

Thanks in advance.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700

carleycr

Patron
Joined
May 2, 2014
Messages
233
Thanks @sretalla. I tried using robocopy on my windows PC but get a user disabled error. My Windows PC user is just a simple user, nothing special. The Freenas file share is owned by the freenas user 'media'. Any suggestions on how to resolve this error?

Should I need to do anything special for an rsync task? like install certificate on windows PC, or setup new user with correct permissions?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
I tried using robocopy on my windows PC but get a user disabled error. My Windows PC user is just a simple user, nothing special. The Freenas file share is owned by the freenas user 'media'. Any suggestions on how to resolve this error?
Can you browse the share from your Windows machine? (did you map the network drive as the media user?)
 

carleycr

Patron
Joined
May 2, 2014
Messages
233
Yes and yes.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Then just use robocopy with the mapped drive path and it should work fine.
 

carleycr

Patron
Joined
May 2, 2014
Messages
233
Here's what I get when attempting. When I check the 'media' user on FreeNAS

Code:
C:\WINDOWS\system32>robocopy \\192.168.1.3\movies //192.168.1.96/media /S /Z /ZB /R:5 /W:5 /TBD /V /MT:16

-------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows
-------------------------------------------------------------------------------

  Started : Wednesday, December 01, 2021 8:42:23 AM
   Source = \\192.168.1.3\movies\
     Dest : \\192.168.1.96\media\

    Files : *.*

  Options : *.* /TBD /V /S /DCOPY:DA /COPY:DAT /ZB /MT:16 /R:5 /W:5

------------------------------------------------------------------------------

2021/12/01 08:42:53 ERROR 1331 (0x00000533) Accessing Source Directory \\192.168.1.3\movies\
This user can't sign in because this account is currently disabled.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
robocopy \\192.168.1.3\movies //192.168.1.96/media /S /Z /ZB /R:5 /W:5 /TBD /V /MT:16
You said you mapped a network drive as the user media... why are you using UNC paths and not the mapped drive letter? (as I suggested)

Also, why are you using a UNC path at all to refer to locally attached drives on the windows computer? shouldn't it be D:\movies or something like that?
 

carleycr

Patron
Joined
May 2, 2014
Messages
233
Sorry. I was confused. One of the reasons I'm trying to move off FreeNAS. I don't have time to learn/maintain. Here's a retry.

Code:
C:\WINDOWS\system32>robocopy Z:\media\movies\ D:\media\movies\ /S /Z /ZB /R:5 /W:5 /TBD /V /MT:16

-------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows
-------------------------------------------------------------------------------

  Started : Wednesday, December 01, 2021 11:40:56 AM
   Source = Z:\media\movies\
     Dest : D:\media\movies\

    Files : *.*

  Options : *.* /TBD /V /S /DCOPY:DA /COPY:DAT /ZB /MT:16 /R:5 /W:5

------------------------------------------------------------------------------

2021/12/01 11:40:56 ERROR 3 (0x00000003) Accessing Source Directory Z:\media\movies\
The system cannot find the path specified.
 

carleycr

Patron
Joined
May 2, 2014
Messages
233
I finally got it to work. I had to run command prompt as my PC user, not Admin. I also had to use the mapped network path and not the drive letter and took out /ZB option. It's running in verbose now so I can track progress. Thanks again for all your help @sretalla.

Code:
C:\Users\Chris>robocopy \\freenas.local\media\movies D:\media\movies /S /Z /R:5 /W:5 /TBD /V /MT:16
 
Top