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:
Yunobot 2020-06-16 19:48:10 +00:00
parent 4f69cdfbb5
commit 667ac2c125

View file

@ -122,8 +122,9 @@ If you want, you can connect and mount an external drive to store backup archive
```bash
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
ln -s $PATH_TO_DRIVE/yunohost_backup_archives /home/yunohost.backup/archives
mkdir $PATH_TO_DRIVE/yunohost_backup_archives # On your external drive create the folder where the backups will go
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