How To Write Bash Scripts In Linux - Complete Guide (Part 17 - Backup Script)
Backups are one of the most important aspects of system administration, yet often overlooked—until it’s too late. In episode 17 of LearnLinuxTV’s Bash Scripting course, you’ll learn how to create a simple and effective backup script using Bash. This tutorial will show you how to automate file backups with real-world examples, helping you protect your data and gain confidence in your scripting skills. Don’t wait for disaster—learn how to back up your files with Bash today! *💬 CHECK OUT OUR FORUMS* Have a Linux question? Want to share a tip? Or maybe just hang out? ➡ Join here ➜ https://community.learnlinux.tv *👕 GRAB SOME LINUX SWAG!* • "Distro Hopper" T-Shirt ➜ https://learnlinux.link/distro-hopper • Backpack with Fedora logo ➜ https://learnlinux.link/fedora-backpack • "apt install coffee" T-Shirt ➜ https://learnlinux.link/apt-install-coffee • Linux Distro Stickers ➜ https://learnlinux.link/distro-stickers • "sudo Highway to Shell" T-Shirt ➜ https://learnlinux.link/sudo-highway • /usr/bin/shirt T-Shirt ➜ https://learnlinux.link/usr-bin-shirt • Debian T-Shirt ➜ https://learnlinux.link/debian-red-shirt • "Read a Book" T-Shirt ➜ https://learnlinux.link/read-a-book ➡ Find more here: ➜ https://merch.learnlinux.tv *🕐 Time Codes* 00:00 - Pre-Intro 00:48 - Intro 01:16 - Misc Info and Notes 01:52 - Walkthrough and Explanation of the Sample Backup Bash Script 14:20 - Running the Backup Script (with --dry-run enabled) 17:18 - Running the Backup Script (wihout --dry-run) OTHER BASH SCRIPTING SERIES EPISODES - Class 01 ➜ Introduction: https://linux.video/bash1 - Class 02 ➜ Hello World: https://linux.video/bash2 - Class 03 ➜ Variables: https://linux.video/bash3 - Class 04 ➜ Math Functions: https://linux.video/bash4 - Class 05 ➜ If Statements: https://linux.video/bash5 - Class 06 ➜ Exit Codes: https://linux.video/bash6 - Class 07 ➜ While Loops: https://linux.video/bash7 - Class 08 ➜ Universal Update Script: https://linux.video/bash8 - Class 09 ➜ For Loops: https://linux.video/bash9 - Class 10 ➜ Where To Store Your Scripts: https://linux.video/bash10 - Class 11 ➜ Data Streams: https://linux.video/bash11 - Class 12 ➜ Functions: https://linux.video/bash12 - Class 13 ➜ Case Statements: https://linux.video/bash13 - Class 14 ➜ Scheduling Jobs (Part 1): https://linux.video/bash14 - Class 15 ➜ Scheduling Jobs (Part 2): https://linux.video/bash15 - Class 16 ➜ Arguments: https://linux.video/bash16 - Class 17 ➜ Building a Backup Script: https://linux.video/bash17 - Class 18 ➜ Closing: https://linux.video/bash18*🎓 Full Linux Courses* • Linux Crash Course ➜ https://linux.video/cc • Netdata ➜ https://linux.video/netdata • tmux ➜ https://linux.video/tmux • vim ➜ https://linux.video/vim • Bash Scripting ➜ https://linux.video/bash • Proxmox VE ➜ https://linux.video/pve • Ansible (Paid) ➜ https://learnlinux.link/ansible • LPI Linux Essentials (Paid) ➜ https://learnlinux.link/linux-essentials *🎓 More About Learn Linux TV* • Main site ➜ https://www.learnlinux.tv • Community Forums ➜ https://community.learnlinux.tv • Github Account ➜ https://github.com/LearnLinuxTV • Content Ethics ➜ https://www.learnlinux.tv/content-ethics • Request Paid Assistance ➜ https://www.learnlinux.tv/request-assistance _Note: Some links mentioned here are affiliate links. If you purchase through them, it helps support Learn Linux TV at no additional cost to you._ ⚠️ Use Content Responsibly Learn Linux TV shares technical content intended to teach and help you, but it comes with no warranty. The channel is not liable for any damages from its use. Always ensure you have proper permissions, follow company policies, and comply with all applicable laws while working with infrastructure. #devopstutorial #devopstraining #devopstrainingvideos
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.