How to Set Schedule Backup for Full Linux Server | Automatic Linux Backup Tutorial

Publié le: 04 novembre 2025
sur la chaîne: ABDULLAH AL MAMUN
60
1

In this video, I’ll show you how to set up an automatic full backup for your Linux server using simple and reliable tools like cron jobs, rsync. Regular backups are essential to protect your data, and this step-by-step tutorial will help you automate the process so you never lose important files again

PLEASE FOLLOW THIS FOLLOWING STEPS:
############################################
🧩 Step 1: Share Windows shared folder follow my video
My Windows IP Address 192.168.50.17
Step 2: Run following command on Linux Server
sudo apt update
sudo apt install cifs-utils -y
sudo mkdir -p /mnt/windows-backup
Mount Windows Share folder on Linux Server 👇
sudo mount -t cifs //192.168.50.17/LinuxBackup /mnt/windows-backup -o username=administrator,password=Fel@123,vers=3.0
________________________________________
🧩 Step -3 Set Exact Date Time Windows & Linux
Open Windows PowerShell
Get-Date
ON Linux Server Use following command
sudo timedatectl set-timezone Asia/Dhaka

Step -4: set schedule by crontab on Linux Server
ON Linux Server Use following command👇
sudo crontab -e
ChatGPT said:
Add the following line at the end of the file.👇
25 23 * * * mountpoint -q /mnt/windows-backup || sudo mount -t cifs //192.168.50.17/LinuxBackup /mnt/windows-backup -o username=administrator,password=Fel@123,vers=3.0 && sudo rsync -aAXHv --exclude="/proc/*" --exclude="/sys/*" --exclude="/dev/*" --exclude="/tmp/*" --exclude="/run/*" --exclude="/mnt/*" --exclude="/media/*" --exclude="/lost+found" / /mnt/windows-backup/linux-full-backup-$(date +\%F)/ /var/log/linux-backup.log 2 &1


Sur cette page du site, vous pouvez voir la vidéo en ligne How to Set Schedule Backup for Full Linux Server | Automatic Linux Backup Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur ABDULLAH AL MAMUN 04 novembre 2025, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 60 fois et il a aimé 1 téléspectateurs. Bon visionnage!