search for: guestfs_rsync_out_archive

Displaying 2 results from an estimated 2 matches for "guestfs_rsync_out_archive".

2015 Feb 07
4
getting guestfs_rsync_out to work
All- Per this page https://rwmj.wordpress.com/2013/04/22/using-rsync-with-libguestfs/ We are trying to get the libguestfs API guestfs_rsync_out to work. We’ve tried combinations similar to: guestfs_rsync_out(g, “/HostShared”, “rsync://root@10.0.1.90:2999/backup/ -av”, -1) surrounding it with APIs as in the recipe examples, for example replacing libguestfs_cat(), with no luck. In the
2015 Feb 08
1
Re: getting guestfs_rsync_out to work
...>> >> https://github.com/libguestfs/libguestfs/blob/master/tests/rsync/test-rsync.sh > > Thanks very much. In our example, the libguestfs API syntax required turns out to be: > > guestfs_rsync_out(g, "/Win7Folder", "rsync://root@10.0.1.90:2999/backup", GUESTFS_RSYNC_OUT_ARCHIVE, 1, -1) > > This produces a trace result: > > libguestfs: trace: rsync_out "/Win7Folder" "rsync://root@10.0.1.90:2999/backup" "archive:true" > > Also, to avoid chgrp and other permission related messages, we had to add: > > uid = 0 > gi...