diff --git a/.vscode/launch.json b/.vscode/launch.json index 5f678d52..b93e6d65 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -63,7 +63,7 @@ "AYANOVA_DB_CONNECTION": "Server=localhost;Username=postgres;Password=raven;Database=AyaNova;CommandTimeout=300;", "AYANOVA_DATA_PATH": "c:\\temp\\ravendata", "AYANOVA_USE_URLS": "http://*:7575;", - "AYANOVA_PERMANENTLY_ERASE_DATABASE":"true", + //"AYANOVA_PERMANENTLY_ERASE_DATABASE":"true", //"AYANOVA_REMOVE_LICENSE_FROM_DB":"true", //"AYANOVA_REPORT_RENDERING_TIMEOUT":"1", //"AYANOVA_REPORT_RENDER_API_URL_OVERRIDE": "http://localhost:7575", diff --git a/docs/8.0/ayanova/docs/changelog.md b/docs/8.0/ayanova/docs/changelog.md index ff0509fd..770fbfb3 100644 --- a/docs/8.0/ayanova/docs/changelog.md +++ b/docs/8.0/ayanova/docs/changelog.md @@ -8,6 +8,13 @@ See the [upgrade instructions](ops-upgrade.md) section of this manual for detail ## 2023 +### AyaNova 8.0.36 (2023-03-06) + +#### Fixed + +- Server: Fixed bug in Unit report data's "LastWorkOrderViz" field being set to incorrect value + + ### AyaNova 8.0.35 (2023-01-27) #### Fixed diff --git a/docs/8.0/ayanova/docs/ops-form-backup.md b/docs/8.0/ayanova/docs/ops-form-backup.md index 9ad9cb41..e4be5dd8 100644 --- a/docs/8.0/ayanova/docs/ops-form-backup.md +++ b/docs/8.0/ayanova/docs/ops-form-backup.md @@ -10,19 +10,19 @@ Making changes to backup is only available to Users with the following [roles](a Full access -- System operations +- System operations Read only access -- Business administration -- Business administration - restricted -- System operations - restricted +- Business administration +- Business administration - restricted +- System operations - restricted ## How to access backup Backups are accessed in the following ways: -- From the `Server operations` [navigation drawer](ay-start-form-overview.md#navigation-drawer) `Backup` item +- From the `Server operations` [navigation drawer](ay-start-form-overview.md#navigation-drawer) `Backup` item ## How backup works @@ -128,6 +128,12 @@ To restore from backup see the [restore guide](ops-restore.md). ## Configuration +### Default values + +When AyaNova is installed it sets some minimal defaults for backup. The backup time is set to 11:30PM local time, attachment files are set to be backed up in addition to the database and the backup sets to keep is set to 1 in order to prevent a scenario where excessive disk space is consumed unexpectedly. + +These defaults should be examined carefully and set to values that are appropriate for your organization. + ### Backup time Choose a time for the automatic backup when the server will not be in use by Users. diff --git a/server/AyaNova/models/GlobalOpsBackupSettings.cs b/server/AyaNova/models/GlobalOpsBackupSettings.cs index d02e4f1d..055eecd1 100644 --- a/server/AyaNova/models/GlobalOpsBackupSettings.cs +++ b/server/AyaNova/models/GlobalOpsBackupSettings.cs @@ -15,8 +15,9 @@ namespace AyaNova.Models { DateTime utcNow = DateTime.UtcNow; Id = 1; - BackupTime = new DateTime(utcNow.Year, utcNow.Month, utcNow.Day, 23, 59, 0, DateTimeKind.Local).ToUniversalTime(); + BackupTime = new DateTime(utcNow.Year, utcNow.Month, utcNow.Day, 23, 30, 0, DateTimeKind.Local).ToUniversalTime(); BackupSetsToKeep = 1; + BackupAttachments = true; Active = true; } }