How to Create Director Snapshot ?
Administrator@DK-VDScale-Director-1> request system create-snapshot description "Relevant names"
Will save current system state. Are you sure? [no,yes]yes
status System state saved
[ok][2018-08-13 18:53:28]
Administrator@DK-VDScale-Director-1> show system snapshots
Snapshots (saved good-states)
=============================
------------------------------------------------------
Snapshot: before-redeploy-org
Package : versa-director-20210910-171209-ee33bbd-21.2.2
Taken at: 20230419T130554
------------------------------------------------------
Snapshot: PRE-ROLLBACK-BEFORE-20230419T130554
Package : versa-director-20210910-171209-ee33bbd-21.2.2
Taken at: 20230419T134558
------------------------------------------------------
Snapshot: Good-state
Package : versa-director-20210910-171209-ee33bbd-21.2.2
Taken at: 20230712T081317
------------------------------------------------------
Snapshot: PRE-UPGRADE
Package : versa-director-20210910-171209-ee33bbd-21.2.2
Taken at: 20230724T174400
------------------------------------------------------
Snapshot: PRE-ROLLBACK-BEFORE-20230712T081317
Package : versa-director-20210910-171209-ee33bbd-21.2.2
Taken at: 20230724T191443
Administrator@DK-VDScale-Director-1>
The created snapshots will be available on the below location
Administrator@DK-VD:/var/lib/vs/.vs_snap$ ls /var/lib/vs/.vs_snap
20171004T085958 20171212T221317 20180106T061222 20180116T202719 20180131T023131 20180221T225711 20180223T112831 20180504T215336 20180802T202208 20180810T000111
20171207T014549 20171215T225222 20180106T061354 20180117T235202 20180205T204947 20180222T224543 20180223T132822 20180524T194551 20180803T180402 20180810T042157
20171209T213807 20180102T185505 20180115T193755 20180118T190112 20180209T042208 20180223T051647 20180224T022017 20180710T022653 20180806T220719 20180813T184912
20171212T191545 20180103T025555 20180115T203207 20180119T001355 20180209T190023 20180223T075843 20180303T222417 20180801T045955 20180806T222148
Administrator@DK-VD:/var/lib/vs/.vs_snap$
Administrator@DK-VD:/var/lib/vs/.vs_snap$ cd 20180810T042157
Administrator@DK-VD:/var/lib/vs/.vs_snap/20180810T042157$ cat meta
{
"packageName" : "versa-director-20180809-094907-53eca57-16.1R2S3",
"timestamp" : "20180810T042157",
"description" : "Aug 9th backup",
"type" : "user"
}
Administrator@DK-VD:/var/lib/vs/.vs_snap/20180810T042157$
How to do Rollback from snapshot ?
Please run below command to rollback to earlier version:
Administrator@DK-VD> request system rollback to <insert "Taken at " from show system snapshot command>
E.g
Administrator@DK-VD> request system rollback to 20230419T130554