#!/bin/bash
# Backup
scripts
Автор: talifa, 7 июня, 2023
#!/bin/bash
# Backup confluence DB and files
# Store backup according policy
# Current policy:
# Daily backup - store 7 days,
# Weekly backup - store last 4,
# Monthly backup - store last 12,
#Every day:
# make a backup, put into daily directory
# remove everything but the last 7 daily backups
#Every week:
# make a backup, put into weekly directory
# remove everything but the last 5 weekly backups
#Every month:
# make a backup, put into monthly directory
# remove everything but the last 12 monthly backups