case 4368

This commit is contained in:
2023-03-06 21:45:09 +00:00
parent 0d68f091bd
commit a74afaf9a9
4 changed files with 21 additions and 7 deletions

2
.vscode/launch.json vendored
View File

@@ -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",

View File

@@ -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

View File

@@ -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.

View File

@@ -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;
}
}