table of contents
RDUP-TR(1) | rdup | RDUP-TR(1) |
NAME¶
rdup-tr - transform rdup outputSYNOPSIS¶
rdup-tr [ OPTION]...DESCRIPTION¶
Transform rdup output into something else. Where something else can be a tar, cpio, pax archive or another rdup stream.- 0
- OK
- D
- delete information is lost
- H
- hardlink information is lost
output tar,cpio,pax rdup input ------------- ------------- ------ rdup D 0 filelist DH H
OPTIONS¶
- -L
- Select list input format. Normally rdup-tr accepts rdup output, with this option you can give it a list of path names. Note: with list input rdup-tr will `stat()` each file.
- -O
- Output format. This can be 'tar', 'cpio', 'pax' or 'rdup'. It defaults to 'rdup'.
- -X key
- Read the encryption key from the file key and encrypt all
paths with Blowfish and this key and iv. After the encryption the binary
data is converted into ASCII using an URL safe (Section 4 of RFC 3548)
version of base64 encode.
- -Y key
- Read the decryption key from the file key and decrypt all paths with Blowfish and this key. Before the encryption the paths are converted to binary by using an URL safe version of base64 decode.
- -c
- Force output to the tty. Normally rdup-tr wants to see it's output redirected.
- -v
- Be more verbose.
- -V
- Print rdup-tr's version.
- -h
- A short help.
EXAMPLES¶
The following is possiblerdup -Pgzip -Pmcrypt,-f,KEY,-c /dev/null /home | \
rdup-tr -O tar -X<(echo secret) | gzip > \
my-home-zipped-crypted-pathcrypted-tar.gz
rdup -Pgzip -Pmcrypt,-f,KEY,-c /dev/null /home | \
rdup-tr -O tar > my-home-zipped-and-crypted.tar
rdup -Pgzip -Pmcrypt,-fKEY,-c /dev/null /home | rdup-tr -Otar | \
ssh user@remotehost tar xvCf /tmp -
rdup -Popenssl,enc,-e,-des-cbc,-k,secret
/dev/null /home
rdup -Pgzip -Popenssl,enc,-e,-des-cbc,-k,secret /dev/null /home | \
gzip > my_compressed_encrypted_rdup_archive.gz
gunzip -c my_compressed_encrypted_rdup_archive.gz |\
rdup-tr -Popenssl,enc,-d,-des-cbc,-k,secret -Pgzip,-d >\
my_rdup_archive
rdup-up < my_rdup_archive -t /tmp/restore
EXIT CODE¶
rdup-tr return a zero exit code on success, otherwise 1 is returned.AUTHOR¶
Written by Miek Gieben.REPORTING BUGS¶
Report bugs to <miek@miek.nl>.SEE ALSO¶
http:/www.miek.nl/projects/rdup/ is the main site of rdup. Also see rdup(1), rdup-up(1) and rdup-backups(7).COPYRIGHT¶
Copyright (C) 2005-2010 Miek Gieben. This is free software. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Licensed under the GPL version 3. See the file LICENSE in the source distribution of rdup.27 Nov 2008 | 1.1.11 |