FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

jamesrascal/wordpress-backup: Backup Script for WordPress that runs with a server level cron job. · GitHub

Latest commit

 

History

31 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

WordPress Backup

This lightweight script is designed to backup any number of WordPress sites without the use of a plugin. This backup script is using tar and bash to acomplish a full backup of your WordPress sites. Multiple sites can be backed up by creating additoinal backup profiles.

Features:

  • Server Level Backups.
  • Easy to intergrate RSync or FTP to transfer to remote server.
  • Combines SQL Database and Only the WordPress files for easy restores.
  • Can be set on a cron job.

Update: 2022 Works with latest wordpress (Stable release: 6.0 / 24 May 2022)

There are 2 parts to this script:

  1. WordPressBackup.sh
    • the main script that does all the heavy lifting.
  2. Backup.profile
    • the configuration profile that manages the retention policy

How to use:

  1. Download the script.
  2. Copy and Modify the backup.profile.
  3. Place backup.profile in the directory above your WordPress install or /home/username/
  4. chmod +x WordPress-Backup
  5. ./WordPress-Backup Depending on where you put your backup.profile you may need to modify the main script's FINDDIR.

About

Backup Script for WordPress that runs with a server level cron job.

Resources

Stars

35 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL