mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 13:28:25 +00:00
backup and restore changes
This commit is contained in:
committed by
Michel Roegl-Brunner
parent
369d12eb28
commit
defaa643de
@@ -55,9 +55,9 @@ function update_script() {
|
||||
|
||||
msg_info "Restoring Configuration and Data"
|
||||
cp /opt/.env.bak /opt/flatnotes/.env
|
||||
cp -r /opt/data_backup /opt/flatnotes/data
|
||||
cp -r /opt/data_backup/. /opt/flatnotes/data
|
||||
rm -f /opt/.env.bak
|
||||
rm -rf /opt/flatnotes/data_backup
|
||||
rm -r /opt/data_backup
|
||||
msg_ok "Restored Configuration and Data"
|
||||
|
||||
msg_info "Starting Service"
|
||||
|
||||
Reference in New Issue
Block a user