Linear and Non-Linear Regression in the Manufacturing Industry

linear regression

Regression is a statistical method used to model the relationship between a dependent variable and one or more independent variables. Linear regression is a regression model that assumes a linear relationship between the dependent variable and the independent variable. This linear relationship can be represented by the equation of a straight line: Y = a … Read more

5 Common Internet Security Threats

internet security

Internet security is the practice of protecting your online activities and transactions from various threats, such as hacking, phishing, malware, ransomware, and identity theft. These threats can damage your data, compromise your privacy, and harm your devices. In this article, we will explain some of the most common internet security threats and how you can … Read more

Proxmox Backup Guide: VMs, CTs, and PBS in 2026

backup proxmox

Proxmox Backup: Complete Guide for VMs, CTs, and PBS

Backing up a Proxmox Virtual Environment (VE) correctly means more than clicking a snapshot in the web GUI. This guide explains vzdump, Proxmox Backup Server (PBS), retention policies, and off-site strategies so your home lab or production cluster survives disk failure.

1. VZDump: The Built-In Backup Engine

Proxmox ships vzdump as its native backup tool. It creates consistent snapshots of running containers (LXC) and KVM virtual machines by pausing QEMU briefly, dumping RAM state, and copying the virtual disk.

Supported modes:Snapshot — freeze filesystem with QEMU guest agent, zero downtime – Suspend — save VM state to disk, brief pause – Stop — shutdown guest first, cleanest backup

Storage targets: local directory, NFS, CIFS, and Proxmox Backup Server

Compression: LZO (fast) or Zstandard (smaller). Zstd is the default since Proxmox 8.

2. Backup a Single VM or CT

Open Datacenter → Backup → Add. Select the node, VMs, and storage target. The default schedule runs at 2:00 AM daily.

For CLI users, a single command backs up VM 100 to local storage:

vzdump 100 --storage local --mode snapshot --compress zstd

To backup all guests on a node:

vzdump $(qm list | awk 'NR>1 {print $1}') --storage backup-nfs --mode snapshot

3. Proxmox Backup Server (PBS): Enterprise Off-Site

PBS is a separate Debian-based appliance that deduplicates backups across VMs. It stores chunk-level data, reducing total backup size by 40-60 percent compared to raw vzdump archives.

Architecture: – One PBS instance per off-site location – Proxmox nodes push backups via HTTPS/8007 – Deduplication happens client-side before transfer

Setup overview: 1. Install PBS on bare metal or inside a VM 2. Add PBS datastore via Datacenter → Storage → Add → Proxmox Backup Server 3. Set encryption key on the client (Proxmox node) 4. Schedule backup jobs pointing to PBS storage

Encryption is mandatory for off-site backups. Without it, root on the PBS host can read every guest filesystem.

4. Retention Policies That Actually Work

The default “keep last 7” fills disks fast. A better strategy:

| Tier | Count | Compression | |——|——-|————-| | Daily | 7 days | Zstandard | | Weekly | 4 weeks | Zstandard | | Monthly | 3 months | LZO for speed |

Configure this in Datacenter → Backup → Retention, or via /etc/vzdump.conf:

keep-last: 7
keep-hourly: 0
keep-daily: 7
keep-weekly: 4
keep-monthly: 3

5. Restore Testing: The Step Everyone Skips

A backup that has never been restored is a liability. Test restore quarterly:

1. Create a new VM ID on isolated storage 2. Restore from vzdump: qmrestore /var/lib/vz/dump/vzdump-qemu-100-*.vma.zst 999 --storage local-lvm 3. Boot VM 999 and verify data integrity 4. Run fsck inside the guest if filesystem errors appear

For PBS, use the web restore browser or:

proxmox-backup-client restore vm/100/2025-01-15T02:00:00Z /target/path

6. Monitoring and Alerting

Backup jobs that fail silently are invisible until you need them. Add notifications:

# /etc/vzdump.conf
mailto: [email protected]
notification: failure, success

Proxmox also exposes backup status in the task log. Integrate with your monitoring stack by parsing /var/log/vzdump/ or querying the API:

pvesh get /nodes/localhost/tasks --output-format json | jq '.[] | select(.type=="vzdump")'

What to Do Now

If your Proxmox environment currently has no scheduled backups, start with vzdump to local storage tonight. Once that works, deploy PBS to a second physical location. The combination of local vzdump archives plus off-site PBS chunks covers every failure mode from accidental deletion to building fire.

Howto deploy wordpress using docker compose

docker

This is how you can use docker compose to run WordPress on it First make docker-compose.yml with this content version: ‘2’ services: db: image: mysql:5.7 volumes: – db_data:/var/lib/mysql restart: always environment: MYSQL_ROOT_PASSWORD: ${MYSQL_DATABASE_PASSWORD} MYSQL_DATABASE: wordpress MYSQL_USER: wordpress_db MYSQL_PASSWORD: ${WORDPRESS_PASSWORD} wordpress: image: wordpress:latest ports: – 5500:80 restart: always environment: WORDPRESS_DB_HOST: db:3306 WORDPRESS_DB_USER: wordpress_db WORDPRESS_DB_PASSWORD: ${WORDPRESS_PASSWORD} volumes: … Read more

What is ETL (Extract, Transform, Load) ?

ETL

ETL stands for Extract, Transform, Load, and it’s a fundamental process in data analyst. It’s like a well-organized assembly line that takes raw data from various sources, prepares it for analysis, and then loads it into a destination where it can be easily accessed and used. 1. Extract (E): Gathering data from different sources: This could … Read more

what is data engineering?

data engineering

Data engineering is a fascinating field that involves designing, building, and maintaining systems for collecting, storing, and transforming raw data into usable information. It plays a crucial role in the data-driven world we live in, providing the foundation for data analysis, machine learning, and other key aspects of modern technology. Here’s a breakdown of what … Read more