You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Find the line that begins with `BACKUPDIR=` and change it to `BACKUPDIR="/home/<your username>/backups/"`
Set automatic emails if something goes wrong by finding the line `MAILADDR=` and changing it to `MAILADDR="<your email address>".`
### Setup Automatic Backups
Open your crontab:
```
crontab -e
```
Add this line to the file:
```
@weekly rsync -r -a -e "ssh -l <your username on backup server> -p <ssh port number of backup server>" --delete /home/<your username> <hostname or ip address of backup server>:/path/to/some/directory/on/backup/server