Sunday, May 5, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 2869  / 2 Years ago, sun, january 16, 2022, 11:19:50

I need a software or any other way to backup my home directory instantly so that if my data is lost I have another copy over the network.



I have a NAS on my local network and I want to have an exact copy of my machine home directory over there



I don't want a SYNC behavior. What I need is a MIRROR


More From » software-recommendation

 Answers
1

A simple script using rsync tool could solve your problem. The script is:



#!/bin/sh
while true
do rsync [source-folder] [destination-machine:folder]
sleep 5
done


If you want a real-time backup then you can just remove sleep 5 or make it as acomment #sleep 5



To make it autostarted with your user, You can make a launcher then add this launcher to the startup Applications in order to autostart.



Moreover, you can find many other backup tools and other syncronization tools that help you but i just found this script easy to use


[#35169] Tuesday, January 18, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
itteast

Total Points: 291
Total Questions: 123
Total Answers: 104

Location: Tuvalu
Member since Wed, Mar 29, 2023
1 Year ago
itteast questions
;