Backup - Tactical RMM Documentation
Backup - Tactical RMM Documentation
Backup
Note
This is only applicable for the standard install, not Docker installs.
A backup script is provided for quick and easy way to backup all settings/data into one
file to migrate to another server.
Warning
The backup script does not self update itself. Always make sure you have latest version
from the master branch by verifying the SCRIPT_VERSION at the top of the file matches.
Make sure you are logged into the user you used to install TRMM eg tactical . Then
download and run the backup script:
wget -N
https://raw.githubusercontent.com/amidaware/tacticalrmm/master/backup.sh
chmod +x backup.sh
./backup.sh
The backup tar file will be saved in /rmmbackups with the following format:
rmm-backup-CURRENTDATETIME.tar
Note
You MUST enable passwordless sudo for your linux user or you won't get all files backed
up, do a dry run first before setting up a schedule! You should verify this also by doing a
test restore or verify the files have content.
To schedule automated daily backups run the script with the --schedule flag
https://docs.tacticalrmm.com/backup/ 1/2
09/08/2024, 12:15 Backup - Tactical RMM Documentation
./backup.sh --schedule
As well as Daily backups, there are monthly backups on the 10th day of every month
and weekly backups every Friday.
Automated pruning of backup files, daily kept for 2 weeks, weekly for 2 months and
monthly for 1 year. To calculate estimated disk needs, take the size of a manual
backup and * 37. eg 600MB backup * 37 = 22.2GB of space needed.
Warning
The backup script will just save to your server drive, you ideally want to automate moving
this to another server. Please ensure you have space for the backups to be stored.
Video Walkthru
https://docs.tacticalrmm.com/backup/ 2/2