|
NAMErdup-tr - transform rdup outputSYNOPSISrdup-tr [OPTION]...DESCRIPTIONTransform rdup output into something else. Where something else can be a tar, cpio, pax archive or another rdup stream.The rdup archive must be given on rdup-tr's standard input. You can select multiple types of output (-O flag), but you must be aware that you may loose some information in formats other than rdup's own, see the table below. You may also supply rdup-tr with only a list of pathnames, this can be selected with the -L flag. The following table shows what happens with the output depending on the input.
OPTIONS
EXAMPLESThe following is possible
rdup -P gzip -P "mcrypt -f KEY -c" /dev/null /home | \
rdup-tr -O tar -X<(echo secret) | gzip > \
my-home-zipped-crypted-pathcrypted-tar.gz
That is: all files under /home are gzipped and encrypted on a per file basis (first line). Further more, all pathnames are Blowfish encrypted (second line) with the key 'secret'. This is put in a tar file, which is then compressed, resulting in the final output (final line). Creating a compressed and encrypted tar archive out of a full rdup dump might be done as follows
rdup -P gzip -P "mcrypt -f KEY -c" /dev/null /home | \
rdup-tr -O tar > my-home-zipped-and-crypted.tar
Or even pack and unpack it on the fly
rdup -P gzip -P "mcrypt -fKEY -c" /dev/null /home | rdup-tr -Otar | \
ssh user@remotehost tar xvCf /tmp -
Or encryption with openssl rdup -P "openssl enc -e -des-cbc -k secret"
/dev/null /home
Or, compressing with gzip, encrypting with openssl and then compressing the entire archive yet again
rdup -P gzip -P "openssl enc -e -des-cbc -k secret" /dev/null /home |
\
gzip > my_compressed_encrypted_rdup_archive.gz
EXIT CODErdup-tr return a zero exit code on success, otherwise 1 is returned.AUTHORWritten by Miek Gieben.REPORTING BUGSReport bugs to <miek@miek.nl>.SEE ALSOhttp:/www.miek.nl/projects/rdup/ is the main site of rdup. Also see rdup(1), rdup-up(1) and rdup-backups(7).COPYRIGHTCopyright (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.
Visit the GSP FreeBSD Man Page Interface. |