
The first command creates a scheduled cronjob for backup: wp cron event schedule ai1wmge_gdrive_weekly_export now weekly.
ALL IN ONE WP MIGRATION BACKUP SCHEDULER UPDATE
The second one updates our extension settings : wp option update ai1wmge_gdrive_cron ‘’ –format=json . The first command creates a scheduled cronjob for backup: wp cron event schedule ai1wmge_gdrive_daily_export now daily. The second one updates our extension settings : wp option update ai1wmge_gdrive_cron ‘’ –format=json. The first command creates a scheduled cronjob for backup: wp cron event schedule ai1wmge_gdrive_hourly_export now hourly. Note ⇒ You need to run both the commands: Wp ai1wm gdrive restore migration-wp-49270913-995743-939.wpress -folder-path=my\ backup/migration (Folder name is specified in the extension settings). OPTIONĭownload a backup from a specific folder inside cloud storage. Wp ai1wm gdrive list-backups -folder-path=my\ backup/migrationĮxample: wp ai1wm gdrive restore migration-wp-40170913-095743-931.wpress. Wp ai1wm gdrive backup -exclude-inactive-themes -replace "find" "replace" -exclude-cache -replace "old text" "new text"Įxample: wp ai1wm gdrive list-backups. Replace option could be used between other options. Wp ai1wm gdrive backup -replace "wordpress" "WordPress"Īll options be used simultaneously except -list can. Use -replace flag before each pair for replacement. Wp ai1wm gdrive backup -exclude-email-replaceįinds and replaces text in the database. Wp ai1wm gdrive backup -exclude-databaseĬreates a backup file without replacing email domain. Wp ai1wm gdrive backup -exclude-inactive-pluginsĬreates a backup file without cache files.Ĭreates a backup file without the database. Wp ai1wm gdrive backup -exclude-mupluginsĬreates a backup file without currently inactive plugins. Wp ai1wm gdrive backup -exclude-inactive-themesĬreates a backup file without must-use plugins.

Wp ai1wm gdrive backup -exclude-post-revisionsĬreates a backup file without media library filesĬreates a backup file without any themes.Ĭreates a backup file without currently inactive themes. Wp ai1wm gdrive backup -exclude-spam-commentsĬreates a backup file without post revisions BackupĬreate a new backup file for WP Multisite ( Sub-Sites/Subdomain-Sites )Ĭreates a backup file without spam comments It adds backup and restore commands that can be executed from the command line. WP Migration All-in-One The Google Drive Extension includes WP-CLI integration, allowing you to run migrations from the command line. All-in-One WP Migration Google Drive Extension WP CLI Integration
