Hi Cubytox,
I do not use a seedbox but according with your question, you have a ftp access on your remote box.
So what you want to do is to backup (or sync ?) the seedbox content to the NAS. (=> get commands and not put commands)
In this case, you can use wget to retrieve the seedbox content. I advice you to use a shell script and it should have at least this commandline
- Code: Select all
chdir '/share/path-to/your-download-location' &&/usr/bin/wget -xpcba 'yourlog.txt' --ftp-user='yourlogin' --ftp-password='yourpwd' -r -np -l 7 -R '*.ext' -nv ftp://your-ftp-seedbox-url/pathto/folder
useful wget options:
-b Go to background immediately after startup
-a logfile
-c Continue getting a partially-downloaded file. This is useful when you want to finish up a download started by a previous instance
-x create a hierarchy of directories when retrieving recursively
-p not really useful on a ftp site (get all images, etc. needed to display HTML page)
-r specify recursive download
-np don't ascend to the parent directory (=> jail wget in the folder set in the url)
-l maximum recursion depth (=> optional option, in my example descend up to the 7th subfolder)
-R comma-separated list of rejected extension
-nv turn off verboseness, without being quiet
Additional options:
-P 'backup_'`date +%F_%H-%M-%S` (if you want to have a timestamped backup)
-X list of excluded directories
-U -fake-ua identify as fake-ua instead of Wget/VERSION (if seedbox black list wget user agent)
Warning: keep in your command-line chdir .... && to be sure to run only wget if the new current directory is rightly set (to avoid to backup to a bad location!)
Wget is not a sync tool if you want only to sync nas with the seedbox, you need a tool curlftpfs to be able to mount your seedbox on a local folder and then use rsync