You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.
#!/bin/bash # Check for rsync running under my username TODAY=`date +%m-%d-%y` RUNLOG=/home/user/scripts/rsync.log.$TODAY SERVICE='rsync' if ps ax | grep -v grep | grep user | grep $SERVICE > /dev/null then echo "The process exists..." >> $RUNLOG else # Run rsync command echo "Starting rsync..." >> $RUNLOG rsync -aP --update --bwlimit=300 -e 'ssh -p 2222' /vault/ email@example.com:/home/user/vault >> $RUNLOG fi
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.