Earlier last week I was reading some posts in a web hosting forum “Site Backup - Virtual Private Servers (VPS)“, within the post a forum member was trying to facilitate an automated backup system for his important files. In this case they were web based files.
There were some excellent solutions presented, such as Rsync, etc. But I thought that sometimes all we need is a small fix. It left me wondering how well known “Yet Another FTP Client” (Yafc) is? (There are quite a few, but this is one I found on Sourceforge (I think in 2005). It’s a very handy, small client. From their Sourceforge profile:
“…Yafc is yet another FTP client which features a directory cache, remote filename completion, aliases, colorized ls, recursive get/put/ls/rm, nohup mode transfers, tagging (queueing), multiple connections, proxy support, and more.
It has also support for Kerberos authentication and SSH2 (sftp)…”
You can read more about it here: yafc - Default branch
For a simple solution you can create a bash script to run the backup and cron to schedule it in an automated fashion. Here’s a script example:
#!/bin/bash
yafc <<**
open ftp://username:password@<your-site-IP-address>/
cd public_html
mget *
close
**
Needless to say this is a very simple and fast fix and anyone can add and enhance the above example.
Nice, short, fast.
Enjoy!
![]()





There are 4 comment(s) added so far...
[…] a simplified solution, I blogged about it here: Automatic FTP Backup System - A Very Simple Solution | Ubuntu Linux Help Maybe a few of you could take this a few steps further. For example, we could use a script to […]
The problem is that FTP is not a very secure means of transferring files.
@Fr33d0m - Good point! That’s one thing everyone should be aware of!
[…] Earlier last week I was reading some posts in a web hosting forum “Site Backup - Virtual Private Servers (VPS)“, within the post a forum member was trying to facilitate an automated backup system for his important files. In this case they were web based files. Read more at Ubuntu Linux Help […]