From: Sergey Poznyakoff Date: Sat, 8 May 2004 22:11:21 +0000 (+0000) Subject: Updated X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=6246fffacd3fd40aa0c19dbf4308b0ca2f489d69;p=chaz%2Ftar Updated --- diff --git a/scripts/.cvsignore b/scripts/.cvsignore index bdda04c..c8d103d 100644 --- a/scripts/.cvsignore +++ b/scripts/.cvsignore @@ -1,4 +1,6 @@ Makefile.in Makefile +backup.sh backup +restore dump-remind diff --git a/scripts/Makefile.am b/scripts/Makefile.am index dc8cfda..4d43928 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -17,22 +17,30 @@ libexec_SCRIPTS=backup.sh dump-remind AM_INSTALLCHECK_STD_OPTIONS_EXEMPT=backup.sh dump-remind -sbin_SCRIPTS=backup -EXTRA_DIST=$(libexec_SCRIPTS) backup.in dump-remind.in backup-specs -CLEANFILES=backup dump-remind +sbin_SCRIPTS=backup restore +EXTRA_DIST=\ + backup.sh.in\ + backup.in\ + restore.in\ + dump-remind.in\ + backup-specs +CLEANFILES=backup.sh backup restore dump-remind + +SED_CMD="s,\@libexecdir\@,$(libexecdir),;\ + s,\@sysconfdir\@,$(sysconfdir),;\ + s,\@PACKAGE\@,$(PACKAGE),;\ + s,\@VERSION\@,$(VERSION),;\ + s,\@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),;\ + s,\@DATE_FORMAT_OK\@,$(DATE_FORMAT_OK),;@BACKUP_SED_COND@" + +backup.sh: $(srcdir)/backup.sh.in + sed $(SED_CMD) $? > $@ backup: $(srcdir)/backup.in - sed "s,\@libexecdir\@,$(libexecdir),;\ - s,\@sysconfdir\@,$(sysconfdir),;\ - s,\@PACKAGE\@,$(PACKAGE),;\ - s,\@VERSION\@,$(VERSION),;\ - s,\@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),;\ - s,\@DATE_FORMAT_OK\@,$(DATE_FORMAT_OK),;@BACKUP_SED_COND@" $? > $@ + sed $(SED_CMD) $? > $@ + +restore: $(srcdir)/restore.in + sed $(SED_CMD) $? > $@ dump-remind: $(srcdir)/dump-remind.in - sed "s,\@libexecdir\@,$(libexecdir),;\ - s,\@sysconfdir\@,$(sysconfdir),;\ - s,\@PACKAGE\@,$(PACKAGE),;\ - s,\@VERSION\@,$(VERSION),;\ - s,\@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),;\ - s,\@DATE_FORMAT_OK\@,$(DATE_FORMAT_OK),;@BACKUP_SED_COND@" $? > $@ \ No newline at end of file + sed $(SED_CMD) $? > $@ \ No newline at end of file diff --git a/scripts/backup-specs b/scripts/backup-specs index dd9cf5d..4f3d456 100644 --- a/scripts/backup-specs +++ b/scripts/backup-specs @@ -50,6 +50,10 @@ BACKUP_FILES='' # this file may be overridden by setting FILELIST variable: # FILELIST=/etc/my-backup/filelist +# Name of 'exclude file list'. It is searched under $SYSCONFDIR/tar-backup +# on remote machines +XLIST=exclude_files + # Default directory for storing incremental listings on remote # machines is $SYSCONFDIR/tar-backup. It can be overridden using # REMOTEBACKUPDIR variable