[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: backing up to ftp server



Alvin Oga wrote:

hi ya

On Sun, 4 Jul 2004, [iso-8859-1] Thomas Adam wrote:
--- Vadik <vadik@kutsyy.com> wrote:
I want to start backing up to ftp server and I was not able to find package which does that.

My only requirement that it should do daily backups and keep last 7 backups (or do incremental backups).

tar zcvf today.tgz `find /etc /home -mtime -7 ( -type f -o -type l ) -print

scp today.tgz  ftp-backup:/pub/Backups
	- add your host key for passwd-less backups
Thanks,

I do know how to tar and how to upload, I was mostly looking for script that maintain files on ftp server (i.e. removing old one). But I guess I'll just have to write script. I am thinking about using ncftpput (ftp server does not support ssh), and to enstript files before uploading. I did take a look at

http://linux-backup.net/App but could not find what I was looking for.  freshmeat has some, but I am not sure I would trust these scripts.



Reply to: