Carlos E. R. wrote:
On Friday, 2019-08-02 at 10:23 +0200, Per Jessen wrote:
Carlos E. R. wrote:
The idea is to copy only some /data/* directories and avoid the rest. Or to not copy /data/** except /data/storage_**
Maybe this will do the job:
rsync $OPTIONS /data/storage_* /data/vmware \ root@Isengard::MyBook_Telcontar/$DESTINO
Certainly, that works. But that implies two separate runs:
One to copy the system: [snip] That is what I'm doing now. I want to combine the two runs in a single one.
Sorry, wasn't part of the spec, scope-creep :-) I would just do two runs, but I understand the technical challenge.
There must be a filter to tell rsync to include /data/storage_* and exclude the rest of /data.
rsync -ax / /data/storage* --exclude=/data $DEST -- Per Jessen, Zürich (19.4°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org