Compare commits

..

5 Commits

Author SHA1 Message Date
CanbiZ
abd433fb4e Change category ID from 15 to 13 in swizzin.json 2025-09-09 11:32:43 +02:00
community-scripts-pr-app[bot]
61044104a2 Update CHANGELOG.md (#7510)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-09-09 09:25:29 +00:00
CanbiZ
fac612077a AdventureLog: remove folder during update process (#7507) 2025-09-09 11:24:58 +02:00
community-scripts-pr-app[bot]
135b3ff964 Update CHANGELOG.md (#7509)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-09-09 09:22:02 +00:00
Slaviša Arežina
393b853119 Fix backup and restore (#7505) 2025-09-09 11:21:38 +02:00
3 changed files with 11 additions and 9 deletions

View File

@@ -16,6 +16,8 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
- #### 🐞 Bug Fixes
- AdventureLog: remove folder during update process [@MickLesk](https://github.com/MickLesk) ([#7507](https://github.com/community-scripts/ProxmoxVE/pull/7507))
- PLANKA: Fix backup and restore commands [@tremor021](https://github.com/tremor021) ([#7505](https://github.com/community-scripts/ProxmoxVE/pull/7505))
- Recyclarr: Suppress config creation output [@tremor021](https://github.com/tremor021) ([#7502](https://github.com/community-scripts/ProxmoxVE/pull/7502))
### 🌐 Website

View File

@@ -36,10 +36,10 @@ function update_script() {
msg_info "Backing up data"
mkdir -p /opt/planka-backup/{favicons,user-avatars,background-images,attachments}
mv /opt/planka/.env /opt/planka-backup
[ -d /opt/planka/public/favicons ] && find /opt/planka/public/favicons -maxdepth 1 -type f -exec mv -t /opt/planka-backup/favicons {} +
[ -d /opt/planka/public/user-avatars ] && find /opt/planka/public/user-avatars -maxdepth 1 -type f -exec mv -t /opt/planka-backup/user-avatars {} +
[ -d /opt/planka/public/background-images ] && find /opt/planka/public/background-images -maxdepth 1 -type f -exec mv -t /opt/planka-backup/background-images {} +
[ -d /opt/planka/private/attachments ] && find /opt/planka/private/attachments -maxdepth 1 -type f -exec mv -t /opt/planka-backup/attachments {} +
[ -d /opt/planka/public/favicons ] && mv /opt/planka/public/favicons/* /opt/planka-backup/favicons/
[ -d /opt/planka/public/user-avatars ] && mv /opt/planka/public/user-avatars/* /opt/planka-backup/user-avatars/
[ -d /opt/planka/public/background-images ] && mv /opt/planka/public/background-images/* /opt/planka-backup/background-images/
[ -d /opt/planka/private/attachments ] && mv /opt/planka/private/attachments/* /opt/planka-backup/attachments/
rm -rf /opt/planka
msg_ok "Backed up data"
@@ -52,10 +52,10 @@ function update_script() {
msg_info "Restoring data"
mv /opt/planka-backup/.env /opt/planka/
[ -d /opt/planka-backup/favicons ] && find /opt/planka-backup/favicons -maxdepth 1 -type f -exec mv -t /opt/planka/public/favicons {} +
[ -d /opt/planka-backup/user-avatars ] && find /opt/planka-backup/user-avatars -maxdepth 1 -type f -exec mv -t /opt/planka/public/user-avatars {} +
[ -d /opt/planka-backup/background-images ] && find /opt/planka-backup/background-images -maxdepth 1 -type f -exec mv -t /opt/planka/public/background-images {} +
[ -d /opt/planka-backup/attachments ] && find /opt/planka-backup/attachments -maxdepth 1 -type f -exec mv -t /opt/planka/private/attachments {} +
[ -d /opt/planka-backup/favicons ] && mv /opt/planka-backup/favicons/* /opt/planka/public/favicons/
[ -d /opt/planka-backup/user-avatars ] && mv /opt/planka-backup/user-avatars/* /opt/planka/public/user-avatars/
[ -d /opt/planka-backup/background-images ] && mv /opt/planka-backup/background-images/* /opt/planka/public/background-images/
[ -d /opt/planka-backup/attachments ] && mv /opt/planka-backup/attachments/* /opt/planka/private/attachments/
msg_ok "Restored data"
msg_info "Starting $APP"

View File

@@ -2,7 +2,7 @@
"name": "Swizzin",
"slug": "swizzin",
"categories": [
15
13
],
"date_created": "2025-08-19",
"type": "ct",