Projects Raspberry Pi

RaspberryPi as an FTP Backup repository

||||| 0 Like |||||

Using the RaspberryPi as an FTP Backup repository for your websites

Recently I have purchased a VPS running Parallels Plesk Panel and needed to find an affordable way to backup the websites hosted on the server. The hosting company wanted extra to enable them to backup automatically, but since I had the RaspberryPi, I thought there must be a cheaper way to do it.

So, I loaded on vsftpd onto my RaspberryPi and set about getting it setup to receive the backup from Plesk. Thankfully Parallels Plesk Panel has the option for me to configure automatic backups to an external FTP/FTPS server. This make the job a lot easier.

Here are the quick and easy instructions.

Configure the RaspberryPi

The first thing is to enable FTP on the Pi

sudo apt-get install vsftp

Answer yes to the request to install this

sudo nano /etc/vsftpd.conf

Edit or uncomment the following lines to secure VSFTPD

Restart the service

sudo /etc/init.d/vsftpd restart


You will now be able to FTP from any local and external machine.

Things to note

If your internet router has a built in firewall, you will need to let port 21 through and assign it to your RaspberryPi’s internal IP address.

There is an excellent website with information on how to do this for most of the routers available – please visit that site for information on port forwarding.

Getting Parallels Plesk Panel to send backups to the Pi

First of all, I will clarify that I am talking about the Server administration tool from Plesk. This is a high level tool that most people will never see or need to use. But you can equally use these instructions on any system that can FTP files to you.




Log into the Server control Panel, and click on “Manage in Power User View” to get to the sites backup you wish to manage.





While logged in click on “Backup Manager”






In the backup manager panel, select “Personal FTP Repository Settings”



plesk4 Fill in the settings using the image as an example. If you have followed these settings, you will be using your “Pi” user and password (so please ensure you have changed the password as anybody that gets your IP will be able to login to your RaspberryPi.






I hope you have found this helpful, if you have then please share this post with your friends!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.