重設同步Reset Sync

在建立 School Data Sync 設定檔之後,您可能需要按下「重設同步處理」,以解決可能會出現的一些錯誤。After a School Data Sync profile has been created, there may be a time when you will need to press "Reset Sync" to resolve some errors that may come up. 在某些情況下(如有可能導致其他問題的情況超過修正的情況),請勿按下「重設」。Do not press "Reset" without thinking about it carefully as there are instances where it can cause more issues than it will fix.

何謂「重設同步」What is "Reset Sync"

「重設同步處理」按鈕位於目前同步處理狀態的正下方,如果有任何錯誤。The "Reset Sync" button is located right below the current status of the sync and if there are any errors. 此功能本身主要是在後端重設,以清除任何要重試的儲存錯誤,或用於差異同步處理的資料。這樣一來,就無法移除已存在於租使用者上的任何資訊,或先前已經跨越的學校資料同步處理。The feature itself is primarily a reset on the back end to clear out any stored errors that would be retried or data used for a delta sync. This in no way removes any information that already exists on the tenant or that School Data Sync had previously brought across. 根據設計,SDS 永遠不會刪除任何專案。By design, SDS will never delete anything. 它只會附加至現有的物件或建立新的物件。It will only ever append to existing or create new objects.

按下重設同步處理之後,它會重新處理所有來源資訊(CSV 檔案或 API)。After Reset Sync is pressed, it will reprocess all of the source information, either CSV files or by API. 當它嘗試依行同步處理所有專案,而不是查看變更時,它會花更長的時間,而不是傳統的差異同步處理。This will always take longer than a traditional delta sync as it attempts to sync everything line by line instead of looking at changes.

Reset-Sync-Location

警告

以下是一般的情況,而且可能不適用於所有問題。The below scenarios are general in nature and may not apply to all issues. 在不適當的情況下按下「重設同步處理」可能會導致超出其解決問題的問題。Pressing "Reset Sync" in an improper scenario may cause more issues than it can solve. 如果您不確定按下「重設同步處理」,請向您的部署管理員或提交SDS 支援部門提交票證。If you are unsure about pressing "Reset Sync" please reach out to your Deployment Manager or submit a ticket at SDS Support.

會重設同步處理説明的問題What issues will Reset Sync help with

一般來說,重設同步處理的兩種類型的問題通常應該會解決。In general, there are two types of issues that Reset Sync should normally resolve.

  • 先前已經解決,但仍會顯示在錯誤記錄中的錯誤Errors that have previously been resolved but are still showing in the Error Log
  • 已手動刪除的類別,或已手動從類別中移除的學生。Classes that have been manually deleted, or students that have been manually removed from classes.

範例案例-先前已解決錯誤記錄中的錯誤Example Scenario - Previously resolved errors still in error log

同步處理 SIS/MIS 中的資訊,使其數量永不同步處理(可能是午餐或學習廳類別)時,並不少見。It is not uncommon when syncing information from a SIS/MIS to have a number of Classes synced that will never be used, possibly a class for Lunch or Study Hall. 我們決定移除這些課程,以限制跨越的資訊,同時也會取得未參考教師的「類別」的錯誤。We decide to remove those courses to limit the information brought across and also because we are getting errors for those "classes" not having a Teacher referenced to it. 進行此變更之後,請上載修訂的 CSV 檔案,或等候使用 API 時所進行的變更。After this change is done we either upload the revised CSV files or wait for the changes to take place if using an API.

在下一次同步處理時,我們現在會收到錯誤,指出無法移除區段,因為我們只是將它移除,所以沒有任何意義。When the next sync runs, we now get errors saying that the section cant be removed, which doesn't make any sense as we have just removed it. 因為此錯誤是以回應我們所做的變更,所以它會嘗試使用上次同步處理的資訊,並將其與最近的同步處理進行比較。Because this error is in response to a change that we had made, it's attempting to use the last synced information and compare it against the most recent sync.

當您按下重設同步處理並重新處理資訊後,應移除這些錯誤。After Reset Sync is pressed and the information is reprocessed, these errors should be removed.

意外刪除範例案例-類別Example Scenario - Class was unintentionally deleted

從一個學期轉換為另一個學期,有些課程可能會有相同的名稱。Transitioning from one semester to another, some courses may have an identical name. 名稱相同的名字會讓一些教師不想要將其新類別當作舊類別,所以他們決定要將其刪除。The identical names had confused some Teachers into thinking their new classes were old ones, so they decided to delete them.

現在,您必須重新建立並填入學生的這些類別。These classes now need to be recreated and populated with students. 如果上傳的是舊的 CSV 檔案,或 API 連線仍在執行,SDS 將不會識別任何變更與上次同步處理的資訊進行比較,而非目前的資訊承租人。If the previous CSV files are uploaded, or the API connection is left to run, SDS will not identify any changes as they are compared against the last synced information, not the current information tenant.

若要重新建立這些課程,使其可由 SDS 管理,您應該按下重設同步處理,它會重新處理上次上傳的所有資訊。To recreate these courses so they can be managed by SDS, you should press Reset Sync which will reprocess all of the information that was last uploaded. 這會自動重新建立類別,也會將學生重新加入課程,讓教師可能已從一年中的課程移除。This will automatically recreate the classes and also re-add students to classes that teachers may have removed them from through the course of the year.

注意

這會建立新的區段,其屬性和名單與已刪除的課程相同。This will create a new section with the same properties and roster as the course that was deleted. 會從已刪除的狀態還原類別。It will NOT restore the class from the deleted state. 若要還原已刪除的群組,請依照說明如何在 Azure Active Directory 中還原已刪除的 Office 365 群組的檔。To restore a deleted group, please follow the documentation on how to Restore a deleted Office 365 group in Azure Active Directory.