SSH" />

Posts Tagged ‘ cat

debian | Backup per SSH

So ein Ser­ver will ja auch mal »geback­upt« wer­den — am ein­fachs­ten geht das über eine Shell-Befehlszeile:

tar cvzf - -T /root/backup-liste-include.txt | ssh BENUTZER@SERVER "cat > /root/backup-$(date +%F-%T).tar.gz"

Wei­ter­le­sen