Using Cron and SCP for Backups

Wednesday, August 18th, 2010 131 views

This document will explain the steps required to use scp in cron. This is generally useful to do automated backups on Linux and other nix variations. 1. Generate a private/public key pair Simple command to do this: ssh-keygen -t rsa Leave the passphrase empty so that cron can use it passwordless. Just be sure nobody [...]