Do you want just one file with just the changed files added? Or do you want a new file to be saved? I've used Linux for years but I'm still a newbie, I wrote a script to save 3 very important files and send them to my ISP disk space, if we had a fire the backup tape would be useless. I used the system date when I name the backup file so I have a separate copy of the files, they are encrypted also, then sent by ftp. I spent hours and hours on a simple script because I didn't know how to get it to do the things I needed and had to look everything up. If you want a copy of the script send an email to my office: sales@xxxxxxxxx and I will forward it to you. In fact I just got an email from my ISP: Hello Your disk usage on the server is over its limit. So now it's time to clean out my old files. Tim... On Fri, 2004-07-09 at 02:15, Andrea Marin wrote: > Hi all, > > I try to make a backup whit the command tar. > I make a simple script whit this line: > > tar cvzf $BACKUP_DEST_DIR/$BACKUP_FILENAME.tar.gz $BACKUP_DIRS > > where the $BACKUP_DEST_DIR/$BACKUP_FILENAME and $BACKUP_DIRS are my > variables. > Now I would like to make a more profit backup. > > My variable $BACKUP_FILENAME contain a name pippo and when i make a > second backup whit the same name the first archive are delete for write > the new archive. > I want that the tar program confront the two archive and write only one > archive whit the files that was in the first archive more the difference > that are whit the second, and if in the second archive there aren't some > file the tar don't delete those file from the first archive. > > Thanks Andrea >