Displaying 1 result from an estimated 1 matches for "zvcf".
Did you mean:
vcf
2005 Aug 12
4
Remote archiving with tar over ssh
...rying to create a one line command that will:
1. Find all files ending in .conf
2. tar these over ssh to a remote server.
I have reached this point in my trials.
a. I can find the files.
b. I can tar them locally.
c. I can get a simple fileset tar'ed to a remote server over ssh
using tar -zvcf - /some/fileset | ssh host.domain.tld "cat >
/backup/tarfile.tar.gz
d. I cannot get tar to pipe find'ed files to the remote server over
ssh.
My current command line looks like this.
find / -name "*.conf" | xargs -t tar -zcvf - | ssh \
hostname.domain.tld \
"cat >...