For more information about snapshot management, please refer to the VSS Guidelines.
VSS Portal
- Login to https://vss-portal.eis.utoronto.ca
- Look for the VM to edit and click
- Click on the Snapshot button:
- Select the date and time the snapshot will taken at:
- Select the lifetime for the snapshot (72 hours max):
- Click OK and you should see a snapshot request number at the bottom of the screen:
- You will get a confirmation email for the request submission, when the snapshot has been created and deleted.
VSS CLI
The following steps should guide you through the process of requesting a virtual machine snapshot using the either via https://vss-cli.eis.utoronto.ca or a local VSS CLI install
- Run vss configure to configure your VSS credentials. If you have already done this, please go to next step.
Look for the virtual machine Moref (identifier) to submit the snapshot request (Optional):
vss-cli compute vm ls -f name=Front moref name folder.path cpu_count memory_gb power_state ip_address ------- --------------- ------------------------- ----------- ----------- ------------- ------------ vm-2183 2004T-Frontend2 VSS > Development > Dev02 2 2 poweredOff vm-2185 2004T-Frontend3 VSS > Development > Dev03 1 1 poweredOn
Use the vss-cli compute vm set <name-or-vm-id> snapshot command to submit a snapshot request as follows:
vss-cli compute vm set --wait {name-or-vm-id} snapshot --action mk \ --description "Before difficult upgrade" --timestamp "2020-04-27 16:53" --lifetime 72
Once the request is submitted, you can follow up the request status with the vss-cli request snapshot command:
vss-cli request snapshot ls --sort created_on,desc id created_on updated_on status vm_moref vm_name action snapshot.from_date snapshot.to_date ---- --------------------------- --------------------------- --------- ---------- --------------- -------- --------------------------- --------------------------- 10 2020-04-27 Mon 16:53:34 EDT 2020-04-28 Tue 16:52:00 EDT PROCESSED vm-2183 2004T-Frontend2 DONE 2020-04-27 Mon 16:53:00 EDT 2020-04-28 Tue 16:53:00 EDT
- You will get a confirmation email for the request submission, when the snapshot has been created and deleted.
- For more information about how to Revert or Delete a Snapshot using the CLI, please refer to the CLI documentation here.
VSS intervention
- Send an email to vss(at)eis.utoronto.ca requesting create a virtual machine snapshot.
- Wait for email confirmation
Related articles