Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ian Eiloart
Sympl
Commits
0cd01f9c
Commit
0cd01f9c
authored
Sep 08, 2019
by
Paul Cammish
Browse files
Merge branch 'issue265' into 'buster-testing'
Issue 265 See merge request
sympl/sympl!129
parents
ee4f21f8
6b57c8ac
Changes
2
Show whitespace changes
Inline
Side-by-side
backup/backup.d/conf.d/50-drivers.conf
0 → 100644
View file @
0cd01f9c
# 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
}
backup/debian/changelog
View file @
0cd01f9c
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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment