mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
[WIP] Provide system restore facility
Co-Authored-By: Harvey Kandola <harvey@documize.com>
This commit is contained in:
parent
71a2860716
commit
516140dd7e
12 changed files with 597 additions and 51 deletions
|
@ -13,6 +13,7 @@
|
|||
package backup
|
||||
|
||||
import (
|
||||
"github.com/documize/community/model/org"
|
||||
"time"
|
||||
|
||||
"github.com/documize/community/core/env"
|
||||
|
@ -67,4 +68,10 @@ type ImportSpec struct {
|
|||
|
||||
// Recreate users.
|
||||
CreateUsers bool `json:"createUsers"`
|
||||
|
||||
// As found in backup file.
|
||||
Manifest Manifest
|
||||
|
||||
// Handle to the current organization being used for restore process.
|
||||
Org org.Organization
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue