2
2
3
3
This App allows admin to create and store backup images of their Nextcloud
4
4
5
-
6
5
- [ Restoring Points] ( #restoring-point )
6
+ - [ Hardware Requirement] ( #hardware )
7
7
- [ How the Backup App manage your data] ( #backup-manage-data )
8
- - [ Upload to External Storages] ( #external-storages )
9
8
- [ Important details about your data] ( #important )
9
+ - [ Upload to External Storages] ( #external-storages )
10
+ - [ AppData on External Storage] ( #external-appdata )
10
11
- [ Available ` occ ` commands] ( #occ )
11
12
12
-
13
13
<a name =" restoring-point " ></a >
14
+
14
15
## Restoring Points
15
16
16
17
A restoring point is an image of your Nextcloud at a specific time. A restoring point can be:
@@ -64,37 +65,48 @@ The normal process is to re-create the `restoring-point.data` a new one, however
64
65
- the restoring process will require some knowledge from the admin about the infrastructure from the
65
66
original instance that generated the backup.
66
67
68
+ <a name =" hardware " ></a >
69
+
70
+ ## Hardware requirement
71
+
72
+ - ** Diskspace** : Creating and storing backups require a lot, ** a lot** , of disk-space.
73
+
74
+ - ** AES Hardware Acceleration** : If your processor does not
75
+ include [ AES instruction set] ( https://en.wikipedia.org/wiki/AES_instruction_set ) , the encryption
76
+ process will _ "downgrade"_ and use ` aes-256-cbc ` .
77
+ This should only affect you when using the Backup App to migrate your instance from an AES-supporting
78
+ CPU to a non-AES-supporting CPU. Enforcing the use of ` aes-256-cbc ` when creating the backup on the
79
+ AES-supporting CPU will fix this:
80
+
81
+ - run: ` ./occ config:app:set backup force_cbc --value '1' `
82
+ - create a new backup: ` ./occ backup:point:create `
83
+
67
84
<a name =" backup-manage-data " ></a >
85
+
68
86
## How the Backup App manage your data
69
87
70
88
### The timing
71
89
72
90
The settings available in the Admin Settings/Backup page, allow an admin to configure when the next
73
91
backups will be run and at which rate:
74
- ...
75
- ### The first pass (the backup process)
76
- ...
92
+ ...
77
93
78
- ### The second pass (the packing process)
79
- ...
94
+ ### The first pass (the backup process)
80
95
96
+ ...
81
97
82
- <a name =" external-storages " ></a >
83
- ## Upload to External Storages
98
+ ### The second pass (the packing process)
84
99
100
+ ...
85
101
86
102
<a name =" important " ></a >
103
+
87
104
## Important details about your data
88
105
89
106
- ** Disk-space** : The 1st pass does not compress anything, meaning that you will need at least the
90
- equivalent of currently used space by your Nextcloud as available disk-space.
91
- If you have no disk-space available, you can setup your instance to directly store your backup on an
92
- external storage:
93
- - the data generated during the 1st pass are not encrypted, Your data leaves the internal data folder
94
- from your instance and are now available on an external storage.
95
- - the 1st-pass will require more resource and your instance will stays in maintenance mode for a
96
- longer time.
97
- - If your external storage is not a local folder, huge network resources will be required.
107
+ equivalent of currently used space by your Nextcloud as available disk-space. If you have no disk-space
108
+ available, you can configure the app to use an external storage to store all its data.
109
+ The configuration process is described in [ this chapter] ( #external-appdata ) .
98
110
99
111
100
112
- ** Temporary Files** : during the 2nd pass (packing process), the compression and encryption require the
@@ -104,14 +116,40 @@ backups will be run and at which rate:
104
116
105
117
106
118
- ** Export your setup** : If the option is not disable, Backups are encrypted with a key that is stored in
107
- the database of your current instance of Nextcloud. The key is mandatory to recover any data from your backups.
108
-
109
- You can export your setup from the Admin Settings/Backup page, or using ` occ ` . If encrypted, the export process will
110
- generate and returns its own key that will be required during the import when restoring your instance.
111
- As an admin, you will need to store the export file and its key, preferably in different location.
112
-
119
+ the database of your current instance of Nextcloud. The key is mandatory to recover any data from your
120
+ backups.
121
+
122
+ You can export your setup from the Admin Settings/Backup page, or using ` occ ` . If encrypted, the export
123
+ process will generate and returns its own key that will be required during the import when restoring
124
+ your instance. As an admin, you will need to store the export file and its key, preferably in different
125
+ location.
126
+
127
+
128
+ - ** .nobackup** : The presence of a ` .nobackup ` file in a folder will exclude all content from the current
129
+ folder and its subfolders at the creation of the backup.
130
+
131
+ <a name =" external-storages " ></a >
132
+
133
+ ## Upload to External Storages
134
+
135
+ <a name =" external-appdata " ></a >
136
+
137
+ ## AppData on External Storage
138
+
139
+ If you have no disk-space available, you can configure the app to use an external storage to store all
140
+ its data:
141
+
142
+ - the data generated during the 1st pass are not encrypted, Your data leaves the internal data folder
143
+ from your instance and are now available on an external storage.
144
+ - the 1st-pass will require more resources and your instance will stays in maintenance mode for a longer
145
+ time.
146
+ - If your external storage is not a local folder, huge network resources will be required.
147
+
148
+ run ` ./occ backup:external:appdata ` and follow instruction to select the configured external storage, and
149
+ configure the path to the right folder.
113
150
114
151
<a name =" occ " ></a >
152
+
115
153
## Available ` occ ` commands:
116
154
117
155
### Manage remote instance to store your backups remotely
0 commit comments