DiskSafe的snapshot schedule跟sync mode為continuous或periodic而有所不同...
先前提到DiskSafe的snapshot schedule跟sync mode為continuous或periodic而有所不同,continuous mode時可以額外設定snapshot schedule,但periodic mode時snapshot schedule就是sync schedule。換句話說,在sync mode為periodic時,如果要設定snapshot schedule,一定要回頭更改sync schedule。如:
dscli disk schedule <DiskID> -mode:periodic <daily [-days:<#>] [-time:<H:M>] | hourly [-hours:<H:M>]
在continuous sync mode下更改snapshot schedule的指令為:
dscli snapshot enable <DiskID> [daily [-days:<#>] [-time:<H:M>] | hourly [-hours:<H:M>] [-starttime:<Y-M-D*H:M>]]
另外,如果想要停止snapshot schedule則可以使用snapshot disable指令:
dscli snapshot disable <DiskID>