Package: storebackup Version: 3.2.1-1 Severity: normal I am trying to understand the effect of --keepRelative on my backups.
I understand that the obvious way to do so is using storeBackupDel with the --doNotDelete option. I start with the example given in the --help printout. However, apparently storeBackupDel fails. If I do not make it read the configuration file, it gives an error which I do not understand: # storeBackupDel -b /backup -S storebackup --doNotDelete --keepRelative '1d 7d 2m 4m' VERSION 2018.03.22 14:38:57 21282 storeBackupDel.pl, 3.2.1, build 362 INFO 2018.03.22 14:38:57 21282 scanning directory </backup/storebackup> for existing backups STATISTIC 2018.03.22 14:38:57 21282 found 1 backup series, 35 backups, 0 renamed backups INFO 2018.03.22 14:38:57 21282 consistency check finished successfully INFO 2018.03.22 14:38:57 21282 found no references to other backups INFO 2018.03.22 14:38:57 21282 removing old lock file of process <19044> ERROR 2018.03.22 14:38:57 21282 illegal parameter for option keepRelative, intervals must be in increasing o\ rder If I give it the configuration files to read, it prints nothing... # storeBackupDel -f /backup/storebackup/tucano.conf --doNotDelete --keepRelative '1d 7d 2m 4m' -- Francesco Potortì (ricercatore) Voice: +39.050.621.3058 ISTI - Area della ricerca CNR Mobile: +39.348.8283.107 via G. Moruzzi 1, I-56124 Pisa Skype: wnlabisti (entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing'), (101, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=C:en_GB:en:en_US:it:fr:es (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages storebackup depends on: ii bzip2 1.0.6-8.1 ii debianutils 4.8.4 ii perl 5.26.1-5 Versions of packages storebackup recommends: ii libperl5.26 [libio-compress-bzip2-perl] 5.26.1-5 storebackup suggests no packages. -- no debconf information ===File /backup/storebackup/tucano.conf===================== # configuration file for storeBackup.pl doNotDelete=no sourceDir=/ backupDir=/backup series=storebackup tmpDir=/var/tmp exceptDirs= backup dev home/*/.cache home/*/.local/share/Trash home/*/Dropbox home/www/potorti.it/pot/musica scrap/ scratch/farfalla scratch/ftp/.mirrors/* scratch/ftp/incoming scratch/ftp/riservato/* scratch/pot scratch/swap scratch/yacy home/www/incoming media mnt/* proc run/usr/*/gvfs sys tmp var/lib/apt/lists/* var/lib/mlocate var/lib/yacy/HTCACHE var/opt exceptRule= '$file =~ m#/tmp/#' or '$file =~ m#/cache/#' or '$file =~ m#/Cache/#' or ( ( '$file =~ m#\.(image|img|ova|vdi|vmdk)$#' ) and '$size > 2000000' ) or ( ( '$file =~ m#\.(iso|mp3|mpe?g|ogg|y4m|yuv)$#' ) and '$size > 2000000' ) or '$file =~ m#/\.mozilla/firefox/.*/urlclassifier.\.sqlite#' or '$file =~ m#/octave-workspace$#' writeExcludeLog=yes contExceptDirsErr=yes cpIsGnu=yes linkSymlinks=yes followLinks=0 suppressWarning=fileChange checkBlocksSuffix=\.mbox \.vdi \.qcow \.vmdk \.sav \.ova checkBlocksCompr=yes compress=xz --suffix=.SBc uncompress=sbu postfix=.SBc withUserGroupStat=yes userGroupStatFile=/backup/storebackup/tucano.stats exceptSuffix=\.xz \.lz \.lzma \.lzo \.zip \.xz \.bz2 \.gz \.rar \.tgz \.jpeg \.jpg \.gif \.tiff \.tif \.avi \.mpeg \.mpg \.mjpeg \.flv \.ts \.mp3 \.mp4 \.ogg \.gpg \.png \.deb \.rpm \.jar \.odp \.odt \.odg chmodMD5File=0640 keepAll=20d keepWeekday=Tue:a40d Fri:150d keepFirstOfYear=a10000d keepFirstOfMonth=a400d keepDuplicate=7d keepMinNumber=7 keepMaxNumber=35 progressReport=10000 printDepth=yes ignoreReadError=yes linkToRecent=--lastbackup-- logFile=/backup/storebackup/tucano.log maxFilelen=4e6 noOfOldFiles=50 logInBackupDir=yes compressLogInBackupDir=yes ============================================================ $ ls /backup/storebackup/ 2004.04.01_04.55.23 2005.01.01_04.36.55 2006.01.01_03.00.07 2007.01.01_01.00.02 2008.01.01_01.00.01 2009.01.05_01.30.02 2010.01.01_01.30.04 2011.01.01_01.30.05 2012.01.01_01.30.04 2013.01.01_01.30.04 2014.01.01_01.30.05 2015.01.01_01.30.03 2016.01.01_01.30.04 2017.01.01_01.30.03 2017.03.01_01.30.04 2017.04.01_01.30.05 2017.05.01_01.30.06 2017.06.01_01.30.03 2017.07.01_01.30.04 2017.08.01_01.30.03 2017.09.01_01.30.04 2017.10.01_01.30.05 2017.11.01_01.30.03 2017.12.01_01.30.13 2018.01.01_01.30.04 2018.02.01_01.30.03 2018.02.13_01.30.03 2018.02.20_01.30.12 2018.02.27_01.30.03 2018.03.01_01.30.03 2018.03.06_01.30.21 2018.03.08_01.30.06 2018.03.20_01.30.04 2018.03.21_01.30.04 2018.03.22_01.30.04