|
With the addition of USB Disk storage to many of our routers, they can now function as a remote backup server with little setup required. The following guide illustrates how to remotely mirror files or folders from a Linux Server to a Draytek router with an attached USB Hard Drive. First we need to setup the FTP server on the Draytek router with a Username and Password as well as a home folder.
Now that we have created a user account with the appropriate access we will be using a program called lftp which is installed by default on many Linux Distros, but can be obtained through a repository if needed. The lftp command we will be issuing is: /usr/bin/lftp -u Draytek,!Password01 -e "mirror --reverse --delete --only-newer --verbose /Draytek /" ftp.foo.com Broken down the command is as follows:
|
||||||||||||||||||||

