mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Fix backup issue
This commit is contained in:
parent
359ac94265
commit
ec4da8ffdc
1 changed files with 4 additions and 0 deletions
|
@ -958,6 +958,10 @@ CHECK_BACKUP_RESTORE () {
|
|||
# Install the application in a LXC container
|
||||
STANDARD_SETUP_APP
|
||||
|
||||
# Remove the previous residual backups
|
||||
sudo rm -rf /var/lib/lxc/$lxc_name/rootfs/home/yunohost.backup
|
||||
sudo rm -rf /var/lib/lxcsnaps/$lxc_name/$current_snapshot/rootfs/home/yunohost.backup
|
||||
|
||||
# BACKUP
|
||||
# Made a backup if the installation succeed
|
||||
if [ $yunohost_result -ne 0 ]
|
||||
|
|
Loading…
Add table
Reference in a new issue