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
En esta página del sitio puede ver el video en línea How to Set Schedule Backup for Full Linux Server | Automatic Linux Backup Tutorial de Duración hora minuto segunda en buena calidad , que subió el usuario ABDULLAH AL MAMUN 04 noviembre 2025, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 60 veces y le gustó 1 a los espectadores. Disfruta viendo!