Commit 0cd01f9c authored by Paul Cammish's avatar Paul Cammish

Merge branch 'issue265' into 'buster-testing'

Issue 265

See merge request sympl/sympl!129
parents ee4f21f8 6b57c8ac
Pipeline #694 passed with stages
in 35 minutes and 17 seconds
# Modified/updated driver from default backup2l.conf file, which doesn't
# raise warnings from tar. Note that this also don't update the access
# time, which is useful.
# The following driver is equivalent to the built-in DRIVER_TAR_GZ driver, but
# does not change the access times of the original files during backup
# (Adrian Bunk, Gundolf Kiefer)
DRIVER_TAR_GZ ()
{
case $1 in
-test)
require_tools tar
echo "ok"
;;
-suffix)
echo "tar.gz"
;;
-create) # Arguments: $2 = BID, $3 = archive file name, $4 = file list file
tar czf $3 --no-recursion -T $4 --atime-preserve 2>&1 \
| grep -v 'tar: Removing leading .* from .* names'
;;
-toc) # Arguments: $2 = BID, $3 = archive file name
tar tzf $3 | sed 's#^#/#'
;;
esac
}
sympl-backup (10.0.190908.0) stable; urgency=medium
* Added backup2l driver to prevent warnings from tar.
-- Paul Cammish <sympl@kelduum.net> Sun, 08 Sep 2019 16:24:00 +0100
sympl-backup (10.0.190731.0) stable; urgency=medium sympl-backup (10.0.190731.0) stable; urgency=medium
* Force backups to be run as root. * Force backups to be run as root.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment