I have ubuntu 14 headless server and I have data continuously updating on it. I wish to take back up every 15 mins to remote host. I don't have much access to remote host and I just have to drop files on it. I have successfully established FTP bash script which runs every 15 mins. Now I dont same files to get uploaded on remote host. Once file is upload,I don't want same file to upload on remote host. I have written bash script for FTP upload but I don't know what to do with this repetition upload.
there is something
file /path/to/upload -maxdepth 1 -mtime 0.04 > path/to/filelist.txt
But this is of no use and my files repeatedly keeps uploading same files again and again over 15 mins (I have set up cronjob after 15 mins)
Please help me,I am a Linux newbie,little illustration will be useful.