mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[PR #1391] [MERGED] Changed to Backup #3802
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#3802
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
develop← Head:develop📝 Commits (4)
d3eef45Update backup.sh45c60baUpdate backup.sh1ba92cdUpdate backup.sh1f679afUpdate backup.sh📊 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.