I have a raspberry pi with a webserver and ftpserver running. (apache and proftpd) its just a little website, a playground.
I would like my files to be backed up every time I update/change them via FTP. So when I upload my new, changed, html-file, the old one should be copied over in another directory, possibly with date and time in the filename.
I would then set a maximum number of files in this directory, so it doesn't fill up my whole space.
Like I said, it doesn't have to be perfect, it's just a small playgroud where I'm testing some things, but I would still like to have at least some earlier versions of the files available.