This is how you start a backup by hand: with Back up now or via the menu of a backup plan. At the end, a finished backup is stored at your target.
What you need
- a usable target, that is, a target with a successful connection test,
- a backup plan. When you set up your first target, the plugin creates the plan “Daily backup”. The plan can be paused.
In the interface, every backup runs through a plan: the plan defines what is backed up and where it is stored.
Step 1: Start the backup
Open the Overview page or the Backup page and click Back up now. If there is exactly one plan, its backup starts right away.
- Your website is backed up. is shown when the last backup was complete.
- Last backup shows time, size and target.
- Next backup shows the next scheduled run and its plan.
- Back up now starts the backup.
- Restore backup takes you to the Restore page.
Step 2: Choose the plan
If there are several plans, the plugin asks which one should run. Click the name of the plan.
- Which plan? appears only if there is more than one plan.
- The cross closes the dialog window without starting a backup.
- One button per plan with its name. A click starts the backup of this plan.
Step 3: Follow the progress
- What the running backup is backing up and to which target.
- The progress display shows the phase, the entries, the amount and the remaining time.
- Abort backup aborts the running backup.
- Back up now is blocked as long as a job is running.
The phase says what the plugin is doing right now, for example Exporting the database, Packing files or Transferring to the targets. As long as the remaining time is not yet known, it reads calculating the remaining time ….
You can close the page. The backup keeps running: the website keeps it going on its own, and the page shows the state again when you come back. In the list of backups, the running backup is the first row, with a spinning ring. The column Type reads Running.
Step 4: Read the result
At the end a message appears below the main tile.
- The bar at the top edge shrinks: a green message closes by itself after 8 seconds.
- Dismiss closes the message immediately.
| Message | Meaning |
|---|---|
|
green Backup complete. |
Every target has the complete backup. Nothing was left out. |
|
yellow Backup complete with warnings. |
The backup is there, but something did not go smoothly. The message shows the number and kind of warnings; Log opens the log of this backup. |
|
red Backup failed. |
No target has the backup. The message gives the reason. |
Yellow and red messages stay until you close them or start a new action. What to do then: When a backup fails or ends with warnings.
Run a plan via its menu
Every plan can also be started directly. The tile Backup plans is on the Backup page: in the Compact view, Schedule backup brings up the tile; in the Extended view it is always visible. In the row of the plan choose More …, then Run now.
- More … opens the menu of the plan.
- Edit opens the form of the plan.
- Run now starts a backup right away with the content and the target of this plan.
- Delete deletes the plan after a confirmation prompt.
Run now also works for a paused plan: only the schedule is paused. The backup counts as the last run of the plan. It does not shift the next scheduled run. If a job is already running, nothing starts.
Abort a running backup
Click Abort backup below the progress display. The tile reports Abort requested; the job stops at the next step. The backup removes what it has already transferred to the targets and ends with the yellow message Backup aborted. In the list it has a grey dot; the column Type reads Aborted.
- Backup aborted.
- Log opens the log of the aborted backup.
If something does not work
| Message | What you can do |
|---|---|
| No backup plan yet. Create a plan first. | Nothing starts. In the Compact view the Backup page brings up the tile Backup plans. On the Overview page, Schedule backup takes you to the Backup page. Create a plan: Schedule backups automatically. |
| No usable target yet. Set one up on the Targets page. | The plugin opens the Targets page. Set up a target there or test the connection of the existing one: Which target suits you? |
| The backup could not be started: … | The reason follows the colon, for example The plan has no usable target. or A job is already running. Show global log opens the global log. |
Good to know
- Only one job runs at a time. A plan that becomes due in the meantime starts right afterwards.
- The backup takes its content and target from the plan when it starts. If you change the plan while the backup is running, the change applies only to the next backup.
- A backup started by hand counts towards its plan, including for Max. backups.
- After every valid backup the plugin deletes what exceeds Max. backups and cleans up leftovers of aborted jobs.
See also
- Schedule backups automatically
- Define how many backups are kept
- The “Backup” page
- Progress, messages and log
- Create and manage backups with WP-CLI
On the command line
WP-CLI not set up yet? How to install WP-CLI.
With WP-CLI you run a plan or start a backup without a plan; the latter exists only here. The command itself runs the backup to the end; with --background the website takes that over.
# Run a backup plan now (ID or name) wp cloneworx-backup plan run "Daily backup" # Start and let the website drive the backup wp cloneworx-backup plan run plan-1 --background # Backup without a plan: everything, to the target local-1 wp cloneworx-backup backup run --target=local-1 # Show the progress of the running job wp cloneworx-backup job status # Cancel the running backup wp cloneworx-backup job abort # Show the backups, newest first wp cloneworx-backup backup list