Tag

shell script

0 views collected around this technical thread.

IT Xianyu
IT Xianyu
Jun 4, 2025 · Databases

Comprehensive Guide to Automated MySQL Backup and Restore with Docker

This article provides a step‑by‑step tutorial for DBAs to design a reliable MySQL backup strategy, write a Bash automation script, schedule it with cron, and perform restoration drills using Docker containers, while covering directory planning, command checks, cleanup, and common troubleshooting.

AutomationDockerMySQL
0 likes · 17 min read
Comprehensive Guide to Automated MySQL Backup and Restore with Docker
IT Xianyu
IT Xianyu
May 27, 2025 · Databases

Automated MySQL Backup Script with Docker and Crontab

This guide explains how to set up an automated MySQL backup solution on AlmaLinux using Docker containers, a Bash script, and crontab, covering environment preparation, script creation, command checks, logging, error handling, and optional enhancements such as email notifications and security best practices.

AutomationDockerLinux
0 likes · 7 min read
Automated MySQL Backup Script with Docker and Crontab
IT Xianyu
IT Xianyu
May 14, 2025 · Databases

Using PostgreSQL Stored Procedures to Batch Update User Tags Efficiently

This article explains how Java developers can replace thousands of individual UPDATE statements with a single PostgreSQL stored procedure call, covering the motivation, procedure creation, Java invocation, scheduling with shell scripts, performance benchmarks, and common pitfalls.

Batch UpdateJavaPerformance
0 likes · 8 min read
Using PostgreSQL Stored Procedures to Batch Update User Tags Efficiently
Test Development Learning Exchange
Test Development Learning Exchange
Apr 24, 2025 · Databases

Using SQLite Databases and Advanced ADB Commands on Android

This guide explains how to access Android SQLite databases via adb shell sqlite3, create and run complex shell scripts, and manage app permissions and users through ADB commands, providing practical examples for debugging and automation.

ADBPermissionsSQLite
0 likes · 5 min read
Using SQLite Databases and Advanced ADB Commands on Android
Raymond Ops
Raymond Ops
Mar 27, 2025 · Operations

All-in-One Linux Init Scripts for Rocky, AlmaLinux, CentOS, Ubuntu & More

This article introduces a comprehensive set of shell scripts that automate system initialization across dozens of Linux distributions, detailing supported features, version‑specific updates, usage instructions, and code examples for network, security, package management, and more.

DevOpsLinuxoperations
0 likes · 16 min read
All-in-One Linux Init Scripts for Rocky, AlmaLinux, CentOS, Ubuntu & More
Code Ape Tech Column
Code Ape Tech Column
Feb 28, 2025 · Backend Development

Spring Boot Packaging with Maven Assembly Plugin and a Deployment Shell Script

This article explains how to configure Maven profiles for different environments, use the maven‑assembly‑plugin and maven‑jar‑plugin to create a zip deployment package for a Spring Boot application, and provides a reusable shell script (shenniu_publish.sh) for extracting, starting, stopping, and restarting the service on Linux.

DeploymentMavenSpring Boot
0 likes · 13 min read
Spring Boot Packaging with Maven Assembly Plugin and a Deployment Shell Script
Java Architect Essentials
Java Architect Essentials
Nov 16, 2024 · Backend Development

Spring Boot Packaging with Maven Profiles and a Shell Deployment Script

This article explains how to package a Spring Boot application using Maven profiles and the assembly plugin, generate a zip deployment bundle, and deploy it on Linux with a custom shell script that supports start, stop, restart, and unzip operations.

AutomationDeploymentMaven
0 likes · 13 min read
Spring Boot Packaging with Maven Profiles and a Shell Deployment Script
Practical DevOps Architecture
Practical DevOps Architecture
Oct 28, 2024 · Databases

Shell Scripts for MySQL Database Backup and Master‑Master Replication

This article provides step-by-step Bash scripts for automating daily MySQL database backups, compressing tables, cleaning old archives, and configuring master‑master replication, including detailed commands for dumping databases, creating tar.gz packages, and setting up replication parameters on Linux servers.

AutomationDatabase BackupLinux
0 likes · 4 min read
Shell Scripts for MySQL Database Backup and Master‑Master Replication
Efficient Ops
Efficient Ops
Oct 8, 2024 · Operations

Master Linux Process & User Queries with Powerful Bash Scripts

This guide provides Bash scripts that let you retrieve detailed information about Linux processes by PID or name, query user account details, and apply a series of system hardening tweaks such as password policies, login restrictions, and file attribute protections.

LinuxProcess Managementbash
0 likes · 12 min read
Master Linux Process & User Queries with Powerful Bash Scripts
Efficient Ops
Efficient Ops
Jul 8, 2024 · Operations

How to Diagnose and Fix High CPU Usage in Java Data Platforms

This article walks through a real‑world incident where a data‑platform server showed near‑100% CPU usage, explains step‑by‑step investigation using top, pwdx, and jstack, identifies a time‑conversion utility as the root cause, and presents a streamlined script‑based solution that reduced CPU load by thirtyfold.

CPU optimizationJava performanceServer troubleshooting
0 likes · 11 min read
How to Diagnose and Fix High CPU Usage in Java Data Platforms
Practical DevOps Architecture
Practical DevOps Architecture
May 9, 2024 · Operations

Monitoring SSL Certificate Expiration with Zabbix Using a Shell Script

This guide explains how to create a shell script that checks SSL certificate expiration dates and integrates it with Zabbix by configuring a user parameter, testing the script, and setting up monitoring items, triggers, graphs, and alerts to ensure services remain available.

AutomationMonitoringSSL
0 likes · 3 min read
Monitoring SSL Certificate Expiration with Zabbix Using a Shell Script
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 5, 2024 · Databases

Locating Large Transactions in MySQL Binlog Using GTID and Shell Scripts

This article explains how to identify and extract large MySQL transactions from binary log files by monitoring binlog size, parsing GTID information, and using shell scripts to retrieve transaction details, timestamps, positions, and DML statistics, with optional use of the my2sql tool.

Database TroubleshootingGTIDMySQL
0 likes · 12 min read
Locating Large Transactions in MySQL Binlog Using GTID and Shell Scripts
Code Ape Tech Column
Code Ape Tech Column
Dec 29, 2023 · Backend Development

Spring Boot Packaging with Maven Assembly Plugin and shenniu_publish.sh Deployment Script

This article explains how to use Maven profiles and the Maven Assembly Plugin to create environment‑specific Spring Boot zip packages and provides a reusable shell script (shenniu_publish.sh) for extracting, starting, stopping, and restarting the packaged JAR on Linux, improving deployment efficiency.

AutomationDeploymentMaven
0 likes · 15 min read
Spring Boot Packaging with Maven Assembly Plugin and shenniu_publish.sh Deployment Script
Practical DevOps Architecture
Practical DevOps Architecture
Dec 15, 2023 · Operations

How to Configure Zabbix Agent to Monitor CPU Temperature on Linux

This guide explains how to install lm_sensors, write a Bash script to retrieve CPU temperature, configure a Zabbix agent UserParameter, restart the agent, and set up a corresponding monitoring item on the Zabbix server, enabling automated CPU temperature monitoring.

CPU monitoringLinuxSystem Monitoring
0 likes · 3 min read
How to Configure Zabbix Agent to Monitor CPU Temperature on Linux
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 28, 2023 · Databases

Step‑by‑Step MongoDB Migration Using Full Backup and Incremental Oplog

This article explains how to migrate a 240 GB MongoDB replica set by performing a full backup with oplog, extracting the incremental oplog timestamp, and then applying incremental backup and restore scripts to minimize downtime, while providing detailed shell commands and precautionary tips.

Data RestoreMigrationMongoDB
0 likes · 9 min read
Step‑by‑Step MongoDB Migration Using Full Backup and Incremental Oplog
Architect's Tech Stack
Architect's Tech Stack
Nov 4, 2023 · Backend Development

Spring Boot Packaging with Maven Profiles and a Shell Deployment Tool

This article explains how to use Maven profiles and the maven‑assembly‑plugin to create a zip package for a Spring Boot application, and provides a reusable shell script (shenniu_publish.sh) for deploying, starting, stopping, and managing the service on Linux.

Assembly PluginDeploymentMaven
0 likes · 16 min read
Spring Boot Packaging with Maven Profiles and a Shell Deployment Tool
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 23, 2023 · Databases

Collecting and Comparing OceanBase Parameters Using Shell Scripts and Excel VLOOKUP

This article explains how to use Shell scripts together with Excel VLOOKUP to extract OceanBase cluster Parameters, Variables, and ProxyConfig values, compare them against default or DBA‑tuned settings, and generate a report that highlights unexpected configurations for manual verification.

Configuration ManagementDatabase ParametersExcel
0 likes · 6 min read
Collecting and Comparing OceanBase Parameters Using Shell Scripts and Excel VLOOKUP
vivo Internet Technology
vivo Internet Technology
Apr 19, 2023 · Backend Development

Investigation of Midnight Interface Timeout in Vivo E‑commerce Activity System

The article details how a midnight interface timeout in Vivo’s e‑commerce activity system was traced to a logging bottleneck: a synchronous Log4j call blocked all threads while a cron‑driven log‑rotation script copied a 2.6 GB file, and the issue was resolved by switching to asynchronous logging with a non‑blocking appender.

MonitoringTomcatbackend
0 likes · 17 min read
Investigation of Midnight Interface Timeout in Vivo E‑commerce Activity System