Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 7731  / 1 Year ago, thu, march 16, 2023, 12:26:48

Here's my setup:




  • Dell Dimension w/ Ubuntu Server 12.10 running 24/7 at a remote location outside my internal network




    • 1TB ext HD attached to server, actively downloading movies/tv


  • Raspberry Pi w/ OpenELEC & XBMC running locally




    • 4TB HD attached to Pi, hopefully receiving content from server




I'd like to transfer video files from the server over to my Pi's external HD every x mins/hours, once they've finished downloading. I do not need to delete them from the remote location automatically, but in the event I clean them up, I do not want a two-way sync.



Does anyone have any suggestions for a script, scripting language, or transfer protocol I could use from the Pi's side?


More From » networking

 Answers
1

I suggest rsync to copy the files and cron to run the rsync command regularly.
To log into the remote (remote from the Pi's point of view) machine without having to manually type a password each time you need to be able to log into the remote machine with public/private keys.



By default rsync doesn't delete files in the destination directory which were deleted in the source directory (just tested it).


[#29700] Thursday, March 16, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ibuteking

Total Points: 35
Total Questions: 128
Total Answers: 138

Location: Indonesia
Member since Thu, Oct 1, 2020
4 Years ago
;