mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
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:
commit
f2e548b0f2
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue