debian/0000755000000000000000000000000011767256700007201 5ustar debian/examples0000644000000000000000000000004111767054507010736 0ustar storeBackup_example doc/EXAMPLES debian/rules0000755000000000000000000000232311767056606010264 0ustar #!/usr/bin/make -f destd=$(CURDIR)/debian/storebackup/ base_shared=usr/share/storebackup/ base_bin=usr/bin/ shared=$(destd)/$(base_shared) bin=$(destd)/$(base_bin) CMD=$(shell echo $@ | sed 's/^override_//') %: dh $@ clean: dh $@ rm -fr debian/man/ override_dh_install: $(CMD) for file in $(shared)/bin/*; \ do chmod 755 $$file; \ mv $$file $(shared)/bin/`basename $$file .pl`; \ dh_link $(base_shared)/bin/`basename $$file .pl` $(base_bin)/`basename $$file .pl`; \ done rm -f $(bin)/multitail chmod 644 $(shared)/lib/* for file in $(shared)/lib/*; do \ if head -1 $$file | grep -q "#!"; then \ chmod +x $$file; \ fi \ done override_dh_installchangelogs: $(CMD) doc/ChangeLog override_dh_installexamples: [ ! -f storeBackup_example ] || rm -f storeBackup_example /usr/bin/perl bin/storeBackup.pl -g storeBackup_example $(CMD) override_dh_installcron: [ -f debian/storebackup.cron.daily ] || cp cron-storebackup debian/storebackup.cron.daily $(CMD) override_dh_compres: $(CMD) -X storeBackup_example override_dh_installman: rm -fr debian/man mkdir -p debian/man for file in $(bin)/*; do \ file=$$(basename $$file); \ pod2man $(bin)/$$file > debian/man/$$file.1; \ done $(CMD) debian/compat0000644000000000000000000000000211767054505010376 0ustar 7 debian/postinst0000644000000000000000000000101211767054511010775 0ustar #!/bin/sh set -e #DEBHELPER# # upgrade backups if [ "$1" = "configure" ]; then configs=`run-parts --list /etc/storebackup.d/` targets=`sed -ne 's/^targetDir=\(.*\)/\1/p' /dev/null $configs` for dir in $targets do storeBackupConvertBackup "$dir" done if dpkg --compare-versions 1.16.1 gt-nl "$2"; then for dir in $targets do echo Fixing .md5CheckSums.info in "$dir" perl -pe 's/^\s*uncompress=bzip2\s*$/uncompress=bzip2 -d\n/' \ -i "$dir"/*/.md5CheckSums.info done fi fi debian/patches/0000755000000000000000000000000011767061131010620 5ustar debian/patches/fix-spelling-error-in-manpage0000644000000000000000000001203211767061131016303 0ustar Description: fixes spelling errors reported by lintian info tag spelling-error-in-manpage Author: Ryan Niebur Index: storebackup/bin/llt =================================================================== --- storebackup.orig/bin/llt 2012-06-16 03:02:41.000000000 -0700 +++ storebackup/bin/llt 2012-06-16 03:39:08.000000000 -0700 @@ -138,7 +138,7 @@ parameter is the time since epoch llt print the date in a readable format this option can be repeated multiple times - llt will stop executing if no other options or params are choosen + llt will stop executing if no other options or params are chosen =back Index: storebackup/bin/storeBackup.pl =================================================================== --- storebackup.orig/bin/storeBackup.pl 2012-06-16 03:02:41.000000000 -0700 +++ storebackup/bin/storeBackup.pl 2012-06-16 03:39:08.000000000 -0700 @@ -391,7 +391,7 @@ =item B<--ignorePerms> - If this option choosen, files will not necessarily have + If this option chosen, files will not necessarily have the same permissions and owner as the originals. This speeds up backups on network drives a lot. Recovery with storeBackupRecover.pl will restore them correctly. @@ -618,7 +618,7 @@ =item B<--noCompress> maximal number of parallel compress operations, - default = choosen automatically + default = chosen automatically =item B<--queueCompress> @@ -690,7 +690,7 @@ =item B<--keepWeekday> keep backups for the specified days for the specified - amount of time. Overwrites the default values choosen in + amount of time. Overwrites the default values chosen in --keepAll. 'Mon,Wed:40d Sat:60d10m' means: keep backups from Mon and Wed 40days + 5mins keep backups from Sat 60days + 10mins @@ -1330,7 +1330,7 @@ ;comprRule= # maximal number of parallel compress operations, -# default = choosen automatically +# default = chosen automatically ;noCompress= # length of queue to store files before compression, @@ -1398,7 +1398,7 @@ ;keepAll= # keep backups for the specified days for the specified -# amount of time. Overwrites the default values choosen in +# amount of time. Overwrites the default values chosen in # --keepAll. 'Mon,Wed:40d Sat:60d10m' means: # keep backups from Mon and Wed 40days + 5mins # keep backups from Sat 60days + 10mins Index: storebackup/bin/storeBackupDel.pl =================================================================== --- storebackup.orig/bin/storeBackupDel.pl 2012-06-16 03:02:41.000000000 -0700 +++ storebackup/bin/storeBackupDel.pl 2012-06-16 03:39:08.000000000 -0700 @@ -177,7 +177,7 @@ =item B<--keepWeekday> keep backups for the specified days for the specified - amount of time. Overwrites the default values choosen in + amount of time. Overwrites the default values chosen in --keepAll. 'Mon,Wed:40d Sat:60d10m' means: keep backups of Mon and Wed 40days + 5mins keep backups of Sat 60days + 10mins Index: storebackup/bin/storeBackupSearch.pl =================================================================== --- storebackup.orig/bin/storeBackupSearch.pl 2012-06-16 03:02:41.000000000 -0700 +++ storebackup/bin/storeBackupSearch.pl 2012-06-16 03:39:08.000000000 -0700 @@ -154,7 +154,7 @@ =item B<--parJobs>, B<-p> - number of parallel jobs, default = choosen automaticly + number of parallel jobs, default = chosen automatically =item B<--debug>, B<-d> @@ -168,7 +168,7 @@ Root directories of backups where to search relative to backupDir. If no directories are specified, all - backups below backupDir are choosen. + backups below backupDir are chosen. =back @@ -232,7 +232,7 @@ # write search result also to file ;writeToFile= -# number of parallel jobs, default = choosen automaticly +# number of parallel jobs, default = chosen automatically ;parJobs= # debug level, possible values are 0, 1, 2, default = 0 Index: storebackup/bin/storeBackupUpdateBackup.pl =================================================================== --- storebackup.orig/bin/storeBackupUpdateBackup.pl 2012-06-16 03:02:41.000000000 -0700 +++ storebackup/bin/storeBackupUpdateBackup.pl 2012-06-16 03:39:08.000000000 -0700 @@ -143,7 +143,7 @@ =item B<--autorepair>, B<-a> - repair simple inconsistencies automaticly without + repair simple inconsistencies automatically without requesting the action =item B<--print> @@ -170,7 +170,7 @@ =item B<--noCompress> maximal number of parallel compress operations, - default = choosen automatically + default = chosen automatically =item B<--checkOnly> B<-c> Index: storebackup/bin/storeBackupls.pl =================================================================== --- storebackup.orig/bin/storeBackupls.pl 2012-06-16 03:02:41.000000000 -0700 +++ storebackup/bin/storeBackupls.pl 2012-06-16 03:39:08.000000000 -0700 @@ -122,7 +122,7 @@ =item B<--verbose>, B<-v> - additional informations about the backup directories + additional information about the backup directories =item B<--print> debian/patches/series0000644000000000000000000000003611767056704012046 0ustar fix-spelling-error-in-manpage debian/README.Debian0000644000000000000000000000500111767054503011233 0ustar DEBIAN SPECIFIC CONFIGURATION You can drop configuration files in /etc/storebackup.d/ and they will be run, sequentially, once a day. The configuration file names have to consist entirely of letters, digits, underscores and hyphens. If you're not running this computer 7*24, have a look at anacron or fcron, which can handle downtime better. Make sure you write logs to stdout (see plusLogStdout option) too, so that cron can send them to you in its error mails. The script blocks the mails in case of successful excecution. You can still read the logs in the logfiles then. exceptTypes=Scb is needed to suppress warnings when storebackup comes across a device file or socket. HINTS I use gzip instead of bzip2, since for me it compresses just as well, but a lot faster. I found that static files that are not read for years from the backup disk can become unreadable (because most disks only do ECC on reads). To avoid this, I run tar -c / > /dev/null once a month. Storebackup needs an underlying filesystem (on the target side) which can handle hardlinks. If you can't provide this, have a look at rdiff-backup. DIFFERENCES TO UPSTREAM All commands have been stripped off the .pl suffix. Also multitail has been remove from /usr/bin/ because it's name conflicts with another package. It's still available at /usr/share/storebackup/bin/multitail. BACKUP SIZE ESTIMATIONS my $HOME: sum of source = 795M (833665730) sum of target all = 674M (706496676) sum of target all = 84.75% 15:10 arthur@twoflower (arthur)$ ls /var/bkup/home.real/ 2002.12.01_18.18.15 2002.12.29_04.35.30 2003.01.16_04.32.49 2002.12.04_04.28.05 2003.01.01_04.36.18 2003.01.17_04.28.26 2002.12.08_04.28.10 2003.01.05_04.33.24 2003.01.17_04.31.13 2002.12.11_04.27.59 2003.01.08_04.32.07 2003.01.17_04.33.04 2002.12.15_04.28.04 2003.01.12_04.32.18 2003.01.17_14.30.37 2002.12.18_04.27.58 2003.01.15_04.32.56 2003.01.17_14.32.47 2002.12.22_04.27.59 2003.01.16_04.28.25 2003.01.17_14.34.48 2002.12.25_04.34.53 2003.01.16_04.30.57 2003.01.17_14.57.28 my server's /etc/: sum of source = 3.9M (4100441) sum of target all = 1.3M (1348378) sum of target all = 32.88% 15:08 arthur@twoflower (arthur)$ ls /var/bkup/etc/ 2002.12.23_15.59.10 2003.01.12_04.27.57 2003.01.16_04.27.56 2002.12.30_04.27.57 2003.01.13_04.27.57 2003.01.17_04.27.57 2003.01.06_04.27.57 2003.01.14_04.27.57 2003.01.17_14.30.00 2003.01.11_04.27.59 2003.01.15_04.27.57 2003.01.17_14.56.57 -- Ryan Niebur , Sat, 4 Apr 2009 23:03:49 -0700 debian/clean0000644000000000000000000000006211767054504010202 0ustar storeBackup_example debian/storebackup.cron.daily debian/install0000644000000000000000000000010211767054510010556 0ustar lib/* usr/share/storebackup/lib/ bin/* usr/share/storebackup/bin/ debian/source/0000755000000000000000000000000011767055216010500 5ustar debian/source/format0000644000000000000000000000001411767055216011706 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000021211767054512010222 0ustar version=3 opts="uversionmangle=s/-rc/~rc/" \ http://download.savannah.gnu.org/releases-noredirect/storebackup/ storeBackup-(.*)\.tar\.bz2 debian/manpages0000644000000000000000000000001511767054510010706 0ustar debian/man/* debian/changelog0000644000000000000000000002530311767256643011064 0ustar storebackup (3.2.1-1) unstable; urgency=low * change short description, recommendation from Heinz-Josef Claes * update email address * New upstream version - update debian/copyright for 2012 - Bug fix release (Closes: #543422, #613704, #544189, #655001, #628058) * Move git repository to collab-maint * Convert to Debian source format 3.0 (quilt) * Simplify debian/rules * Add patch to fix lintian spelling-error-in-manpage * Update Standards-Version to 3.9.3 * Add doc/storeBackup.pdf to debian/docs (Closes: #591612) - Add debian/storebackup.doc-base as well -- Ryan Niebur Sat, 16 Jun 2012 21:31:31 -0700 storebackup (3.2-1) unstable; urgency=low * New Upstream Version - bug fix release (Closes: #532188, #532176, #532183) * Debian Policy 3.8.2 -- Ryan Niebur Sun, 19 Jul 2009 15:45:45 -0700 storebackup (3.1-2) unstable; urgency=high * set urgency to high to make the migration to testing happen quicker, this way more people will see the warning in NEWS about the changed configuration file format * add recommends on libio-compress-bzip2-perl (Closes: #532179) * add NEWS entry for version 3.1-1 about changed configuration file format (Closes: #532175) -- Ryan Niebur Sun, 07 Jun 2009 12:09:09 -0700 storebackup (3.1-1) unstable; urgency=low * New Upstream Version * update copyright * simplify debian/rules a bit * upload to unstable -- Ryan Niebur Mon, 25 May 2009 02:01:31 -0700 storebackup (3.1~rc1-1) experimental; urgency=low * New Maintainer (Closes: #508535) - add Vcs-* fields * New upstream release (LP: #307885) - fixed logging (LP: #212258) - fixes mtime of restored files (Closes: #375401) - remove exceptDirsSep option (Closes: #490398) * name the example config file storeBackup_example instead of storeBackup.conf (Closes: #474369) * debian policy 3.8.1 * redo debian/rules with debhelper 7 * add Homepage field * use dh_clean to remove files * add watch file and get-orig-source target * remove debian/storebackup.cron.daily, it's included upstream * update debian/copyright: - update copyright years - update license to GPLv3 * remove debian/links, and create the links in debian/rules * add copyright for Debian packaging * remove multitail from /usr/bin/ as another package already provides that * install man pages from upstream * add DM-Upload-Allowed field -- Ryan Niebur Mon, 11 May 2009 18:29:51 -0700 storebackup (1.19-7) unstable; urgency=low * orphaned: maintainer set to QA -- Arthur Korn Mon, 24 Nov 2008 18:41:54 +0100 storebackup (1.19-6) unstable; urgency=low * relieve Rueben Thomas from reading cp(1) over and over again ;) closes: #370762 * don't mangle hidden directories in the argument of -r closes: #465129 * Standards-Version 3.7.3 without changes * debhelper compatibility level changed from 4 to 6 without changes * copy copyright statement from source file to debian/copyright -- Arthur Korn Tue, 19 Feb 2008 19:42:06 +0100 storebackup (1.19-5) unstable; urgency=low * cron.daily: remove tempfiles when done, closes: #373120 * upped Standards-Version to 3.7.2.2 without changes * README.Debian: fix speling mistakes, closes: #370761 * README: spellchecked it, didn't fix the bad language though closes: #370771 -- Arthur Korn Mon, 12 Feb 2007 22:20:42 +0100 storebackup (1.19-4) unstable; urgency=low * the documentation-matters release * Holger Hartmann wrote manpages for StoreBackup! Praise Him! closes: #173052, #173054, #173056, #173055, #267967, #173053, #267968 -- Arthur Korn Sat, 27 May 2006 15:06:57 +0200 storebackup (1.19-3) unstable; urgency=low * Standards-Version 3.6.2.0 -> 3.7.2.0 without changes * rules: added binary-arch target to comply with policy section 4.8 * control: changed Build-Depends-Indep on debhelper to Build-Depends since it is used in the clean target of debian/rules, complying to policy section 7.6 -- Arthur Korn Thu, 25 May 2006 11:49:38 +0200 storebackup (1.19-2) unstable; urgency=low * Fix instance of too well predicteable filename of written to temporary file, found and fixed by Moritz Muehlenhoff. -- Arthur Korn Sat, 31 Dec 2005 15:54:02 +0100 storebackup (1.19-1) unstable; urgency=low * New upstream release * Standards-Version 3.6.2.0 without changes * storeBackupSync has been added by hjc -- Arthur Korn Mon, 29 Aug 2005 22:50:12 +0200 storebackup (1.18.4-3) unstable; urgency=low * cron.daily: exit 0 if storeBackup is not present (config-only state), closes: #311151 -- Arthur Korn Sun, 29 May 2005 16:41:44 +0200 storebackup (1.18.4-2) unstable; urgency=medium * Amazingly stupid bugs in cron.daily script ... - "0" is just as "true" from the POV of /bin/test as "1". - the default exit value is the return value of the last evaluated statement, which in the all-ok case was 1 for this script. Added explicit exit 0. -- Arthur Korn Sat, 18 Sep 2004 14:34:49 +0200 storebackup (1.18.4-1) unstable; urgency=low * New upstream release, closes: #265433 - converted 'j' to 'i' in arguments to pack/unpack, closes: #255119 - storeBackupls reads all info from config file if supplied, closes: #256881 * Automatic conversion with storeBackupConvertBackup is done in postinst (actually already in 1.16.1-1), closes: #235944 * storeBackupMount: stripped of the ".pl" ending off all occurrances of storeBackup, closes: #265434 -- Arthur Korn Wed, 25 Aug 2004 13:20:22 +0200 storebackup (1.16.1-2) unstable; urgency=low * dpkg --compare-versions in postinst did only work on upgrades with older versions of dpkg it seems. ouch. closes: #239604 -- Arthur Korn Wed, 24 Mar 2004 17:16:51 +0100 storebackup (1.16.1-1) unstable; urgency=low * New upstream release * POSIX::_exit(0) used to avoid throwing exit(-1) in global destruction, now cron.daily even works. Hopefully also closes: #191978 at last. * postinst fixes the bzip2 -d problem in .md5CheckSums.info files for all targets configured in /etc/storebackup.d/. You can fix this yourself with perl -p -e 's/^\s*uncompress=bzip2\s*$/uncompress=bzip2 -d\n/' -i */.md5CheckSums.info -- Arthur Korn Tue, 16 Mar 2004 11:49:20 +0100 storebackup (1.15.1-3) unstable; urgency=low * cron.daily: logs are only returned for the backups that failed. -- Arthur Korn Wed, 18 Feb 2004 12:23:03 +0100 storebackup (1.15.1-2) unstable; urgency=low * postinst: when /etc/storebackup.d/ was empty, sed in postinst ran forever, closes: #233486, #233412, pls forgive me this stupid oversight. * removed forcing of --logFile /var/log/storeBackup.log --plusLogStdout, working with Heinz-Josef on this and an --ignoreDevices option. I hope to get a solid cron.daily script together soon. -- Arthur Korn Wed, 18 Feb 2004 12:03:10 +0100 storebackup (1.15.1-1) unstable; urgency=low * New upstream release - new config file settings, double check wheter old configs keep working - changed md5sums file format, storeBackupConvert your backup dirs - Fixed handling of KeepMaxBackups == KeepMinBackups, closes: #228949 * Backups made form config files in /etc/storebackup.d/ are automatically converted at upgrade. * replaced "storeBackup || true" workaround for #191978 in cron.daily, suppressing error email just sucks. Now I try delaying the error until the remaining backups completed. -- Arthur Korn Mon, 9 Feb 2004 13:27:42 +0100 storebackup (1.14.1-2) unstable; urgency=low * Placed notes on valid names for storebackup.d/* files in README.Debian and cron.daily/storebackup, closes: #225495 * Standards-Version 3.6.1 without changes. -- Arthur Korn Sat, 3 Jan 2004 15:59:47 +0100 storebackup (1.14.1-1) unstable; urgency=high * New upstream release - In some cases permissions of files in the backup weren't set correctly, this has been fixed. This has security implications, thus priority high. -- Arthur Korn Thu, 6 Nov 2003 13:00:22 +0100 storebackup (1.14-1) unstable; urgency=low * New upstream release -- Arthur Korn Wed, 3 Sep 2003 15:17:41 +0200 storebackup (1.13-1) unstable; urgency=low * New upstream release - several changes to the backup management options - --exceptDirs should work now - storeBackupDel.pl was added * Standards-Version: 3.6.0 without changes * Debhelper compatibility level 4 -- Arthur Korn Wed, 6 Aug 2003 11:54:39 +0200 storebackup (1.12.2-1) unstable; urgency=low * New upstream release * cron.daily doesn't exit on errors of storeBackup such that one bad config doesn't prevent the ones sorted after it from running. -- Arthur Korn Wed, 21 May 2003 00:30:09 +0200 storebackup (1.12-1) unstable; urgency=low * New upstream release - exception list was not taken into account when checking collisions from options of -t and -s, closes: #184641, #188954 - added parameter --copyBWLimit (uses rsync for copying) - in some cases internal linkage of doublicated files was not working - added parameter --postcommand, closes: #180676 - added statistical output for used length of queues * cosmetical changes to cron.daily. * updated to Standards-Version 3.5.9.0 without changes. -- Arthur Korn Mon, 21 Apr 2003 22:19:39 +0200 storebackup (1.11-1) unstable; urgency=low * New upstream release -- Arthur Korn Tue, 11 Mar 2003 15:21:47 +0100 storebackup (1.10.1-4) unstable; urgency=low * control: Depend on debianutils (>= 1.16.9) for run-parts --list, closes: #178156 -- Arthur Korn Sat, 25 Jan 2003 11:35:34 +0100 storebackup (1.10.1-3) unstable; urgency=low * cron.daily: assemble list of config files to use with run-parts --list, thus backup files won't be run anymore *sic*. * updated the README.Debian * corrected a potential misunderstanding in the Description -- Arthur Korn Fri, 17 Jan 2003 15:13:25 +0100 storebackup (1.10.1-2) unstable; urgency=low * cron.daily: check for existence of /usr/bin/storeBackup and config files, exit if missing. closes: #173778 -- Arthur Korn Fri, 20 Dec 2002 15:25:58 +0100 storebackup (1.10.1-1) unstable; urgency=low * Initial Release. -- Arthur Korn Wed, 11 Dec 2002 20:32:07 +0100 debian/docs0000644000000000000000000000010611767057354010055 0ustar doc/README _ATTENTION_ doc/ROADMAP doc/README.1ST doc/storeBackup.pdf debian/dirs0000644000000000000000000000002311767054506010060 0ustar etc/storebackup.d/ debian/copyright0000644000000000000000000000240411767062235011132 0ustar This package was debianized by Arthur Korn on Wed, 11 Dec 2002 20:32:07 +0100. It was downloaded from http://savannah.gnu.org/projects/storebackup Upstream Author: Dr. Heinz-Josef Claes at Copyright (C) Dr. Heinz-Josef Claes (2000-2012) and Nikolaus Rath (2008) This program 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 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, see `/usr/share/common-licenses/GPL-3` for the full text of the GNU General Public License 3. The Debian packaging is Copyright 2002-2008 Arthur Korn , and Copyright 2009 Ryan Niebur . It is licensed under the same license as storebackup itself. debian/control0000644000000000000000000000211511767057104010600 0ustar Source: storebackup Section: utils Priority: optional Maintainer: Ryan Niebur Build-Depends: debhelper (>= 7.2), perl Standards-Version: 3.9.3 Homepage: http://www.nongnu.org/storebackup/ Vcs-Git: git://git.debian.org/git/collab-maint/shutter.git Vcs-Browser: http://git.debian.org/?p=collab-maint/shutter.git;a=summary Package: storebackup Architecture: all Depends: bzip2, debianutils (>= 1.16.9), ${perl:Depends}, ${misc:Depends} Recommends: libio-compress-bzip2-perl Description: fancy compressing managing checksumming deduplicating hard-linking cp -ua Copies directory hierarchies recursively into another location, by date (e.g. /home/ => /var/bkup/2002.12.13_04.27.56/). Permissions are preserved, so users with access to the backup directory can recover their files themselves. . File comparisons are done with MD5 checksums, so no changes go unnoticed. . Hard-links unchanged backuped files to old versions and identical files within the backuped tree. . Compresses large files (that don't match exclusion patterns). . Manages backups and removes old ones. debian/NEWS0000644000000000000000000000062611767054502007700 0ustar storebackup (3.1-1) unstable; urgency=low Between version 1.19 and 3.1 the configuration file has changed incompatibly. Your existing configuration files will no longer work, and you'll have to manually update them to the new format. You can see an example here: /usr/share/doc/storebackup/examples/storeBackup_example.gz -- Ryan Niebur Sun, 07 Jun 2009 10:59:49 -0700 debian/storebackup.doc-base0000644000000000000000000000034711767062237013126 0ustar Document: storebackup Title: StoreBackup 3.2.1 Author: Heinz-Josef Claes Abstract: StoreBackup is a disk-to-disk backup tool for GNU/Linux. Section: File Management Format: PDF Files: /usr/share/doc/storebackup/storeBackup.pdf.gz