<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello lxc-users,</p>
<p>Inside a Linuxcontainer I use:<br>
</p>
<p><font face="Courier New, Courier, monospace"> root@container ~
$ ssh vps270841.ovh.net tar czf - /var/www/website.com/htdocs |
tar xzpf - -C/</font><br>
</p>
<p>to get a tar archive from another remote server by ssh and
extract it inside the container, works fine.<br>
But how can I achieve the same from the host system? I tried
different things, but no success.<br>
</p>
<p>I tried it with:<br>
</p>
<p><font face="Courier New, Courier, monospace"> root@host ~ $
lxc exec container -- ssh vps7456.ovh.net 'tar czf -
/var/www/website.com/htdocs' | tar xzpf - -C/<br>
</font></p>
<p>but this pipe 'goes' to the host system :( Is there another
possibility with `lxc push -` - or any sugestion from you?<br>
</p>
<p>Thank you in advance for any hint.<br>
Ingo Baab<br>
<br>
</p>
</body>
</html>