AWS Cloudwatch Cron

I was trying to schedule a once a week snapshot of a EBS volume and getting “Parameter ScheduleExpression is not valid“. Turns out I missed something small. If you schedule using a cron expression note this important requirement: One of the day-of-month or day-of-week values must be a question mark…

Oracle OCI CLI Query

Some bash snippets of using –query, jq and interacting with Bash to manipulate into variables. Collect boot volume’s id Collect instance ocid Stop instance and collect the id (or whatever you need from the json) Collect the work-request-id to monitor in a loop after I export a custom image to…

SHIPS Password Rotation

As explained on the website “unique and rotated local super user or administrator passwords for environments where it is not possible or not appropriate to disable these local accounts“. I tested as a proof of concept how to: setup a SHIPS server on CentOS7 configure SHIPS folder and ACL’s for…

POC of drdb replication

My notes of a quick drdb test… The Distributed Replicated Block Device (DRBD) provides a networked version of data mirroring, classified under the redundant array of independent disks (RAID) taxonomy as RAID-1. Showing status, add a file and check target… After initial sync: Create filesystem and some data: Switch roles…

zfsbackup-go test with minio server

Recording my test with zfsbackup-go. While I am playing around with backup/DR/object storage I also compared the concept here with a previous test around restic/rclone/object storage. In general ZFS snapshot and replication should work much better with file systems containing huge numbers of files. Most solutions struggle with millions of…