Wordpress Backup Restore and Migrate Script

Wordpress Backup Restore and Migrate Script 3.0.0

NasKar

Guru
Joined
Jan 8, 2016
Messages
739
NasKar submitted a new resource:

Wordpress Backup Restore and Migrate Script - Backup, Restore and Migrate Wordpress to another site

This script will backup, restore and migrate a Wordpress install to another site. Although all the steps can be don manually it's nice to have it packaged in a neat package. It can be used to create a cron job to automatically backup your site. It integrates with Basil Hendroff's Scripted Wordpress Installation.

It's just another option to safeguard you Wordpress data within you FreeNAS...

Read more about this resource...
 

NasKar

Guru
Joined
Jan 8, 2016
Messages
739

NasKar

Guru
Joined
Jan 8, 2016
Messages
739

NasKar

Guru
Joined
Jan 8, 2016
Messages
739

NasKar

Guru
Joined
Jan 8, 2016
Messages
739

NasKar

Guru
Joined
Jan 8, 2016
Messages
739

NasKar

Guru
Joined
Jan 8, 2016
Messages
739

NasKar

Guru
Joined
Jan 8, 2016
Messages
739
NasKar updated Wordpress Backup Restore and Migrate Script with a new update entry:

Pass JAIL_NAME as argument from command line

Added the option to pass the JAIL_NAME to the script from the command line instead of the backup-config.
This would look like ```./backup.sh personal```. You can still just set the JAIL_NAME from the backup-config.
Now you can manually backup a wordpress install, while still having a cron to backup all the installs. If an argument is passed for a restore, you will not be asked which install to restore from the script. You can only install one wordpress install at a time. Run the script...

Read the rest of this update entry...
 

NasKar

Guru
Joined
Jan 8, 2016
Messages
739

NasKar

Guru
Joined
Jan 8, 2016
Messages
739

NasKar

Guru
Joined
Jan 8, 2016
Messages
739

NasKar

Guru
Joined
Jan 8, 2016
Messages
739

NasKar

Guru
Joined
Jan 8, 2016
Messages
739

NasKar

Guru
Joined
Jan 8, 2016
Messages
739

NasKar

Guru
Joined
Jan 8, 2016
Messages
739
NasKar updated Wordpress Backup Restore and Migrate Script with a new update entry:

Auto find APP_PATH

Basil Hendroff's script now has a new variable to replace
Code:
FILES_PATH="$POOL_PATH/apps/wordpress/files"
DB_PATH="$POOL_PATH/apps/wordpress/db"

with
for a single site
Code:
WP_ROOT="/apps/wordpress"

for multiple sites
Code:
WP_ROOT="/apps/wordpress/site1"


My backup script will now automatically find the location of the wordpress install and set the APP_PATH variable for you.

In his scipt:
for a single site it will be apps
for mutiple sites it will...

Read the rest of this update entry...
 

NasKar

Guru
Joined
Jan 8, 2016
Messages
739
NasKar updated Wordpress Backup Restore and Migrate Script with a new update entry:

Allow pool root directory Wordpress installs

Minor feature: Although it is not recommended to place your Wordpress install in the root of the pool the script can now handle that scenario.

Autodetection of the APP_PATH won't work under that circumstance.

Set APPS_PATH="/" in the backup-config file, will tell it the use a blank APPS_PATH.



Bug fix: fixed autodetect of the APPS_PATH not working if your pool was not `/mnt/v1`.

Read the rest of this update entry...
 

NasKar

Guru
Joined
Jan 8, 2016
Messages
739
NasKar updated Wordpress Backup Restore and Migrate Script with a new update entry:

Autodetect 3 variables

The script will now auto detect the FILES__PATH, JAIL_FILES_LOC, APPS_PATH in Wordpress installs. You can also backup and restore if the installation techniques and directories are different. No variables need to be set to run the script. You can add to the backup-config the MAX_NUM_BACKUPS to limit the number of back up files kept.
If your all your Wordpress installs are in a subdirectory of the pool path then the search will be quicker if you specify the FIND_DIR variable, but will work...

Read the rest of this update entry...
 

VladTepes

Patron
Joined
May 18, 2016
Messages
287
Quick q mate can this be used to backup ANYWHERE or just to a truenas / freenas ?
 

NasKar

Guru
Joined
Jan 8, 2016
Messages
739
Just to freenas/TrueNAS
 
Top