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
#Assumed a user is created already named mybackups and there is a folder in the home directory called mybackups.
#this is run as a cron job as root to back up to the necessary folder and put is somewhere safe to be pulled from
DATE=$(date '+%F')
USER=mybackups
JAIL=/home/mybackups/backup
IDENT=myserver
#this is for the mail server but the host name can be changed, initial line checks for old files and deletes them so they don't just pile up on the remote system