Displaying 1 result from an estimated 1 matches for "lvm_backups".
Did you mean:
lv_backups
2005 Aug 12
4
Remote archiving with tar over ssh
...leset | 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 > /var/spool/lvm_backups/hostname.city/confs.$(date
+'%Y%m%d').tar.gz"
I have tried replacing "tar -zcvf -" with "tar -zcvf - {}" and "tar -
zcvf {}" to no avail. The problem is that tar does not see the pipe
to ssh and exits with signal 13. What am I missing?
Regards,
Jim...