Skip to content

Selectively backup a WordPres site to local folder through WP-CLI and SSH

License

Notifications You must be signed in to change notification settings

ecotechie/wp-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WordPress Backup script

DESCRIPTION

Selectively backup WordPress host depending on option flag used.

SYNOPSYS

wp-backup --host <remote host> <flag(s)>

FLAGS:

--help, Print this help message

--full, -f All of WordPress (minus uploads, cache and other wp-content directories), including database

--database, -d Database

--plugins, -p Plugins

--themes, -t Themes

--uploads, -u Uploads

--host, -h Remote host to backup from. Must both exist in ~/.wpcli/config.yml as an alias && ~/.ssh/config as a Host

--directory, -d Local directory to create back up files onto. If not set, will default to home directory.

wp-backup

About

Selectively backup a WordPres site to local folder through WP-CLI and SSH

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages