save NTFS to backup file
Stream the NTFS filesystem device
to the local file backupfile
. The format used for the backup file is a
special format used by the ntfsclone(8) tool.
If the optional metadataonly
flag is true, then *only* the metadata is saved, losing all the user data (this is useful for
diagnosing some filesystem problems).
The optional rescue
, ignorefscheck
, preservetimestamps
and force
flags have precise
meanings detailed in the ntfsclone(8) man page.
Use ntfsclone_in to restore the file back to a libguestfs device.
This function depends on the feature "ntfs3g". See also feature_available .
this |
A GuestfsSession object |
optargs |
a GuestfsNtfscloneOut containing optional arguments |
cancellable |
A GCancellable object |
true on success, false on error |