File: driver_tar-gz-rsyncable.txt

package info (click to toggle)
backup2l 1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 680 kB
  • sloc: sh: 7,343; makefile: 7
file content (13 lines) | stat: -rw-r--r-- 449 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Submitted by: Jason D. Hildebrand  (2011-01-06 20:24)
#
# When the initial backup (all.1.tar.gz) is re-created (for me about 
# 20G) the transfer takes several days. If backup2l could create the
# tar.gz files using gzip's --rsyncable option, then this would speed 
# things up substantially.

# simple wrapper around the existing DRIVER_TAR_GZ using --rsyncable
DRIVER_TAR_GZ_RSYNCABLE ()
{
    export GZIP="--rsyncable"
    DRIVER_TAR_GZ "$@"
}