pvesm: import/export commands
This commit is contained in:
committed by
Fabian Grünbichler
parent
0d5a5fc9cb
commit
47f37b5362
@ -888,5 +888,16 @@ sub check_connection {
|
||||
return 1;
|
||||
}
|
||||
|
||||
# Export a volume into a file handle as a stream of desired format.
|
||||
sub volume_export {
|
||||
my ($class, $scfg, $storeid, $fh, $volname, $format, $snapshot, $base_snapshot, $with_snapshots) = @_;
|
||||
die "volume export not implemented for $class";
|
||||
}
|
||||
|
||||
# Import data from a stream, creating a new or replacing or adding to an existing volume.
|
||||
sub volume_import {
|
||||
my ($class, $scfg, $storeid, $fh, $volname, $format, $base_snapshot, $with_snapshots) = @_;
|
||||
die "volume import not implemented for $class";
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
Reference in New Issue
Block a user