Tuesday, August 11GNOME IT SOLUTIONS LLC

Tag: linux admin

How to Use rsync for Backups on Linux Servers

How to Use rsync for Backups on Linux Servers

Linux
Use rsync on Linux for fast, incremental backups and file synchronization. Step 1: Basic Local Sync Sync a directory locally: rsync -av /source/ /destination/ Step 1: Basic Local Sync Step 2: Remote Backup over SSH Backup to remote server: rsync -avz -e ssh /data/ user@remote:/backup/ Step 2: Remote Backup over SSH Step 3: Automate with Cron Add rsync to crontab for scheduled daily backups. Step 3: Automate with Cron rsync -avz --delete --progress /var/www/ backup:/var/backups/www/ Terminal screenshots are original illustrations created for Gnome IT Solutions (blog.gnomeitsolutions.com).
How to Use systemctl to Manage Services on Linux

How to Use systemctl to Manage Services on Linux

Linux
Learn how to use systemctl on Linux to manage services with systemd — essential for every server administrator. Step 1: Check Service Status Use systemctl status to see if a service is running, enabled, and view recent logs. Step 1: Check Service Status Step 2: Start, Stop, and Restart Services Control services with systemctl start, stop, and restart. Step 2: Start, Stop, and Restart Services Step 3: Enable Service at Boot Use systemctl enable servicename so the service starts automatically after reboot. Step 3: Enable Service at Boot systemctl list-units --type=service --state=running systemctl disable servicename Terminal screenshots are original illustrations created for Gnome IT Solutions (blog.gnomeitsolutions.com).