Skip to content

Shell script to take automatic backups of code and database on same server and remote server

Notifications You must be signed in to change notification settings

radicalloop/auto-site-backup-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

auto-site-backup-script

Shell script to take automatic backups of code and database on same server and remote server

Just set your values in the variables at top,

and set up the cron job to run the shell script at desired intervals,

like: 30 23 * * * /path/to/backup.sh

to take automatic backups of code and db everyday at 11:30 PM.

NOTE : DO NOT FORGET to chmod 0777 backup.sh or you might see error ./copyfiles.sh: command not found.

About

Shell script to take automatic backups of code and database on same server and remote server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages