Simple Bash script to backup Docker Bind data & Volumes

Introduction Regular data backups are vital. We all know this. So in that spirit, I've made a simple bash script that does the following: 1. Stops all running Docker containers on the server. 2. Creates an archieve file of all the bind mount data. 3. Creates archieves of…

How to Install Open Media Vault

Introduction openmediavault is the next generation network attached storage (NAS) solution based on Debian Linux. It contains services like SSH, (S)FTP, SMB/CIFS, RSync and many more ready to use. Thanks to the modular design of the framework it can be enhanced via plugins. openmediavault is primarily designed to…

Backup and Restore your Homebrew Setup

Introduction Homebrew is a popular package manager for MacOS. It provides easy access to thousands of programs and applications. It is developed and maintained by an open-source community on Github. Use Homebrew bundle to backup and restore your Homebrew configuration. If you haven’t installed it yet, go take a…

Mastering Dotfiles Management with GNU Stow

Introduction When you work on a computer, you often have specific preferences for how your applications or shell environment should behave. For example, you may prefer a certain colour scheme in your terminal, or you may want to have specific aliases for common shell commands. These preferences can be set…

Mount an SMB Share in Linux

Installation The LinuxCIFS utils package provides the tools needed to connect to a share and manage mounts on a Linux system. You use it to help create and manage a connection to a Windows, macOS, or Linux share. Update the list of available packages using the below command: sudo apt…

How to enable log rotation for Docker containers

The log files for your Docker applications can grow to enormous size if allowed to - many 100's of GBs. I have heard of these logs crashing systems due to their filling up the storage on the server. Thankfully, the simple solution to this issue is the logrotaion…

ctop - concise commandline monitoring for containers

Top-like interface for container metrics ctop provides a concise and condensed overview of real-time metrics for multiple containers: as well as a single container view for inspecting a specific container. ctop comes with built-in support for Docker and runC; connectors for other container and cluster systems are planned for future…

Docker - move data from Bind Mount to Volume

I recently decided to move the persistent data for this Ghost blog from a Bind Mount to a dedicated Docker Volume, this was mainly due to issues with backing up a running SQL database. Below is the simple process I followed. * Stop the running container (For example Dozzle). * Create a…