3 ms·Take a look into rsnapshot. It already exists and does exactly what you're looking for.by zipperhead 15y agoTake a look into rsnapshot. It already exists and does exactly what you're looking for.