[PR #8276] [MERGED] host-backup.sh: Added "ALL" option and include timestamp in backup filename #7233

Closed
opened 2026-02-05 07:51:29 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/8276
Author: @stumpyofpain
Created: 10/11/2025
Status: Merged
Merged: 10/11/2025
Merged by: @michelroegl-brunner

Base: mainHead: main


📝 Commits (2)

📊 Changes

1 file changed (+9 additions, -2 deletions)

View changed files

📝 tools/pve/host-backup.sh (+9 -2)

📄 Description

✍️ Description

This update enhances the Proxmox VE host backup script by improving usability and traceability:

  • 🆕 Added an "ALL" option in the directory selection menu to allow backing up all subfolders at once.
  • 🕒 Updated the backup filename to include a timestamp (YYYY-MM-DDTHH-MM), providing clearer versioning and preventing filename collisions.

Example filename:
hostname--etc-backup-2025-10-11T16-01.tar.gz

These improvements make the backup process faster, more consistent, and easier to manage.

Link: #

Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to website-related JSON files or metadata.
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/community-scripts/ProxmoxVE/pull/8276 **Author:** [@stumpyofpain](https://github.com/stumpyofpain) **Created:** 10/11/2025 **Status:** ✅ Merged **Merged:** 10/11/2025 **Merged by:** [@michelroegl-brunner](https://github.com/michelroegl-brunner) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`c3f2d37`](https://github.com/community-scripts/ProxmoxVE/commit/c3f2d37bb729967a0adb1ed35dafb55699786960) Update host-backup.sh - [`c6fec9c`](https://github.com/community-scripts/ProxmoxVE/commit/c6fec9cd882d52fd61ed87a6ee9158e6e853a59e) Update host-backup.sh ### 📊 Changes **1 file changed** (+9 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `tools/pve/host-backup.sh` (+9 -2) </details> ### 📄 Description <!--🛑 New scripts must be submitted to [ProxmoxVED](https://github.com/community-scripts/ProxmoxVED) for testing. PRs without prior testing will be closed. --> ## ✍️ Description This update enhances the Proxmox VE host backup script by improving usability and traceability: - 🆕 Added an **"ALL"** option in the directory selection menu to allow backing up all subfolders at once. - 🕒 Updated the backup filename to include a **timestamp** (`YYYY-MM-DDTHH-MM`), providing clearer versioning and preventing filename collisions. Example filename: hostname--etc-backup-2025-10-11T16-01.tar.gz These improvements make the backup process faster, more consistent, and easier to manage. ## 🔗 Related PR / Issue Link: # ## ✅ Prerequisites (**X** in brackets) - [x] **Self-review completed** – Code follows project standards. - [x] **Tested thoroughly** – Changes work as expected. - [x] **No security risks** – No hardcoded secrets, unnecessary privilege escalations, or permission issues. --- ## 🛠️ Type of Change (**X** in brackets) - [ ] 🐞 **Bug fix** – Resolves an issue without breaking functionality. - [x] ✨ **New feature** – Adds new, non-breaking functionality. - [ ] 💥 **Breaking change** – Alters existing functionality in a way that may require updates. - [ ] 🆕 **New script** – A fully functional and tested script or script set. - [ ] 🌍 **Website update** – Changes to website-related JSON files or metadata. - [ ] 🔧 **Refactoring / Code Cleanup** – Improves readability or maintainability without changing functionality. - [ ] 📝 **Documentation update** – Changes to `README`, `AppName.md`, `CONTRIBUTING.md`, or other docs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 07:51:29 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#7233