Skip to content

Commit b66df99

Browse files
committed
more documentation about restore
1 parent f6b4629 commit b66df99

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,14 @@ If it cannot be found, you will need to manually copy the folder that contains t
119119

120120
## Restoration
121121

122+
You can restore a single file or the whole instance to a previous state:
122123

124+
./occ backup:point:restore <pointId> [--file <filename>] [--data <dataPack>] [--chunk chunkName]
125+
126+
Please note that you can go back to a previous backup of your instance from any Nextcloud compatible with the Backup App.
127+
There is no need to install the exact same version as it will be reverted to the one used when creating the Restoring Point.
128+
Meaning that you can fully restore your instance of Nextcloud even if you lost your harddrive, as long as you kept a copy of
129+
the Restoring Point (upload to another remote instance)
123130

124131

125132
## Exporting configuration
@@ -136,18 +143,19 @@ key means that your remote backup cannot be decrypted and are totally useless.**
136143

137144
**Please note that creating a new identity will disable the sanity check on the metadata file.**
138145

139-
./occ backup:setup:export > ~/backup_setup.json
146+
./occ backup:setup:export [--key] > ~/backup_setup.json
147+
148+
Using the `--key` option will generate a Key, used to encrypt/decrypt the data of your setup.
149+
The key generated during the export of your setup needs to be stored somewhere safe!
140150

141-
./occ backup:setup:import < ~/backup_setup.json
151+
./occ backup:setup:import [--key <key>] < ~/backup_setup.json
142152

143153

144154

145155
### Known issues, missing features:
146156

147-
- download does not work
148157
- files are not encrypted when uploading to a remote instance
149158
- cannot upload restoring point with file bigger than 100M
150159
- uploading a parent RP after a dependant incremental backup does not remove the 'orphan' tag
151160
- Importing a Restoring Point using `backup:point:scan` from an external folder
152161
- Add remote instance to `backup:point:details`
153-
- encrypting the exported setup with a passphrase

0 commit comments

Comments
 (0)