开发者 | webdorado |
---|---|
更新时间 | 2019年5月14日 22:56 |
PHP版本: | 3.9 及以上 |
WordPress版本: | 5.2 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
Backup by 10Web is a free, easy-to-use, and intuitive plugin created for WordPress. It is designed to backup website files, folders and MySQL database tables. Backup by 10Web is the ultimate free backup plugin for securely creating backups and restoring database files. Its powerful functionality lets you create and schedule automatic backup jobs, store the backup files on a local or external folder, as well as upload them to a cloud hosting service, such as Google Drive, Dropbox, Amazon S3 and more.
Click on Backup by 10Web menu item, then navigate to Jobs page. This page of Backup by 10Web plugin contains the summary of all created backup jobs. You can run them anytime, edit, copy or delete them. Press Add New Job button to start configuring the first backup job on your website. The backup job editor dashboard consists of several options, which are divided into tabs. Let’s firstly configure General section. If you have many jobs on Jobs page, you can change the number of displayed items using the input next to Items from top right side. Start with writing a name for this backup job using Job Name option. Then select Job Type for it, which can be website database, files, or both. Backup file type. Choose the type of the backup file. Archive creates a compressed file with the backup, whereas Sync synchronizes the updated files on the previous backup. Note, that Sync option does not add new backup folder with each run. It simply checks if files were modified, and replaces them with their new versions. Backup to. Use this setting to configure the destination where backup files will be sent or synced to. It can be saved on a cloud hosting service account, or to your website directory. The following options are available:
Backup by 10Web plugin lets you run each backup job manually. Additionally, you can configure a schedule to backup the files or database automatically. Use Start job with option under Schedule tab to set this up. The following schedule types are available: Manually. To run your backup job manually, save the created job first, then navigate to Backup by 10Web > Jobs page. Hover on the title of backup job you need to run, then click Run Now. WPCron. WPCron option lets you schedule automatic backups. There are two Schedule types, Basic or Advanced. They let you schedule specific date when the backup will be done automatically. Advanced. Use this setting to select the month, weekday, the day of the month and time for the automatic backup. Select Any to run the backup on any month or a weekday. Note, that the day of the month can be set up to 28th of each month. Select L option for backup on the last day of the month. Link. This type of backup run executes backup functions only in case you open the given URL with a web browser. Simply copy the link, paste it to your browser window and press Enter. The backup will start immediately.
Backup by 10Web plugin is the perfect tool to keep database backups also. DB Backup tab of new job editor dashboard lets you configure the backup of necessary database tables. Database connection. Select this option to use WordPress connection to the website database. Alternatively, you can connect manually after unchecking the option. In case you choose to connect to website database manually, you need to provide the Host, Username, Password, then select the Database to connect to. Tables to backup. Use this setting to select the database tables, which you wish to include in database backup. All the tables of your website MySQL are listed underneath this setting. Backup file name. Provide a filename for database backup file. Note, that .sql file extension is added to the filename automatically. Therefore, make sure to set the name without writing .sql at the end. Backup file compression. Select the compression type for database backup file, it can be set to None or GZip. Encrypt DB file. Mark this option as checked, in case you would like to encrypt the database backup file for data protection.
Backup by 10Web plugin allows you to quickly create backup archives containing your website files. This feature has a dedicated section of options, which you can use to configure the backup process. Click on Files Backup tab to open them. Use the following settings to choose which folders to backup:
Backup by 10Web plugin is incorporated with various cloud hosting services, where it can send or sync the backup files it creates. Moreover, it lets you keep the files among your website files, in a separate folder, as well as on an external FTP server. Click on Destinations tab to find all these options.
Setup the local folder using Folder to store option. The backup files will be stored here. You can write any name for the folder, but make sure the path starts with uploads/ directory. Also, we recommend keeping {hash_key} component, which is a unique identifier that is used to add hashes to backup folder and file names. File deletion option sets the maximum number of files in the dedicated folder. When the limit is reached, the oldest backup file will be deleted automatically.
Before configuring Google Drive as the destination of this backup job, make sure to add Google API keys to the plugin. This can be done from Backup by 10Web > API Keys > Google Drive page. Press Authenticate (Reauthenticate) button to connect Backup by 10Web to your Google Drive. In case you are working with multiple Google account, make sure to use the one where you wish to keep the backup files. Folder in Google Drive. Set the title of your Google Drive folder, where the backup files will be uploaded. File deletion. Specify the maximum number of files in Google Drive folder. When the limit is reached, the oldest backup file will be deleted automatically.
Select Bucket. Choose a bucket from your Amazon S3 service. Make sure the bucket belongs to S3 region you have selected. Create a new bucket. This option lets you to create a new bucket on your Amazon S3 cloud account. The bucket will be added when you save tab options. Folder name in bucket. Provide the folder name on your Amazon S3 bucket, where the backup files will be stored. File Amazon S3 service is separated to regions. Firstly, you will need to select the region where your Amazon S3 buckets are stored. Use Select S3 service option to set the region. You will afterwards need to provide Access Key and Private Key of your Amazon S3 cloud account. deletion. Specify the maximum number of files in Amazon S3 bucket folder. When the limit is reached, the oldest backup file will be deleted automatically. File deletion (Sync). Mark this option, in case you wish to keep deleted files from previous backup sync. Uncheck the option to remove the deleted files. Multipart Upload. Select this setting to enable multipart upload for backup files. Since the files are generally large, this option splits them into multiple chunks while uploading. Therefore, it is recommended to use this setting. Amazon: Storage Class. Amazon S3 service has several storage classes, and you can select yours using this option. Server side encryption. Enable this option to encrypt the backup files for data protection.
To configure Dropbox as the destination for your backup files, you will need to add its API keys to Backup by 10Web > API Keys > Dropbox page. This service offers Full Dropbox App and Sandbox App for integration. While configuring the API Keys, make sure to add yours to the correct options. In case you don’t have a Dropbox account, please firstly create one here. Now let’s go through all options associated with Dropbox integration for storing backup files. App Access to Dropbox and Full Access to Dropbox options will appear under Dropbox tab of your backup job configuration, based on the setup on the plugin’s API Keys > Dropbox page. Press Get Dropbox App auth code to let the plugin create a dedicated folder titled BackupWD in Apps folder of your Dropbox account. The plugin will have permissions to read and write files into this folder only. You can also specify a subfolder as backup destination, using Folder in Dropbox setting. Folder in Dropbox. Set the title of your Dropbox folder, where the backup files will be uploaded. File deletion. Specify the maximum number of files in Dropbox folder for backup. When the limit is reached, the oldest backup file will be deleted automatically.
Start configuring Microsoft Azure as the destination of this backup job by providing Account name and Access key of your Microsoft Azure account. Select container. Choose the Blob container where the backup files will be uploaded. Create a new container. You can also create a new Blob container as the destination directory by providing its title in this input box. The container will be added when you save tab options. Folder in container. Specify the folder in selected container where the backup files will be uploaded. File deletion. Specify the maximum number of files in Microsoft Azure folder for backup. When the limit is reached, the oldest backup file will be deleted automatically.
In addition to Folder option of storing backup files, Backup by 10Web plugin allows you to keep them externally on a different FTP server. Login by providing FTP server host, Port, Username and Password of your FTP account. Folder to store. Specify the folder where the backup files will be uploaded. File deletion. Specify the maximum number of files in your FTP folder for backup. When the limit is reached, the oldest backup file will be deleted automatically. Timeout for FTP connection. Specify the timeout period for the FTP connection. SSL-FTP connection. Select this option in case your server uses explicit SSL-FTP connection. FTP Passive Mode. Check this option to use FTP Passive mode. It can be helpful in case the FTP server fails to establish data channel connection. One of the reasons this happens is network firewalls.
Go to Google APIs Manager page to create a new OAuth Client ID. Login with your Google account first. Note, that in case you have multiple Google accounts, you will need to log in with the one where you wish to keep the backup files. Firstly, go to Dashboard tab after logging in and press Enable APIs and Services button. Click on Drive API link, then hit Enable button at the top. Navigate to Credentials tab, then to OAuth Consent Screen page. Use Product name shown to users option to set a product name, then press Save. Afterwards, go back to Credentials tab and press Create Credentials button. Choose OAuth Client ID option. Select Web application option for Application type. Provide your website URL as the value of Authorized JavaScript origins input. As for Authorized redirect URIs option, you will need to provide the link in Redirect URIs option below exactly as it is. Client ID. As soon as you are done creating the OAuth client, provide the Client ID of it on Google Drive tab of the plugin’s API Keys page. Here’s an example of how it should look like: 1077302661009-rd9osq5fnq4hj8044ovsp2v889qpl5jv.apps.googleusercontent.com Client secret. Also copy Client Secret from your Google OAuth Client and paste it in this input. Redirect URIs. Use the URI provided by this option while creating your Google OAuth Client ID.
Visit Dropbox Apps page and log in to create API keys and add them to corresponding settings of this page. If you don’t have any apps, press Create Apps button from Dropbox App Console. Select Dropbox API option, then choose the access type, Sandbox App or Full Dropbox App. Name your app, then hit Create App button. You will be redirected to a dashboard page, where the App key and App secret will be provided. Note, that Full Dropbox App and Sandbox App have different API keys. Make sure to add yours to the correct options of Backup by 10Web plugin.
Backup by 10Web plugin provides a set of options which lets you personalize the process of the backup globally. It is divided into the following sections:
Backup by 10Web plugin lets you export the settings from one site, and import to another. Press Export button to download the .json file, or use Choose File to browse the downloaded file and import by clicking Save.
Logs page of Backup by 10Web plugin lets you view all logs from all backup jobs. You can filter the logs by selecting a job, and/or the backup type, database or files backup. This page also allows you to Delete selected backup logs using Bulk Actions option. To view each log individually, hover over its title and click View link. You can also Download the log which is an .html file, and Delete the log using corresponding links. If you have many logs, you can change the number of displayed logs using the input next to Items from top right side.
Check all backups and syncs created with Backup by 10Web plugin from Backup by 10Web > Backups page. It lets you filter backups and syncs by jobs and destinations, as well as delete the records using Bulk Actions. You can Delete or Download each backup file individually by hovering over its title. Note, that the backup files are generally quite large. The sizes of each backup is mentioned under Size column of Backups page.
After downloading the database backup file, you are able to easily restore it by uploading the package through Backup by 10Web plugin. Go to Backup by 10Web > Restore page, simply press Choose File and browse the backup file you wish to restore, then click Restore. The feature to restore website files will also be available in Backup by 10Web plugin soon.