### Set Custom AUTO_INCREMENT Start Point (SQL) Source: https://help.servmask.com/knowledgebase/how-to-add-auto-increment This SQL command sets a custom starting value for the AUTO_INCREMENT counter in the `wp_options` table. The value should be set higher than the current maximum ID to avoid conflicts. This is often used after restoring or modifying the table structure to ensure new entries get unique IDs. ```sql ALTER TABLE wp_options AUTO_INCREMENT = 5001; ``` -------------------------------- ### Create WordPress Backup via WP-CLI Source: https://help.servmask.com/knowledgebase/cli-integration Executes a site backup using the ai1wm command. Supports various flags for excluding specific content types like media, themes, or plugins, and allows for database string replacement. ```bash wp ai1wm backup wp ai1wm backup --sites wp ai1wm backup --exclude-media --exclude-plugins wp ai1wm backup --replace "old-domain.com" "new-domain.com" ``` -------------------------------- ### Perform Backup with WP-CLI Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-google-cloud-storage-extension-wp-cli-integration Commands to initiate a backup to Google Cloud Storage. Supports various exclusion flags and database find-and-replace operations. ```bash wp ai1wm gcloud-storage backup wp ai1wm gcloud-storage backup --sites wp ai1wm gcloud-storage backup --exclude-media --exclude-cache wp ai1wm gcloud-storage backup --replace "find" "replace" ``` -------------------------------- ### User-Based S3 Policy for Amazon S3 Extension Source: https://help.servmask.com/knowledgebase/amazon-s3-extension-bucket-permissions This IAM policy grants the Amazon S3 Extension broad permissions to manage S3 buckets and objects. It allows for creating, listing, putting, getting, and deleting objects, as well as getting bucket locations. This policy is suitable for general export/import operations. ```json { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:GetBucketLocation", "s3:CreateBucket", "s3:ListBucket", "s3:PutObject", "s3:GetObject", "s3:DeleteObject" ], "Resource": "arn:aws:s3:::*" } ] } ``` -------------------------------- ### WP-CLI: Restore Backup Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-google-drive-extension-wp-cli-integration Restores a specific backup file from Google Drive to the local WordPress installation. ```APIDOC ## WP-CLI: wp ai1wm gdrive restore ### Description Downloads and restores a specified backup file from Google Drive. ### Method CLI Command ### Endpoint wp ai1wm gdrive restore [filename] ### Parameters #### Path Parameters - **filename** (string) - Required - The name of the .wpress file to restore. #### Options - **--folder-path** (string) - Optional - Path to the folder containing the backup. - **--yes** (flag) - Optional - Auto-confirm the restoration process. ### Request Example wp ai1wm gdrive restore migration-wp-12345.wpress --yes ### Response #### Success Response - **Output** (string) - Confirmation message indicating the restore was successful. ``` -------------------------------- ### WP-CLI: Backup Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-google-drive-extension-wp-cli-integration Creates a new backup file of the WordPress site and uploads it to Google Drive with various exclusion options. ```APIDOC ## WP-CLI: wp ai1wm gdrive backup ### Description Creates a new backup file for the site and stores it in the configured Google Drive location. ### Method CLI Command ### Endpoint wp ai1wm gdrive backup ### Parameters #### Options - **--sites** (flag) - Optional - Create a new backup file for WP Multisite. - **--exclude-spam-comments** (flag) - Optional - Exclude spam comments. - **--exclude-post-revisions** (flag) - Optional - Exclude post revisions. - **--exclude-media** (flag) - Optional - Exclude media library files. - **--exclude-themes** (flag) - Optional - Exclude all themes. - **--exclude-plugins** (flag) - Optional - Exclude all plugins. - **--exclude-database** (flag) - Optional - Exclude the database. - **--replace "find" "replace"** (string) - Optional - Find and replace text in the database. ### Request Example wp ai1wm gdrive backup --exclude-media --replace "old" "new" ### Response #### Success Response - **Output** (string) - Confirmation message of the backup process completion. ``` -------------------------------- ### WP-CLI Restore Command Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-one-drive-extension-wp-cli-integration Restores a specific backup file from One Drive to the local WordPress installation. ```APIDOC ## CLI COMMAND: wp ai1wm onedrive restore ### Description Downloads and restores a specified backup file from One Drive. ### Method WP-CLI Command ### Parameters #### Arguments - **filename** (string) - Required - The name of the .wpress file to restore. #### Options - **--folder-path** (string) - Optional - Path to the folder containing the backup. - **--yes** (flag) - Optional - Auto-confirm the restoration process. ### Request Example wp ai1wm onedrive restore migration.wpress --yes ``` -------------------------------- ### WP CLI: Create Backup with All-in-One WP Migration Box Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-box-extension-wp-cli-integration This command creates a new backup file for your WordPress site using the All-in-One WP Migration Box Extension via WP-CLI. Various options are available to customize the backup, such as excluding specific content types or performing find and replace operations on the database. ```bash wp ai1wm box backup wp ai1wm box backup --sites wp ai1wm box backup --exclude-spam-comments wp ai1wm box backup --exclude-post-revisions wp ai1wm box backup --exclude-media wp ai1wm box backup --exclude-themes wp ai1wm box backup --exclude-inactive-themes wp ai1wm box backup --exclude-muplugins wp ai1wm box backup --exclude-plugins wp ai1wm box backup --exclude-inactive-plugins wp ai1wm box backup --exclude-cache wp ai1wm box backup --exclude-database wp ai1wm box backup --exclude-email-replace wp ai1wm box backup --replace "find" "replace" wp ai1wm box backup --exclude-inactive-themes --replace "find" "replace" --exclude-cache --replace "old text" "new text" ``` -------------------------------- ### WP-CLI Restore Command Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-box-extension-wp-cli-integration Restores a specific backup file from the cloud storage to the local WordPress installation. ```APIDOC ## wp ai1wm box restore ### Description Downloads and restores a backup file from the cloud storage. ### Method CLI Command ### Endpoint wp ai1wm box restore [filename] ### Parameters #### Path Parameters - **filename** (string) - Required - The name of the .wpress backup file. #### Options - **--folder-path** (string) - Optional - Specify the folder path in cloud storage. - **--yes** (flag) - Optional - Auto-confirm the restoration process. ### Request Example wp ai1wm box restore migration-file.wpress --yes ``` -------------------------------- ### Perform Backup with WP-CLI Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-mega-extension-wp-cli-integration Creates a new backup file using the Mega extension. Supports various exclusion flags and find-replace operations for the database. ```bash wp ai1wm mega backup wp ai1wm mega backup --exclude-media --exclude-cache wp ai1wm mega backup --replace "old text" "new text" ``` -------------------------------- ### Curl Error Codes Reference Source: https://help.servmask.com/knowledgebase/google-cloud-storage-error-codes A reference guide to curl error codes, their meanings, and potential causes. ```APIDOC ## Curl Error Codes This document lists and explains various error codes returned by the curl library. ### CURLE_FILE_COULDNT_READ_FILE (37) **Description**: The download could not be resumed because the specified offset was out of the file boundary. A file given with FILE:// couldn’t be opened. Most likely because the file path doesn’t identify an existing file. Did you check file permissions? ### CURLE_LDAP_CANNOT_BIND (38) **Description**: LDAP cannot bind. LDAP bind operation failed. ### CURLE_LDAP_SEARCH_FAILED (39) **Description**: LDAP search failed. ### CURLE_FUNCTION_NOT_FOUND (41) **Description**: Function not found. Could not find a required zlib function. ### CURLE_ABORTED_BY_CALLBACK (42) **Description**: Aborted by callback. A callback returned “abort” to libcurl. ### CURLE_BAD_FUNCTION_ARGUMENT (43) **Description**: Internal error. A function has a bad parameter. ### CURLE_INTERFACE_FAILED (45) **Description**: Interface error. A specified outgoing interface is not usable. Set which interface to use for outgoing connections’ source IP address with CURLOPT_INTERFACE. ### CURLE_TOO_MANY_REDIRECTS (47) **Description**: Too many redirects. When following redirects, libcurl hit the maximum amount. Set your limit with CURLOPT_MAXREDIRS. ### CURLE_UNKNOWN_OPTION (48) **Description**: An option passed to libcurl is not recognized/known. Refer to the appropriate documentation. This is most likely a problem in the program that uses libcurl. The error buffer might contain more specific information about which exact option it concerns. ### CURLE_TELNET_OPTION_SYNTAX (49) **Description**: A telnet option string has an illegal format. ### CURLE_GOT_NOTHING (52) **Description**: Nothing was returned from the server, and under the circumstances, getting nothing is considered an error. ### CURLE_SSL_ENGINE_NOTFOUND (53) **Description**: The specified crypto engine could not be found. ### CURLE_SSL_ENGINE_SETFAILED (54) **Description**: Failed to set the selected SSL crypto engine as default! ### CURLE_SEND_ERROR (55) **Description**: Failed sending network data. ### CURLE_RECV_ERROR (56) **Description**: Failure with receiving network data. ### CURLE_SSL_CERTPROBLEM (58) **Description**: Problem with the local client certificate. ### CURLE_SSL_CIPHER (59) **Description**: Couldn’t use the specified cipher. ### CURLE_PEER_FAILED_VERIFICATION (60) **Description**: The remote server’s SSL certificate or SSH md5 fingerprint was deemed unacceptable. This error code has been unified with CURLE_SSL_CACERT since 7.62.0. Its previous value was 51. ### CURLE_BAD_CONTENT_ENCODING (61) **Description**: Unrecognized transfer encoding. ### CURLE_LDAP_INVALID_URL (62) **Description**: Invalid LDAP URL. ### CURLE_FILESIZE_EXCEEDED (63) **Description**: Maximum file size exceeded. ### CURLE_USE_SSL_FAILED (64) **Description**: Requested FTP SSL level failed. ### CURLE_SEND_FAIL_REWIND (65) **Description**: When doing a send operation, curl had to rewind the data to retransmit, but the rewinding operation failed. ### CURLE_SSL_ENGINE_INITFAILED (66) **Description**: Initiating the SSL Engine failed. ### CURLE_LOGIN_DENIED (67) **Description**: The remote server denied curl to login (Added in 7.13.1) ### CURLE_TFTP_NOTFOUND (68) **Description**: File not found on TFTP server. ### CURLE_TFTP_PERM (69) **Description**: Permission problem on TFTP server. ### CURLE_REMOTE_DISK_FULL (70) **Description**: Out of disk space on the server. ### CURLE_TFTP_ILLEGAL (71) **Description**: Illegal TFTP operation. ### CURLE_TFTP_UNKNOWNID (72) **Description**: Unknown TFTP transfer ID. ### CURLE_REMOTE_FILE_EXISTS (73) **Description**: File already exists and will not be overwritten. ### CURLE_TFTP_NOSUCHUSER (74) **Description**: This error should never be returned by a properly functioning TFTP server. ### CURLE_CONV_FAILED (75) **Description**: Character conversion failed. ### CURLE_CONV_REQD (76) **Description**: The caller must register conversion callbacks. ### CURLE_SSL_CACERT_BADFILE (77) **Description**: Problem with reading the SSL CA cert (path? access rights?) ### CURLE_REMOTE_FILE_NOT_FOUND (78) **Description**: The resource referenced in the URL does not exist. ### CURLE_SSH (79) **Description**: An unspecified error occurred during the SSH session. ### CURLE_SSL_SHUTDOWN_FAILED (80) **Description**: Failed to shut down the SSL connection. ### CURLE_AGAIN (81) **Description**: The socket is not ready for send/recv to wait till it’s ready and try again. This return code only returns from curl_easy_recv and curl_easy_send (Added in 7.18.2) ### CURLE_SSL_CRL_BADFILE (82) **Description**: Failed to load CRL file (Added in 7.19.0) ### CURLE_SSL_ISSUER_ERROR (83) **Description**: Issuer check failed (Added in 7.19.0) ### CURLE_FTP_PRET_FAILED (84) **Description**: The FTP server does not understand the PRET command at all or does not support the given argument. Be careful when using CURLOPT_CUSTOMREQUEST, a custom LIST command will be sent with PRET CMD before PASV as well. (Added in 7.20.0) ### CURLE_RTSP_CSEQ_ERROR (85) **Description**: Mismatch of RTSP CSeq numbers. ### CURLE_RTSP_SESSION_ERROR (86) **Description**: Mismatch of RTSP Session Identifiers. ### CURLE_FTP_BAD_FILE_LIST (87) **Description**: Unable to parse FTP file list (during FTP wildcard downloading). ### CURLE_CHUNK_FAILED (88) **Description**: Chunk callback reported an error. ### CURLE_NO_CONNECTION_AVAILABLE (89) **Description**: (For internal use only, will never be returned by libcurl) No connection available, the session will be queued. (added in 7.30.0) ### CURLE_SSL_PINNEDPUBKEYNOTMATCH (90) **Description**: Failed to match the pinned key specified with CURLOPT_PINNEDPUBLICKEY. ### CURLE_SSL_INVALIDCERTSTATUS (91) **Description**: Invalid certificate status. ``` -------------------------------- ### Perform WebDAV Backup via WP-CLI Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-webdav-extension-wp-cli-integration Commands to initiate a backup to WebDAV. Supports various flags to exclude specific content types like media, themes, or plugins, and allows for database string replacement. ```bash wp ai1wm webdav backup wp ai1wm webdav backup --exclude-media --exclude-themes wp ai1wm webdav backup --replace "old-domain.com" "new-domain.com" ``` -------------------------------- ### Restore Amazon S3 Backups via WP-CLI Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-amazon-s3-extension-wp-cli-integration Restore a specific backup file from Amazon S3 to the local WordPress installation. Includes options for folder path specification and auto-confirmation. ```bash wp ai1wm s3 restore migration-file.wpress wp ai1wm s3 restore migration-file.wpress --folder-path=my-folder --yes ``` -------------------------------- ### Configure Backup Plans Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-amazon-glacier-extension-wp-cli-integration Instructions for configuring scheduled backup plans (hourly, daily, weekly, monthly) using WP-CLI cron commands and updating extension settings. ```APIDOC ## Configure Backup Plans ### Description Configure scheduled backup plans for different frequencies (hourly, daily, weekly, monthly) by setting up WP-CLI cron events and updating the extension's settings. ### Method CLI Command ### Endpoint N/A (WP-CLI commands) ### Parameters #### Scheduling Options - **Hourly Backup** - **Step 1:** Schedule the cron job: `wp cron event schedule ai1wmre_glacier_hourly_export now hourly` - **Step 2:** Update extension settings: `wp option update ai1wmre_glacier_cron '["hourly"]' --format=json` - **Daily Backup** - **Step 1:** Schedule the cron job: `wp cron event schedule ai1wmre_glacier_daily_export now daily` - **Step 2:** Update extension settings: `wp option update ai1wmre_glacier_cron '["daily"]' --format=json` - **Weekly Backup** - **Step 1:** Schedule the cron job: `wp cron event schedule ai1wmre_glacier_weekly_export now weekly` - **Step 2:** Update extension settings: `wp option update ai1wmre_glacier_cron '["weekly"]' --format=json` - **Monthly Backup** - **Step 1:** Schedule the cron job: `wp cron event schedule ai1wmre_glacier_monthly_export now monthly` - **Step 2:** Update extension settings: `wp option update ai1wmre_glacier_cron '["monthly"]' --format=json` ### Request Example ```bash # Schedule hourly backups wp cron event schedule ai1wmre_glacier_hourly_export now hourly wp option update ai1wmre_glacier_cron '["hourly"]' --format=json ``` ### Response #### Success Response Indicates that the cron job has been scheduled and the extension settings have been updated successfully. #### Response Example ``` Success: Scheduled event `ai1wmre_glacier_hourly_export`. Success: Updated option `ai1wmre_glacier_cron`. ``` ``` -------------------------------- ### WP-CLI Dropbox Restore Backup Command Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-dropbox-extension-wp-cli-integration This command restores a backup from Dropbox to your WordPress installation. You can specify the backup file name and optionally a folder path. The --yes flag can be used to auto-confirm the restore process. ```bash wp ai1wm dropbox restore migration-wp-59170913-095743-931.wpress wp ai1wm dropbox restore migration-wp-59170913-995743-939.wpress --folder-path=my\ backup/migration wp ai1wm dropbox restore migration-wp-59170913-995743-939.wpress --yes ``` -------------------------------- ### WP CLI: Backup using All-in-One WP Migration FTP Extension Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-ftp-extension-wp-cli-integration Creates a new backup file using the WP-CLI command. Supports various options to exclude specific data like spam comments, post revisions, media, themes, plugins, cache, and the database. It also allows for find and replace operations within the database during backup. ```bash wp ai1wm ftp backup wp ai1wm ftp backup --sites wp ai1wm ftp backup --exclude-spam-comments wp ai1wm ftp backup --exclude-post-revisions wp ai1wm ftp backup --exclude-media wp ai1wm ftp backup --exclude-themes wp ai1wm ftp backup --exclude-inactive-themes wp ai1wm ftp backup --exclude-muplugins wp ai1wm ftp backup --exclude-plugins wp ai1wm ftp backup --exclude-inactive-plugins wp ai1wm ftp backup --exclude-cache wp ai1wm ftp backup --exclude-database wp ai1wm ftp backup --exclude-email-replace wp ai1wm ftp backup --replace "wordpress" "WordPress" wp ai1wm ftp backup --exclude-inactive-themes --replace "find" "replace" --exclude-cache --replace "old text" "new text" ``` -------------------------------- ### Create Amazon S3 Backups via WP-CLI Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-amazon-s3-extension-wp-cli-integration Commands to initiate a backup to Amazon S3 with various exclusion and replacement options. These commands allow for granular control over what data is included in the backup process. ```bash wp ai1wm s3 backup wp ai1wm s3 backup --sites wp ai1wm s3 backup --exclude-media --exclude-cache wp ai1wm s3 backup --replace "old text" "new text" ``` -------------------------------- ### Create Full Network Backup with WP-CLI Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-multisite-extension-wp-cli-integration This command creates a backup of the entire WordPress multisite network. It supports various options to exclude specific content like spam comments, post revisions, media, themes, plugins, cache, and the database. The `--replace` option can be used to find and replace text within the database during the backup process. ```bash wp ai1wm backup wp ai1wm backup --exclude-spam-comments wp ai1wm backup --exclude-post-revisions wp ai1wm backup --exclude-media wp ai1wm backup --exclude-themes wp ai1wm backup --exclude-inactive-themes wp ai1wm backup --exclude-muplugins wp ai1wm backup --exclude-plugins wp ai1wm backup --exclude-inactive-plugins wp ai1wm backup --exclude-cache wp ai1wm backup --exclude-database wp ai1wm backup --exclude-email-replace wp ai1wm backup --replace "find" "replace" wp ai1wm backup --exclude-inactive-themes --replace "find" "replace" --exclude-cache --replace "old text" "new text" ``` -------------------------------- ### Manage Backup Retention Settings Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-webdav-extension-wp-cli-integration Commands to configure how many backups to retain or to set a maximum storage limit for the WebDAV extension. ```bash wp option update ai1wmwe_webdav_backups 5 wp option update ai1wmwe_webdav_total 2GB ``` -------------------------------- ### List Backups with WP-CLI Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-mega-extension-wp-cli-integration Lists all available backup files stored in the Mega extension, with an optional parameter to specify a folder path. ```bash wp ai1wm mega list-backups wp ai1wm mega list-backups --folder-path=my\ backup/migration ``` -------------------------------- ### WP CLI Integration - Retention Settings Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-ftp-extension-wp-cli-integration Instructions on how to configure backup retention settings using WP-CLI. ```APIDOC ## PUT /wp-cli/options/ai1wmfe_ftp_backups OR ai1wmfe_ftp_total ### Description Allows configuration of backup retention policies, including the number of recent backups to keep and the maximum backup size. ### Method PUT ### Endpoint wp option update [option_name] [value] ### Parameters #### Path Parameters - **option_name** (string) - Required - The name of the option to update. Can be `ai1wmfe_ftp_backups` for the number of backups or `ai1wmfe_ftp_total` for the total size. - **value** (string/integer) - Required - The value to set for the option. For `ai1wmfe_ftp_backups`, this is an integer (e.g., `1`). For `ai1wmfe_ftp_total`, this is a size string (e.g., `1GB`). ### Request Example ```bash # Keep the most recent 3 backups wp option update ai1wmfe_ftp_backups 3 # Limit total backup size to 2GB wp option update ai1wmfe_ftp_total 2GB ``` ### Response #### Success Response (200) - **message** (string) - Confirmation message that the option was updated. #### Response Example ```json { "message": "Option updated successfully." } ``` ``` -------------------------------- ### WP-CLI Backup Command Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-one-drive-extension-wp-cli-integration Creates a new backup file on One Drive with various exclusion and replacement options. ```APIDOC ## CLI COMMAND: wp ai1wm onedrive backup ### Description Creates a new backup file for the WordPress site and uploads it to One Drive. ### Method WP-CLI Command ### Parameters #### Options - **--sites** (flag) - Optional - Create a new backup file for WP Multisite. - **--exclude-spam-comments** (flag) - Optional - Exclude spam comments. - **--exclude-post-revisions** (flag) - Optional - Exclude post revisions. - **--exclude-media** (flag) - Optional - Exclude media library files. - **--exclude-themes** (flag) - Optional - Exclude all themes. - **--exclude-inactive-themes** (flag) - Optional - Exclude inactive themes. - **--exclude-muplugins** (flag) - Optional - Exclude must-use plugins. - **--exclude-plugins** (flag) - Optional - Exclude all plugins. - **--exclude-inactive-plugins** (flag) - Optional - Exclude inactive plugins. - **--exclude-cache** (flag) - Optional - Exclude cache files. - **--exclude-database** (flag) - Optional - Exclude the database. - **--replace** (string) - Optional - Find and replace text in the database (e.g., --replace "find" "replace"). ### Request Example wp ai1wm onedrive backup --exclude-cache --replace "old" "new" ``` -------------------------------- ### Perform pCloud Backup via WP-CLI Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-pcloud-extension-wp-cli-integration Commands to initiate a backup of a WordPress site to pCloud. Supports various exclusion flags and database search-and-replace functionality. ```bash wp ai1wm pcloud backup wp ai1wm pcloud backup --exclude-media --exclude-cache wp ai1wm pcloud backup --replace "find" "replace" ``` -------------------------------- ### WP-CLI: List Backups Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-google-drive-extension-wp-cli-integration Lists all available backup files stored in the Google Drive extension folder. ```APIDOC ## WP-CLI: wp ai1wm gdrive list-backups ### Description Retrieves a list of backup files currently stored in the Google Drive cloud storage. ### Method CLI Command ### Endpoint wp ai1wm gdrive list-backups ### Parameters #### Options - **--folder-path** (string) - Optional - List backups from a specific folder path. ### Request Example wp ai1wm gdrive list-backups --folder-path=backups/site1 ### Response #### Success Response - **List** (array) - A list of backup filenames found in the specified directory. ``` -------------------------------- ### WP CLI: Backup with DigitalOcean Spaces Extension Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-digitalocean-spaces-extension-wp-cli-integration Creates a new backup file to DigitalOcean Spaces using the WP-CLI. Supports various options to exclude specific content like spam comments, post revisions, media, themes, plugins, cache, or the database. You can also perform find and replace operations within the database during backup. ```bash wp ai1wm digitalocean backup wp ai1wm digitalocean backup --sites wp ai1wm digitalocean backup --exclude-spam-comments wp ai1wm digitalocean backup --exclude-post-revisions wp ai1wm digitalocean backup --exclude-media wp ai1wm digitalocean backup --exclude-themes wp ai1wm digitalocean backup --exclude-inactive-themes wp ai1wm digitalocean backup --exclude-muplugins wp ai1wm digitalocean backup --exclude-plugins wp ai1wm digitalocean backup --exclude-inactive-plugins wp ai1wm digitalocean backup --exclude-cache wp ai1wm digitalocean backup --exclude-database wp ai1wm digitalocean backup --exclude-email-replace wp ai1wm digitalocean backup --replace "wordpress" "WordPress" wp ai1wm digitalocean backup --exclude-inactive-themes --replace "find" "replace" --exclude-cache --replace "old text" "new text" ``` -------------------------------- ### WP-CLI List Backups Command Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-box-extension-wp-cli-integration Lists all available backup files stored in the cloud storage. ```APIDOC ## wp ai1wm box list-backups ### Description Lists backup files currently available in the box storage. ### Method CLI Command ### Endpoint wp ai1wm box list-backups ### Parameters #### Options - **--folder-path** (string) - Optional - List backups from a specific folder path. ### Request Example wp ai1wm box list-backups --folder-path=my-backups ``` -------------------------------- ### List Backups with wp ai1wm Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-multisite-extension-wp-cli-integration Lists all available backup files from Multisite. This command displays backup names, creation dates, and sizes. It is useful for auditing and identifying backups for further operations. ```bash wp ai1wm list-backups ``` -------------------------------- ### List and Restore Backups with WP-CLI Source: https://help.servmask.com/knowledgebase/all-in-one-wp-migration-google-cloud-storage-extension-wp-cli-integration Commands to list backups stored in Google Cloud Storage and restore specific backup files, with options for folder paths and auto-confirmation. ```bash wp ai1wm gcloud-storage list-backups --folder-path=my-folder wp ai1wm gcloud-storage restore migration-file-name.wpress --yes ```