Merge pull request #1333 from yunohost-bot/anonymous-2020-06-16_07-47-50

[Anonymous contrib] Added missing step to create the directory on the external backup drive: https://forum.yunohost.org/t/error-connecting-a-usb-drive-for-backup/11877
This commit is contained in:
Alexandre Aubin 2020-06-27 15:07:25 +02:00 committed by GitHub
commit f2e548b0f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,8 +124,9 @@ Then, move the existing archives and then add a symbolic link.
```bash ```bash
PATH_TO_DRIVE="/media/my_external_drive" # For instance, depends of where you mounted your drive PATH_TO_DRIVE="/media/my_external_drive" # For instance, depends of where you mounted your drive
mv /home/yunohost.backup/archives $PATH_TO_DRIVE/yunohost_backup_archives mkdir $PATH_TO_DRIVE/yunohost_backup_archives # On your external drive create the folder where the backups will go
ln -s $PATH_TO_DRIVE/yunohost_backup_archives /home/yunohost.backup/archives mv /home/yunohost.backup/archives $PATH_TO_DRIVE/yunohost_backup_archives # Move the archive folder including existing backups (if you made them) to the new folder on the external drive
ln -s $PATH_TO_DRIVE/yunohost_backup_archives /home/yunohost.backup/archives # Create a symbolic link from the old local folder to the new folder on the external drive
``` ```
### Automatic backups ### Automatic backups