Yes, it does. Thank you!
Ingo
Am 10.04.2017 um 11:20 schrieb Marat Khalili:
Also the following might work:
root@host ~ $ lxc exec container -- rsync -azR
vps270841.ovh.net:/var/www/website.com/htdocs/ /
--
With Best Regards,
Marat Khalili
Also the following might work:
root@host ~ $ lxc exec container -- rsync -azR
vps270841.ovh.net:/var/www/website.com/htdocs/ /
--
With Best Regards,
Marat Khalili
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
I wrap mine in bash -c 'commands'
So something like:
root@host ~ $ lxc exec container -- bash -c "ssh vps7456.ovh.net 'tar czf -
/var/www/website.com/htdocs' | tar xzpf - -C/"
Will probably work.
--Greg
On Apr 9, 2017 5:03 PM, "Ingo Baab" wrote:
Hello lxc-users,
Inside a
Hello lxc-users,
Inside a Linuxcontainer I use:
root@container ~ $ ssh vps270841.ovh.net tar czf -
/var/www/website.com/htdocs | tar xzpf - -C/
to get a tar archive from another remote server by ssh and extract it
inside the container, works fine.
But how can I achieve the same from the