# Sửa SQL Database Backup Policy ```{admonition} Pre-condition * Truy cập vào Workspace * Truy cập vào VPC * Có ít nhất một Backup Policy ``` **Các bước thực hiện:** ---------- ### Bước 1: Truy cập vào màn hình Backup Policy của dịch vụ SQL Database ```{thumbnail} ../../../../_static/img/sdb/how-to/sao-luu-va-phuc-hoi/sua-sql-database-backup-policy-1.png :width: 65% :alt: Image :align: center ``` ### Bước 2: Sửa Backup Policy Ấn Action/Edit. ```{thumbnail} ../../../../_static/img/sdb/how-to/sao-luu-va-phuc-hoi/sua-sql-database-backup-policy-2.png :width: 65% :alt: Image :align: center ``` ### Bước 3: Điền thông tin  Thông tin trong Popup tạo Policy bao gồm:  * Backup Policy Name: Tên người dùng đặt ```{thumbnail} ../../../../_static/img/sdb/how-to/sao-luu-va-phuc-hoi/sua-sql-database-backup-policy-3.png :width: 65% :alt: Image :align: center ``` * Recurrence: Nếu chọn Daily ```{thumbnail} ../../../../_static/img/sdb/how-to/sao-luu-va-phuc-hoi/sua-sql-database-backup-policy-4.png :width: 65% :alt: Image :align: center ``` * Recurrence: Nếu chọn Weekly * Thêm thông tin: Day Of Week ```{thumbnail} ../../../../_static/img/sdb/how-to/sao-luu-va-phuc-hoi/sua-sql-database-backup-policy-5.png :width: 65% :alt: Image :align: center ``` * Recurrence: Nếu chọn Monthly * Nếu chọn Type: Specific day * Thêm thông tin Day Of Month ```{thumbnail} ../../../../_static/img/sdb/how-to/sao-luu-va-phuc-hoi/sua-sql-database-backup-policy-6.png :width: 65% :alt: Image :align: center ``` * Nếu chọn Type: In the 1st/2nd/3rd/4th/5th day * Thêm thông tin Day Of Week  ```{thumbnail} ../../../../_static/img/sdb/how-to/sao-luu-va-phuc-hoi/sua-sql-database-backup-policy-7.png :width: 65% :alt: Image :align: center ``` * Hour: Giờ backup * Time Zone: Múi giờ mong muốn * Retention: Tối đa là 7 ```{thumbnail} ../../../../_static/img/sdb/how-to/sao-luu-va-phuc-hoi/sua-sql-database-backup-policy-8.png :width: 65% :alt: Image :align: center ``` ### Bước 4: Xác nhận việc sửa Sau khi nhập các thông tin yêu cầu, người dùng ấn UPDATE để sửa policy. ```{thumbnail} ../../../../_static/img/sdb/how-to/sao-luu-va-phuc-hoi/sua-sql-database-backup-policy-9.png :width: 65% :alt: Image :align: center ``` ```{div} sd-fs-5 sd-text-primary Result ``` Sau khi sửa xong, hệ thống sẽ cập nhật thông tin Backup Policy vừa sửa lên danh sách. ```{thumbnail} ../../../../_static/img/sdb/how-to/sao-luu-va-phuc-hoi/sua-sql-database-backup-policy-10.png :width: 65% :alt: Image :align: center ```