Merge pull request #1143 from yunohost-bot/anonymous-2019-11-08_03-02-08

[Anonymous contrib] Bonjour je viens de tester sur mon instance et j'ai du créer le répertoire pour que ça marche =)
This commit is contained in:
Alexandre Aubin 2019-11-08 16:32:56 +01:00 committed by GitHub
commit 7dde253546
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 5 deletions

View file

@ -106,10 +106,12 @@ One specific feature is the ability to restore a full archive *instead* of the p
yunohost backup restore <archivename>
```
Note: If your archive isn't in `/home/yunohost.backup/archives`, you can specify where it is like this :
Note: If your archive isn't in `/home/yunohost.backup/archives`, you can create the directory, move the archive into it, and restore it like this:
```bash
yunohost backup restore /path/to/<archivename>
mkdir -p /home/yunohost.backup/archives
mv /path/to/<archivename> /home/yunohost.backup/archives/
yunohost backup restore <archivename>
```
## To go futher

View file

@ -107,14 +107,15 @@ Ensuite, **à la place de** `yunohost tools postinstall`, réalisez la restaurat
yunohost backup restore <nom_d'archive>
```
Note: si votre archive n'est pas dans `/home/yunohost.backup/archives`, vous pouvez spécifier où elle se trouve comme ceci :
Note: si votre archive n'est pas dans `/home/yunohost.backup/archives`, vous pouvez créer le répertoire et déplacer l'archive comme ceci :
```bash
yunohost backup restore /path/to/<archivename>
mkdir -p /home/yunohost.backup/archives
mv /chemin/vers/<nom_d'archive> /home/yunohost.backup/archives/
yunohost backup restore <nom_d'archive>
```
Pour aller plus loin
--------------------