Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
set -eu
# usage: ./mariadb_backup.sh BACKUP_DIRECTORY DATABASE TAG KEEP_DUMPS
# This script creates compressed mariadb dumps, adds a tag to the file name and retains a specified number of these dumps.
# Tags allow using the same script for various retention schedules.
# Warning: Retention is not based on file age, but file number.
@martipoe
martipoe / learning.txt
Last active March 28, 2024 15:43
Learning Resources for Ops / Sysadmin / Devops
Devops:
- "The Phoenix Project: A Novel about IT, DevOps, and Helping Your Business Win" https://itrevolution.com/product/the-phoenix-project/
- "The Unicorn Project: A Novel about Digital Disruption, Developers, and Overthrowing the Ancient Powerful Order" https://itrevolution.com/product/the-unicorn-project/
- "The DevOps Handbook. How to Create World-Class Agility, Reliability, & Security in Technology Organizations" https://itrevolution.com/product/the-devops-handbook-second-edition/
- "Accelerate: The Science Behind Devops: Building and Scaling High Performing Technology Organizations" https://itrevolution.com/product/accelerate/
- "Accelerate State of DevOps Report 2023" https://services.google.com/fh/files/misc/2023_final_report_sodr.pdf
- "Infrastructure as Code: Dynamic Systems for the Cloud Age" https://www.oreilly.com/library/view/infrastructure-as-code/9781098114664/
- "The Practice of System and Network Administration: Volume 1: DevOps and other Best Practices for Enterprise IT" ht