ic_cdk::api::management_canister::main

Function take_canister_snapshot

Source
pub async fn take_canister_snapshot(
    arg: TakeCanisterSnapshotArgs,
) -> CallResult<(Snapshot,)>
Expand description

Take a snapshot of the specified canister.

A snapshot consists of the wasm memory, stable memory, certified variables, wasm chunk store and wasm binary.

See IC method take_canister_snapshot.