[PR #1391] [MERGED] Changed to Backup #1852

Closed
opened 2026-03-02 02:25:01 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amidaware/tacticalrmm/pull/1391
Author: @dinger1986
Created: 12/31/2022
Status: Merged
Merged: 1/20/2023
Merged by: @wh1te909

Base: developHead: develop


📝 Commits (4)

📊 Changes

1 file changed (+65 additions, -3 deletions)

View changed files

📝 backup.sh (+65 -3)

📄 Description

Added schedule and auto, basically --schedule will add a cron task at midnight to run and backup and then exit, --auto is whats ran by crontab and it backups up into folders and then is tidied automatically to keep the backups small. Also added downloading to /tmp/backup.sh before verifying some text is in the script and then replaces the script. The script will run as normal if not usign flags.

Hopefully all of that is ok, have tested the script on my own server bit by bit and working fine, havent ran the whole server as not got mongod.


🔄 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/amidaware/tacticalrmm/pull/1391 **Author:** [@dinger1986](https://github.com/dinger1986) **Created:** 12/31/2022 **Status:** ✅ Merged **Merged:** 1/20/2023 **Merged by:** [@wh1te909](https://github.com/wh1te909) **Base:** `develop` ← **Head:** `develop` --- ### 📝 Commits (4) - [`d3eef45`](https://github.com/amidaware/tacticalrmm/commit/d3eef45608c69acffd66f58429ded42aad871d4e) Update backup.sh - [`45c60ba`](https://github.com/amidaware/tacticalrmm/commit/45c60ba5f5aa8f38322471e217fbf929ba3333bc) Update backup.sh - [`1ba92cd`](https://github.com/amidaware/tacticalrmm/commit/1ba92cdcd5891689574b7869dbbe0b5268dca856) Update backup.sh - [`1f679af`](https://github.com/amidaware/tacticalrmm/commit/1f679af6fa3a7226b58628159a96e5e9ac4cb531) Update backup.sh ### 📊 Changes **1 file changed** (+65 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `backup.sh` (+65 -3) </details> ### 📄 Description Added schedule and auto, basically --schedule will add a cron task at midnight to run and backup and then exit, --auto is whats ran by crontab and it backups up into folders and then is tidied automatically to keep the backups small. Also added downloading to /tmp/backup.sh before verifying some text is in the script and then replaces the script. The script will run as normal if not usign flags. Hopefully all of that is ok, have tested the script on my own server bit by bit and working fine, havent ran the whole server as not got mongod. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 02:25:01 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#1852
No description provided.