There are three kinds of job, each with its own list in the menu: Backups, Migrations and Replications. The editor is the same for all three, with sections that fit the kind of job.
Create a backup job
- Open Backups and click New job.
- Fill in the sections below, then save.
- Start the job from its row and watch it on Live.
Sections
General
A name and an optional description.
Source
Choose the Xen server and use Test connection.
VMs
Tick VMs in the list, or write a filter so the VMs are found each time the job runs. New VMs that match are included without editing the job.
A filter is one or more key=value terms separated by ;, and every term must match. Use != for "is not". Keys are name, description, tag, state and type. Values can use * (any text) and ? (one character).
| Filter | Picks |
|---|---|
name=web* |
VMs whose name starts with web |
tag=production;state=running |
Running VMs tagged production |
name!=test* |
All VMs except those starting with test |
description=*sql* |
VMs with sql in the description |
sql |
VMs with sql in the name, description or a tag |
Open a VM's disks to leave some out. Tick Fail the job when no VM is found to be told when a filter matches nothing; otherwise the job finishes quietly.
Snapshot
- While snapshotting, put the VM in this state: leave it as it is, halt it (forced if needed) or suspend it. Halting or suspending gives a consistent copy but interrupts the VM.
- Use quiesced snapshots: not available on newer XenServer versions.
- Do not snapshot halted or suspended virtual machines: copies them directly, which helps when storage space is short.
Backup destination
Choose a location, and optionally a folder below the location. Or tick Do not export the backup, keep it on the Xen server as a snapshot for a snapshot-only job. Snapshots sit on the same storage as the VM, so they do not protect against losing that storage.
Compression
Four options that decide where compression happens. See the knowledge base article How Xackup compression options work.
Differentials
Tick Make differentials after each full copy. The first run makes a full copy, and later runs copy only the changes. A new full copy is made after the number of differentials you set, when the full copy is older than the age you set, or when you choose Make a new full copy on the next run.
Keep a full copy with its differentials: a restore needs them together.
Retention
Tick Remove the oldest copies, keeping only the most recent and set a number. Without it every copy is kept. With differentials the number counts full copies together with their differentials.
Remove old copies before making the new one frees space first. If the new copy then fails, you have fewer to fall back on.
Transfer
VMs processed at the same time sets how many VMs run together. The best number depends on your servers and network.
Tick Send an email when the job finishes, and optionally Only send an email when the job has errors. A job can use the default mail server (see Servers and locations) or its own.
Tasks
Run a program or another job before or after this one. Tasks run on the Xackup Server machine as the account that runs Xackup, unless you set a user. Only add programs you trust. For a program you can set arguments, a working folder, a time allowed and whether to keep a log of what it prints.
Run, stop and check
- Start and stop a job from its row. Filter the list by result, schedule, server or destination.
- Live shows running jobs with the progress of every VM.
- A job's page shows its run history and the log of each run.
Clone, import and export
Clone a job from its row to make a variation. To move jobs between machines, see Maintenance.