I'm trying to transfer all of my files from a current NAS to a new FreeNAS, and my first file transfer resulted in putting the files into a subdirectory of the dataset. (Misplaced "/", which I'm trying to sort that out in another thread.) So I thought I'd come here for advice before copying my second folder (about 1TB).
I want to transfer all files from the "Media" folder, which is an SMB share on the old NAS at HD_a2/Media, to a "Media" folder on the new NAS, which also has an SMB share located at MAINSPIN/Media. I can access CLI from either machine, so I think these two commands would both work, depending on the machine used. Because root doesn't have ssh access on the FreeNAS, I used "myuser" instead. I will test with the -n command this time.
rsync -azP root@192.168.1.1:/Media /mnt/MAINSPIN/
rsync -azP /mnt/HD/HD_a2/Media/ myuser@192.168.1.2:/Media
Final questions:
Can someone explain the effects of trailing slashes on source and destination? I've read a lot, thought I had it right.
Is there an advantage to either pushing or pulling?
I've noticed examples that use both IP:folder and IP::folder, but no explanation of the second colon's purpose or effect.
Thanks
I want to transfer all files from the "Media" folder, which is an SMB share on the old NAS at HD_a2/Media, to a "Media" folder on the new NAS, which also has an SMB share located at MAINSPIN/Media. I can access CLI from either machine, so I think these two commands would both work, depending on the machine used. Because root doesn't have ssh access on the FreeNAS, I used "myuser" instead. I will test with the -n command this time.
rsync -azP root@192.168.1.1:/Media /mnt/MAINSPIN/
rsync -azP /mnt/HD/HD_a2/Media/ myuser@192.168.1.2:/Media
Final questions:
Can someone explain the effects of trailing slashes on source and destination? I've read a lot, thought I had it right.
Is there an advantage to either pushing or pulling?
I've noticed examples that use both IP:folder and IP::folder, but no explanation of the second colon's purpose or effect.
Thanks