Jump to content

how to copy movies from unraid1 to unraid2 locally


Recommended Posts

i would like to know how to copy movies from 2 different servers on the same network. it only needs to go in one direction.

 

also if it possible to

only copy files that aren't on unraid2. 

to delete files on unraid2 that the host(unraid1) doesn't have

here is an example

 

from

unraid1

  movies - its a share

    Bad Boys (1995)

      Bad Boys (1995) 1080p

      Bad Boys (1995) trailer

 

to 

unraid2

  movies - its a share

    Bad Boys (1995)

      Bad Boys (1995) 720p    - will get deleted automatically

      Bad Boys (1995) 1080p  - got copied

      Bad Boys (1995) trailer  - didn't get copied because it was already here

Link to comment

rsync with --delete will delete on the destination any files that don't exist on source but IIRC it will leave the empty folders, you can delete those after, if that's OK you can use:

 

rsync -av --delete /mnt/share/ dest_IP:/mnt/share/

 

Double check paths are correct before running, or do a dry run.

 

Another option is to run a sync utility in a Windows PC, like syncbackfree, it will be probably be a little slower but it will also delete the empty folders, or use rsync first then this to delete the empty folders.

Link to comment

thanks for the help.

rsync -av --delete /mnt/user/test/movies/ ip:/mnt/user/movies

i put in the code then I got this msg

    The authenticity of host 'ip (ip)' can't be established.
    ECDSA key fingerprint is *******.
    Are you sure you want to continue connecting (yes/no/[fingerprint])?

 

I said yes. hopefully that was the right thing
    Warning: Permanently added 'ip' (ECDSA) to the list of known hosts.

 

then it asked for a password. I entered some of my passwords, none of them worked. I'm not sure what password it is asking for. is there a way to reset it?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...