Fading Coder

One Final Commit for the Last Sprint

Building a Real-Time File Sync System with Rsync and Inotify

Why Combine Rsync with Inotify? As infrastructure grows, traditional rsync usage faces limitations. Standard rsync operations require a full directory scan to identify differences, which becomes highly inefficient when dealing with millions of files where only a tiny fraction changes. Furthermore, n...

Real-time File Synchronization Using rsync and inotify for Continuous Backup

SSH Key Authentication Setup Generate SSH keys without password protection: ssh-keygen Press enter to accept all defaults. Copy the public key to the target server: ssh-copy-id -i ~/.ssh/id_rsa.pub 192.168.1.221 Enter the password for 192.168.1.221 when prompted. Installing Inotify Tools Verify kern...

Configuring and Managing Rsync Services for Network Backups

Rsync serves two primary functions in an infrastructure context: acting as a dedicated server for data backups and facilitating centralized log storage. Rsync Service Overview Rsync is an open-source utility for efficient file synchronization and remote data copying, supporting both full and increme...

Real-Time Data Synchronization Using rsync and sersync

# Environment preparation on CentOS 7.7 $ cat /etc/redhat-release CentOS Linux release 7.7.1908 (Core) $ systemctl stop firewalld && systemctl disable firewalld $ sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config $ reboot $ getenforce Disabled Deployment Steps Configure sers...

Automating rsync Backups with Cron and Process Checking

Too automate data backups to another directory, it's crucial to verify if rsync is already runing before initiating a new backup. This prevents multiple rsync processes from overloading the server, which can cause performance issues or crashes. Setting Up SSH Key Authentication to Passwrodless rsync...