Package: tar Version: 1.15.1-1 Severity: normal
I have a backup script (attached) which use: $ tar -P -z -c -f file.tar directories since 1.15 it fails my cron emails with : cronjob: /usr/local/bin/run-backup 1>/dev/null email: /bin/tar: /etc/apt/apt.conf.d/70debconf: le fichier est inchangé; n'a pas été rejeté. /bin/tar: /etc/apt/apt.conf.d/20listchanges: le fichier est inchangé; n'a pas été rejeté. ... x 1000 which means : file not changed , not rejected. Could those message be sent to stdout ? Most of the files don't change between two backups. Regards Alban NB: the backup script is a pseudo incremental stuff. Each month and weeks have a full backup and each day only backup the changes since the start of the week, saving that in the previous same day of the previous week. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11-rc5 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8) Versions of packages tar depends on: ii libc6 2.3.5-1 GNU C Library: Shared libraries an -- no debconf information
#!/bin/sh # full and incr backup script # created 27 Sep 99 # Based on a script by Daniel O'Callaghan <[EMAIL PROTECTED]> #Change the 5 variables below to fit your computer/backup COMPUTER=argos # name of this computer DIRECTORIES="/etc /root /usr/local" # directoris to backup BACKUPDIR=/var/backups # where to store the backups TIMEDIR=/var/backups/last-full # where to store time of full backup TAR=/bin/tar # name and locaction of tar #You should not have to change anything below here PATH=/usr/local/bin:/usr/bin:/bin DOW=`date +%a` # Day of the week e.g. Mon DOM=`date +%d` # Date of the Month e.g. 27 DM=`date +%d%b` # Date and Month e.g. 27Sep # On the 1st of the month a permanet full backup is made # Every Sunday a full backup is made - overwriting last Sundays backup # The rest of the time an incremental backup is made. Each incremental # backup overwrites last weeks incremental backup of the same name. # # if NEWER = "", then tar backs up all files in the directories # otherwise it backs up files newer than the NEWER date. NEWER # gets it date from the file written every Sunday. if [ $DOM = "01" ]; then # monthly full backup NEWER="" $TAR $NEWER -P -z -c -f $BACKUPDIR/$COMPUTER-$DM.tgz $DIRECTORIES fi if [ $DOW = "Sun" ]; then # weekly full backup NEWER="" NOW=`date +%d-%b` echo $NOW > $TIMEDIR/$COMPUTER-full-date #update full backup date $TAR $NEWER -P -z -c -f $BACKUPDIR/$COMPUTER-$DOW.tgz $DIRECTORIES else #make incremental backup - overwrite last weeks NEWER="--newer `cat $TIMEDIR/$COMPUTER-full-date`" #get date of last full backup $TAR $NEWER -P -z -c -f $BACKUPDIR/$COMPUTER-$DOW.tgz $DIRECTORIES fi # prahal personal touch # -P keeping the '/' prefix