Skip to content

Jobs & scheduling

A job ties together what to back up (a FileSet), which machine (a Client), where it goes (a Storage + Pool) and when (a Schedule). NGBackup runs several job types: Backup, Restore, Verify, Copy, Migrate and Admin.

Backup levels over time

LevelWhat it copies
FullEverything in the FileSet.
DifferentialEverything changed since the last Full.
IncrementalEverything changed since the last backup of any level.

A typical policy is a weekly Full + daily Incrementals; NGBackup automatically promotes an Incremental to Full when no prior Full exists.

From the console:

Terminal window
/opt/backup/bin/backup-console
* run

Pick the job, adjust level/storage if needed, and confirm. To run non-interactively:

* run job="BackupClient1" level=Full yes

Watch it:

* status director
* messages

Jobs run automatically via a Schedule resource:

Schedule {
Name = "WeeklyCycle"
Run = Full sun at 23:05
Run = Incremental mon-sat at 23:05
}

Every scheduling directive is in the Schedule resource reference. Job behaviour (priority, concurrency, retention, retries…) is controlled by the Job resource directives.

Run more jobs at once by raising Maximum Concurrent Jobs on the Director, Client and Storage, and order them with Priority. See the Job and Director references.