X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-utils.git;a=blobdiff_plain;f=backup%2Fincrem;h=c9d52cabc657b73b448b7379f6cad63fe2f899b3;hp=945bb0e5dec5118b1e561be5a5f6fdb62b9da61a;hb=78c7e0c44c2686cf1b9f043297bdd51ce28d0192;hpb=3132b6c3eebf3f16d43c2189fc9be5e52a6b2018 diff --git a/backup/increm b/backup/increm index 945bb0e..c9d52ca 100755 --- a/backup/increm +++ b/backup/increm @@ -6,12 +6,13 @@ # other UN*X-compatible machines, as used on chiark.greenend.org.uk. # # chiark backup is: -# Copyright (C) 1997-1998,2000-2001 Ian Jackson +# Copyright (C) 1997-1998,2000-2001,2007 +# Ian Jackson # Copyright (C) 1999 Peter Maydell # # This is free software; you can redistribute it and/or modify it under the # terms of the GNU General Public License as published by the Free Software -# Foundation; either version 2, or (at your option) any later version. +# Foundation; either version 3, or (at your option) any later version. # # This is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS @@ -19,8 +20,8 @@ # details. # # You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# with this program; if not, consult the Free Software Foundation's +# website at www.fsf.org, or the GNU Project website at www.gnu.org. # We are invoked by full if the tape description file says that it is # for an incremental backup. We expect two commandline argument which @@ -103,6 +104,10 @@ for $tf (@fsys) { $ddcmd .= " conv=sync"; } + if ($dopt{'noinc'}) { + pboth("Incrementals of $atf_print ($prefix) suppressed in config.\n"); + } + if ($tm eq 'dump') { $dumplabel= $pcstr.$atf_print.'$'; $dumpcmd= "dump 1Lbfu $dumplabel $softblocksizekb - $atf";