mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-26 02:04:10 +02:00
Small fix
backup folder is always empty in this if case so not necessary to empty it
This commit is contained in:
@@ -117,7 +117,6 @@ else
|
||||
mv /opt/iobroker/iobroker_20*.tar.gz /opt/
|
||||
tar -xf /opt/initial_iobroker.tar -C /
|
||||
mkdir /opt/iobroker/backups
|
||||
rm -r /opt/iobroker/backups/* &> /dev/null
|
||||
mv /opt/iobroker_20*.tar.gz /opt/iobroker/backups/
|
||||
iobroker restore 0
|
||||
echo "Done."
|
||||
|
||||
Reference in New Issue
Block a user