ntfsclone_out


Description:

[ Version ( since = "1.17.9" ) ]
public bool ntfsclone_out (string device, string backupfile, NtfscloneOut? optargs, Cancellable? cancellable = null) throws Error

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 .

Parameters:

this

A GuestfsSession object

optargs

a GuestfsNtfscloneOut containing optional arguments

cancellable

A GCancellable object

Returns:

true on success, false on error




2022 vala-language.org