kubackup-server (3.0-ku26-01a) unstable; urgency=low

  * modules files, sbin/kubackup-getconf

    ===== WARNING, CONFIG FILES FORMAT CHANGED == MANUAL CHANGES NEEDED ======

    - add: user and password can be defined in config files, and used if not
    	   defined in modules files
    - mod: modules file format changed, now user and password (if any) MUST be
    	   embedded in module name, and no longer as line args, ie:

	   	bck_,L  dirname  user pass --args

	   become

	       user:pass@bck_,L dirname --args

          or define 'user' and 'password' in .conf file

    - add: templates files for group precedences, excludes, modules

  * pre.d/05rename
    - add: now can move dirs across systems, too; the accepted lines can have now
    	   these formats:

	     1. system to_system
	     2. system from_dir to_dir
	     3. system from_dir to_system to_dir	# new


 -- Lorenzo Canovi (KUBiC Labs, CH) <packager@kubiclabs.com>  Mon, 19 Jan 2026 15:09:33 +0100

kubackup-server (3.0-ku25-06a) unstable; urgency=low

  * sbin/kubackup-run
    - fix: still try to remount disk r/o even if is already umounted

 -- Lorenzo Canovi (KUBiC Labs, CH) <packager@kubiclabs.com>  Sat, 03 Jan 2026 14:33:10 +0100

kubackup-server (3.0-ku25-04a) unstable; urgency=low

  * PACKAGE UPLOADED ON GITHUB

  * mirror script
    - add: this package depends from ku-file-utils; the only command used is
    	   'mirror', a bash frontend to rsync, if you want to avoid install
	   ku-file-utils, a copy of 'mirror' script in the documentation
	   directory

 -- Lorenzo Canovi (KUBiC Labs, CH) <packager@kubiclabs.com>  Fri, 04 Apr 2025 12:47:24 +0200

kubackup-server (3.0-ku25-03a) unstable; urgency=low

  * sbin/kubackup-systems
    - upd: minor cosmetic changes

 -- Lorenzo Canovi (KUBiC Labs, CH) <packager@kubiclabs.com>  Thu, 13 Mar 2025 10:53:31 +0100

kubackup-server (3.0-ku25-02a) unstable; urgency=low

  * sbin/kubackup-systems
    - upd: minor cosmetic changes, better help message, list of alt config files

 -- Lorenzo Canovi (KUBiC Labs, CH) <packager@kubiclabs.com>  Sun, 09 Feb 2025 13:11:32 +0100

kubackup-server (3.0-ku24-09b) unstable; urgency=low

  * sbin/kubackup-run
    - fix: nc will hang when running in background from interactive shell
	   (added </dev/null to cmdline)
    - add: system 'port' parameter, to override default remote rsync daemon port
    - fix: quoted strings in some tests
    - fix: cleanup, changed '==' to '=' in tests
    - del: removed 'sync' command at backup end

 -- Lorenzo Canovi (KUBiC Labs, CH) <packager@kubiclabs.com>  Thu, 26 Sep 2024 08:35:46 +0200

kubackup-server (3.0-ku24-09a) unstable; urgency=low

  * sbin/kubackup-watch*
    - add: -N (N=number) option, used to display last N lines of current logfile

 -- Lorenzo Canovi (KUBiC Labs, CH) <packager@kubiclabs.com>  Sat, 07 Sep 2024 22:13:03 +0200

kubackup-server (3.0-ku24-08a) unstable; urgency=low

  * bin/kubackup-dedup
    - new: utility that deduplicate files using hard-link; usefull for manual "fix"
    	   backup directory, but can be used over any tree

  * sbin/kubackup-watch (and companion kubackup-watch-cmd)
    - new: utility to live watch current backup infos

 -- Lorenzo Canovi (KUBiC Labs, CH) <packager@kubiclabs.com>  Thu, 15 Aug 2024 08:59:10 +0200

kubackup-server (3.0-ku24-03a) unstable; urgency=low

  * sbin/kubackup-run
    - fix: quoted $SYS_rotation in various places (can be empty)

 -- Lorenzo Canovi (KUBiC Labs, CH) <packager@kubiclabs.com>  Tue, 19 Mar 2024 08:31:58 +0100

kubackup-server (3.0-ku24-01a) unstable; urgency=low

  * pre/05rename
    - fix: "continue" instead of "return" in line 87

 -- Lorenzo Canovi (KUBiC Labs, CH) <packager@kubiclabs.com>  Thu, 07 Mar 2024 07:45:13 +0100

kubackup-server (3.0-ku23-12a) unstable; urgency=low

  * sbin/kubackup-run
    - fix: typo at line 610 ('&&' instead of '-a' in a test)

 -- Lorenzo Canovi (KUBiC Labs, CH) <packager@kubiclabs.com>  Fri, 22 Dec 2023 16:53:56 +0100

kubackup-server (3.0-ku23-10a) unstable; urgency=low

  * sbin/kubackup-run
    - fix: if rotations=0 doesn't uses --inplace option (was checked on $PREVDIR var,
    	   that is defined even rotations=0)

 -- Lorenzo Canovi (KUBiC Labs, CH) <packager@kubiclabs.com>  Mon, 02 Oct 2023 08:50:17 +0200

kubackup-server (3.0-ku23-08a) unstable; urgency=low

  * debian/compat: (devuan daedalus) raised to 10

 -- Lorenzo Canovi (KUBiC Labs, CH) <packager@kubiclabs.com>  Mon, 28 Aug 2023 14:28:31 +0200

kubackup-server (3.0-ku22-12a) unstable; urgency=low

  * pre.d/10clean
    - add: __kubackup metadata directory maintenance, logfiles cleanup; in the config
     	   file you can add MAX_LOGFILES_AGE=<days>, and the script will clean up
	   old logfiles based on this setting

 -- Lorenzo Canovi (KUBiC Labs, CH) <packager@kubiclabs.com>  Tue, 14 Mar 2023 11:51:36 +0100

kubackup-server (3.0-ku22-04a) unstable; urgency=low

  * pre.d/05rename
    - mod: almost full rewritten

  * jt metafiles
    - upd: updated to 2021-10-26 version

 -- Lorenzo Canovi (KUBiC Labs, CH) <packager@kubiclabs.com>  Wed, 06 Apr 2022 12:53:23 +0200

kubackup-server (3.0-ku22-02a) unstable; urgency=low

  * sbin/kubackup-export-mktar
    - fix: updted to reflect external packages changes; now searches binfiles
    	   in theyr actual path (using which) instead of using fixed path

 -- Lorenzo Canovi (KUBiC Labs, CH) <packager@kubiclabs.com>  Wed, 23 Feb 2022 15:02:43 +0100

kubackup-server (3.0-ku21-11a) unstable; urgency=low

  * sbin/kubackup-getconf
    - add: modulesfile system key, points to the file containing modules, if any;
    	   if not defined defaults to $CONFDIR/<sys>_modules (previous beheaviour);
	   if defined the file MUST exists; can be absolute path, or relative to
	   $CONFDIR

  * sbin/kubackup-run
    - fix: uses kubackup-getconf when needed

 -- Lorenzo Canovi (KUBiC Labs, CH) <packager@kubiclabs.com>  Sat, 29 Jan 2022 12:15:22 +0100

kubackup-server (3.0-ku21-06b) unstable; urgency=low

  * sbin/kubackup-run
    - fix: the mess about LANG different than C (kubackup-run was not updated
    	   from the introduction of KUBCACKUP_LANG var)

 -- Lorenzo Canovi (KUBiC Labs, CH) <packager@kubiclabs.com>  Sat, 18 Sep 2021 13:05:39 +0200

kubackup-server (3.0-ku21-06a) unstable; urgency=low

  * sbin/kubackup-run
    - fix: if there is only one slot, for a given system, on backup disk,
    	   the subsequent backup will not use it, performing a full copy
	   instead (due wrong test)
    - mod: debug option now automatically set verbose option, too
    - fix: in dry-run mode the main logfile will copied on backup disk for real
    - fix: call of log_err() pseudofunc in early stage (disk mount phase) will
    	   abort due missing $DisplayStartDate definition

 -- Lorenzo Canovi (KUBiC Labs, CH) <packager@kubiclabs.com>  Sat, 12 Jun 2021 09:11:05 +0200

kubackup-server (3.0-ku21-05) unstable; urgency=low

  * production release ku21.05

 -- Lorenzo Canovi (KUBiC Labs, CH) <packager@kubiclabs.com>  Mon, 17 May 2021 18:19:06 +0200

kubackup-server (3.0-ku21-4a) unstable; urgency=low

  * meta: package owner
    - mod: Allblue SA dismissed, now is KUBiC Labs only
    - mod: from now releases uses the scheme YY.mm[patchlevel], where patchlevel
    	   usually is a locase letter; releases YY.mm (w/out patchlevel) are
	   production ones

  * sbin/kubackup-addsystems
    - fix: typo in line 195 and below, $sys instead of $system

 -- KUBiC Labs (CH) <packager@kubiclabs.com>  Wed, 21 Apr 2021 16:53:40 +0200

kubackup-server (3.0-ku21-2) unstable; urgency=low

  * production release 3.0 ku21.2

 -- KUBiC Labs (CH) <packager@kubiclabs.com>  Wed, 24 Feb 2021 12:33:10 +0100

kubackup-server (3.0-ku21-1) unstable; urgency=low

  * sbin/kubackup-run
    - mod: added exception to mirror output for locked files from windows
    	   backups: Device or resource busy (now is ignored)

 -- Allblue SA, KUBiC Labs (CH) <packager@kubiclabs.com>  Sat, 20 Feb 2021 15:53:08 +0100

kubackup-server (3.0-ku21-0) unstable; urgency=low

  * production release 3.0 ku21.0

 -- Allblue SA, KUBiC Labs (CH) <packager@kubiclabs.com>  Wed, 20 Jan 2021 15:51:33 +0100

kubackup-server (3.0-ku0-3) unstable; urgency=low

  * post.d/xlocate (--config once)
    - fix: statefile name was not using disk label when running with default
   	   dbfile name (=disk label, XLOCATE_DBFILE env not set), causing
	   exponential grow of the xlocate dbfile, due deleted directories
	   records not pruned
    - add: env override XLOCATE_MODE to set dbfile update mode, default is 'add',
    	   you can set it to 'update' to replace entries instead of adding them

 -- Allblue SA, KUBiC Labs (CH) <packager@kubiclabs.com>  Thu, 07 Jan 2021 16:02:29 +0100

kubackup-server (3.0-ku0-2) unstable; urgency=low

  * production release 3.0 ku0.2

 -- Allblue SA, KUBiC Labs (CH) <packager@kubiclabs.com>  Sun, 16 Aug 2020 17:44:36 +0200

kubackup-server (3.0-ku0-1) unstable; urgency=low

  * kubackup-run
    - fix: when error occurred in PRE script, the POST script should be
    	   skipped, too
    - fix: when running in dry-run mode still try to save (non-existent) mirror
    	   logfile
    - fix: email report will search lines in logfile using only PID, this can
    	   select wrong lines from old backups; now consider also the starting
	   and ending dates
    - fix: the whole program and childs must run under LANG=C, to avoid problems
    	   parsing outputs; custom lang from KUBACKUP_LANG env must be used only
	   when needed
    - mod: prints human readable start date and time in report header

  * kubackup-getconf
    - add: value checking, new exit value 11; only for rotations at the moment
    - fix: rotations=1 really means "no retentions"; if rotations is set to 1
    	   in config files, will be forced to 0

  * pre/10clean
    - fix: aborts when trying to remove a path that has been just removed, if
 -- Allblue SA, KUBiC Labs (CH) <packager@kubiclabs.com>  Sun, 19 Jul 2020 15:17:41 +0200

