Category: Applications, How to... — UbuntuLinuxHelp @ 11:48 am —

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.

YAFC - FTPThere 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 5 comment(s) added so far...

#1

[…] 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 […]

Site backup - Page 2 - Your HostICan Community wrote on March 27, 2008 - 11:51 am
#2

The problem is that FTP is not a very secure means of transferring files.

Fr33d0m wrote on March 31, 2008 - 8:21 am
#3

@Fr33d0m - Good point! That’s one thing everyone should be aware of! ;)

Roger wrote on March 31, 2008 - 8:55 am
#4

[…] 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 […]

#5

[…] som jag är frågade jag självklart Google om en lösning och hittade denna sida som beskriver hur man använder den minimala Linux FTP-klienten yafc för att ladda ner backups […]

Blogging me blogging you wrote on July 13, 2008 - 1:34 pm
You can leave a response, or trackback from your own site.

Write Your Comment

Comment Guidelines: Basic XHTML is allowed (a href, strong, em, code). All line breaks and paragraphs will be generated automatically.

You should have a name, right? 
Your email address, I promised I won't tell it to anyone. 
If you have a web site or blog, you can type the URL right here. 
This is where you type your comments. 
Remember my information for the next time I visit.