published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
Manages a Proxmox VE cluster backup job.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
const dailyBackup = new proxmoxve.backup.Job("daily_backup", {
resourceId: "daily-backup",
schedule: "*-*-* 02:00",
storage: "local",
all: true,
mode: "snapshot",
compress: "zstd",
});
import pulumi
import pulumi_proxmoxve as proxmoxve
daily_backup = proxmoxve.backup.Job("daily_backup",
resource_id="daily-backup",
schedule="*-*-* 02:00",
storage="local",
all=True,
mode="snapshot",
compress="zstd")
package main
import (
"github.com/muhlba91/pulumi-proxmoxve/sdk/v8/go/proxmoxve/backup"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.NewJob(ctx, "daily_backup", &backup.JobArgs{
ResourceId: pulumi.String("daily-backup"),
Schedule: pulumi.String("*-*-* 02:00"),
Storage: pulumi.String("local"),
All: pulumi.Bool(true),
Mode: pulumi.String("snapshot"),
Compress: pulumi.String("zstd"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ProxmoxVE = Pulumi.ProxmoxVE;
return await Deployment.RunAsync(() =>
{
var dailyBackup = new ProxmoxVE.Backup.Job("daily_backup", new()
{
ResourceId = "daily-backup",
Schedule = "*-*-* 02:00",
Storage = "local",
All = true,
Mode = "snapshot",
Compress = "zstd",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import io.muehlbachler.pulumi.proxmoxve.backup.Job;
import io.muehlbachler.pulumi.proxmoxve.backup.JobArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var dailyBackup = new Job("dailyBackup", JobArgs.builder()
.resourceId("daily-backup")
.schedule("*-*-* 02:00")
.storage("local")
.all(true)
.mode("snapshot")
.compress("zstd")
.build());
}
}
resources:
dailyBackup:
type: proxmoxve:backup:Job
name: daily_backup
properties:
resourceId: daily-backup
schedule: '*-*-* 02:00'
storage: local
all: true
mode: snapshot
compress: zstd
Create Job Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Job(name: string, args: JobArgs, opts?: CustomResourceOptions);@overload
def Job(resource_name: str,
args: JobArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Job(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_id: Optional[str] = None,
storage: Optional[str] = None,
schedule: Optional[str] = None,
pigz: Optional[int] = None,
enabled: Optional[bool] = None,
fleecing: Optional[JobFleecingArgs] = None,
ionice: Optional[int] = None,
lockwait: Optional[int] = None,
mailnotification: Optional[str] = None,
mailtos: Optional[Sequence[str]] = None,
maxfiles: Optional[int] = None,
mode: Optional[str] = None,
node: Optional[str] = None,
notes_template: Optional[str] = None,
pbs_change_detection_mode: Optional[str] = None,
performance: Optional[JobPerformanceArgs] = None,
all: Optional[bool] = None,
exclude_paths: Optional[Sequence[str]] = None,
prune_backups: Optional[Mapping[str, str]] = None,
pool: Optional[str] = None,
remove: Optional[bool] = None,
repeat_missed: Optional[bool] = None,
protected: Optional[bool] = None,
compress: Optional[str] = None,
script: Optional[str] = None,
starttime: Optional[str] = None,
stdexcludes: Optional[bool] = None,
stopwait: Optional[int] = None,
bwlimit: Optional[int] = None,
tmpdir: Optional[str] = None,
vmids: Optional[Sequence[str]] = None,
zstd: Optional[int] = None)func NewJob(ctx *Context, name string, args JobArgs, opts ...ResourceOption) (*Job, error)public Job(string name, JobArgs args, CustomResourceOptions? opts = null)type: proxmoxve:backup:Job
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Job Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Job resource accepts the following input properties:
- Resource
Id string - The identifier of the backup job.
- Schedule string
- Backup schedule in systemd calendar event format.
- Storage string
- The storage identifier for the backup.
- All bool
- Whether to back up all known guests on the node.
- Bwlimit int
- I/O bandwidth limit in KiB/s.
- Compress string
- The compression algorithm (0, 1, gzip, lzo, or zstd).
- Enabled bool
- Whether the backup job is enabled.
- Exclude
Paths List<string> - A list of paths to exclude from the backup.
- Fleecing
Pulumi.
Proxmox VE. Backup. Inputs. Job Fleecing - Fleecing configuration for the backup job.
- Ionice int
- I/O priority (0-8).
- Lockwait int
- Maximum wait time in minutes for the global lock.
- Mailnotification string
- Email notification setting (always or failure).
- Mailtos List<string>
- A list of email addresses to send notifications to.
- Maxfiles int
- Deprecated: use pruneBackups instead. Maximum number of backup files per guest.
- Mode string
- The backup mode (snapshot, suspend, or stop).
- Node string
- The cluster node name to limit the backup job to.
- Notes
Template string - Template for notes attached to the backup.
- Pbs
Change stringDetection Mode - PBS change detection mode (legacy, data, or metadata).
- Performance
Pulumi.
Proxmox VE. Backup. Inputs. Job Performance - Performance-related settings for the backup job.
- Pigz int
- Number of pigz threads (0 disables, 1 uses single-threaded gzip).
- Pool string
- Limit backup to guests in the specified pool.
- Protected bool
- Whether the backup should be marked as protected.
- Prune
Backups Dictionary<string, string> - Retention options as a map of keep policies (e.g. keep-last = "3", keep-weekly = "2").
- Remove bool
- Whether to remove old backups if there are more than maxfiles.
- Repeat
Missed bool - Whether to repeat missed backup jobs as soon as possible.
- Script string
- Path to a script to execute before/after the backup job.
- Starttime string
- The scheduled start time (HH:MM).
- Stdexcludes bool
- Whether to exclude common temporary files from the backup.
- Stopwait int
- Maximum wait time in minutes for a guest to stop.
- Tmpdir string
- Path to the temporary directory for the backup job.
- Vmids List<string>
- A list of guest VM/CT IDs to include in the backup job.
- Zstd int
- Number of zstd threads (0 uses half of available cores).
- Resource
Id string - The identifier of the backup job.
- Schedule string
- Backup schedule in systemd calendar event format.
- Storage string
- The storage identifier for the backup.
- All bool
- Whether to back up all known guests on the node.
- Bwlimit int
- I/O bandwidth limit in KiB/s.
- Compress string
- The compression algorithm (0, 1, gzip, lzo, or zstd).
- Enabled bool
- Whether the backup job is enabled.
- Exclude
Paths []string - A list of paths to exclude from the backup.
- Fleecing
Job
Fleecing Args - Fleecing configuration for the backup job.
- Ionice int
- I/O priority (0-8).
- Lockwait int
- Maximum wait time in minutes for the global lock.
- Mailnotification string
- Email notification setting (always or failure).
- Mailtos []string
- A list of email addresses to send notifications to.
- Maxfiles int
- Deprecated: use pruneBackups instead. Maximum number of backup files per guest.
- Mode string
- The backup mode (snapshot, suspend, or stop).
- Node string
- The cluster node name to limit the backup job to.
- Notes
Template string - Template for notes attached to the backup.
- Pbs
Change stringDetection Mode - PBS change detection mode (legacy, data, or metadata).
- Performance
Job
Performance Args - Performance-related settings for the backup job.
- Pigz int
- Number of pigz threads (0 disables, 1 uses single-threaded gzip).
- Pool string
- Limit backup to guests in the specified pool.
- Protected bool
- Whether the backup should be marked as protected.
- Prune
Backups map[string]string - Retention options as a map of keep policies (e.g. keep-last = "3", keep-weekly = "2").
- Remove bool
- Whether to remove old backups if there are more than maxfiles.
- Repeat
Missed bool - Whether to repeat missed backup jobs as soon as possible.
- Script string
- Path to a script to execute before/after the backup job.
- Starttime string
- The scheduled start time (HH:MM).
- Stdexcludes bool
- Whether to exclude common temporary files from the backup.
- Stopwait int
- Maximum wait time in minutes for a guest to stop.
- Tmpdir string
- Path to the temporary directory for the backup job.
- Vmids []string
- A list of guest VM/CT IDs to include in the backup job.
- Zstd int
- Number of zstd threads (0 uses half of available cores).
- resource
Id String - The identifier of the backup job.
- schedule String
- Backup schedule in systemd calendar event format.
- storage String
- The storage identifier for the backup.
- all Boolean
- Whether to back up all known guests on the node.
- bwlimit Integer
- I/O bandwidth limit in KiB/s.
- compress String
- The compression algorithm (0, 1, gzip, lzo, or zstd).
- enabled Boolean
- Whether the backup job is enabled.
- exclude
Paths List<String> - A list of paths to exclude from the backup.
- fleecing
Job
Fleecing - Fleecing configuration for the backup job.
- ionice Integer
- I/O priority (0-8).
- lockwait Integer
- Maximum wait time in minutes for the global lock.
- mailnotification String
- Email notification setting (always or failure).
- mailtos List<String>
- A list of email addresses to send notifications to.
- maxfiles Integer
- Deprecated: use pruneBackups instead. Maximum number of backup files per guest.
- mode String
- The backup mode (snapshot, suspend, or stop).
- node String
- The cluster node name to limit the backup job to.
- notes
Template String - Template for notes attached to the backup.
- pbs
Change StringDetection Mode - PBS change detection mode (legacy, data, or metadata).
- performance
Job
Performance - Performance-related settings for the backup job.
- pigz Integer
- Number of pigz threads (0 disables, 1 uses single-threaded gzip).
- pool String
- Limit backup to guests in the specified pool.
- protected_ Boolean
- Whether the backup should be marked as protected.
- prune
Backups Map<String,String> - Retention options as a map of keep policies (e.g. keep-last = "3", keep-weekly = "2").
- remove Boolean
- Whether to remove old backups if there are more than maxfiles.
- repeat
Missed Boolean - Whether to repeat missed backup jobs as soon as possible.
- script String
- Path to a script to execute before/after the backup job.
- starttime String
- The scheduled start time (HH:MM).
- stdexcludes Boolean
- Whether to exclude common temporary files from the backup.
- stopwait Integer
- Maximum wait time in minutes for a guest to stop.
- tmpdir String
- Path to the temporary directory for the backup job.
- vmids List<String>
- A list of guest VM/CT IDs to include in the backup job.
- zstd Integer
- Number of zstd threads (0 uses half of available cores).
- resource
Id string - The identifier of the backup job.
- schedule string
- Backup schedule in systemd calendar event format.
- storage string
- The storage identifier for the backup.
- all boolean
- Whether to back up all known guests on the node.
- bwlimit number
- I/O bandwidth limit in KiB/s.
- compress string
- The compression algorithm (0, 1, gzip, lzo, or zstd).
- enabled boolean
- Whether the backup job is enabled.
- exclude
Paths string[] - A list of paths to exclude from the backup.
- fleecing
Job
Fleecing - Fleecing configuration for the backup job.
- ionice number
- I/O priority (0-8).
- lockwait number
- Maximum wait time in minutes for the global lock.
- mailnotification string
- Email notification setting (always or failure).
- mailtos string[]
- A list of email addresses to send notifications to.
- maxfiles number
- Deprecated: use pruneBackups instead. Maximum number of backup files per guest.
- mode string
- The backup mode (snapshot, suspend, or stop).
- node string
- The cluster node name to limit the backup job to.
- notes
Template string - Template for notes attached to the backup.
- pbs
Change stringDetection Mode - PBS change detection mode (legacy, data, or metadata).
- performance
Job
Performance - Performance-related settings for the backup job.
- pigz number
- Number of pigz threads (0 disables, 1 uses single-threaded gzip).
- pool string
- Limit backup to guests in the specified pool.
- protected boolean
- Whether the backup should be marked as protected.
- prune
Backups {[key: string]: string} - Retention options as a map of keep policies (e.g. keep-last = "3", keep-weekly = "2").
- remove boolean
- Whether to remove old backups if there are more than maxfiles.
- repeat
Missed boolean - Whether to repeat missed backup jobs as soon as possible.
- script string
- Path to a script to execute before/after the backup job.
- starttime string
- The scheduled start time (HH:MM).
- stdexcludes boolean
- Whether to exclude common temporary files from the backup.
- stopwait number
- Maximum wait time in minutes for a guest to stop.
- tmpdir string
- Path to the temporary directory for the backup job.
- vmids string[]
- A list of guest VM/CT IDs to include in the backup job.
- zstd number
- Number of zstd threads (0 uses half of available cores).
- resource_
id str - The identifier of the backup job.
- schedule str
- Backup schedule in systemd calendar event format.
- storage str
- The storage identifier for the backup.
- all bool
- Whether to back up all known guests on the node.
- bwlimit int
- I/O bandwidth limit in KiB/s.
- compress str
- The compression algorithm (0, 1, gzip, lzo, or zstd).
- enabled bool
- Whether the backup job is enabled.
- exclude_
paths Sequence[str] - A list of paths to exclude from the backup.
- fleecing
Job
Fleecing Args - Fleecing configuration for the backup job.
- ionice int
- I/O priority (0-8).
- lockwait int
- Maximum wait time in minutes for the global lock.
- mailnotification str
- Email notification setting (always or failure).
- mailtos Sequence[str]
- A list of email addresses to send notifications to.
- maxfiles int
- Deprecated: use pruneBackups instead. Maximum number of backup files per guest.
- mode str
- The backup mode (snapshot, suspend, or stop).
- node str
- The cluster node name to limit the backup job to.
- notes_
template str - Template for notes attached to the backup.
- pbs_
change_ strdetection_ mode - PBS change detection mode (legacy, data, or metadata).
- performance
Job
Performance Args - Performance-related settings for the backup job.
- pigz int
- Number of pigz threads (0 disables, 1 uses single-threaded gzip).
- pool str
- Limit backup to guests in the specified pool.
- protected bool
- Whether the backup should be marked as protected.
- prune_
backups Mapping[str, str] - Retention options as a map of keep policies (e.g. keep-last = "3", keep-weekly = "2").
- remove bool
- Whether to remove old backups if there are more than maxfiles.
- repeat_
missed bool - Whether to repeat missed backup jobs as soon as possible.
- script str
- Path to a script to execute before/after the backup job.
- starttime str
- The scheduled start time (HH:MM).
- stdexcludes bool
- Whether to exclude common temporary files from the backup.
- stopwait int
- Maximum wait time in minutes for a guest to stop.
- tmpdir str
- Path to the temporary directory for the backup job.
- vmids Sequence[str]
- A list of guest VM/CT IDs to include in the backup job.
- zstd int
- Number of zstd threads (0 uses half of available cores).
- resource
Id String - The identifier of the backup job.
- schedule String
- Backup schedule in systemd calendar event format.
- storage String
- The storage identifier for the backup.
- all Boolean
- Whether to back up all known guests on the node.
- bwlimit Number
- I/O bandwidth limit in KiB/s.
- compress String
- The compression algorithm (0, 1, gzip, lzo, or zstd).
- enabled Boolean
- Whether the backup job is enabled.
- exclude
Paths List<String> - A list of paths to exclude from the backup.
- fleecing Property Map
- Fleecing configuration for the backup job.
- ionice Number
- I/O priority (0-8).
- lockwait Number
- Maximum wait time in minutes for the global lock.
- mailnotification String
- Email notification setting (always or failure).
- mailtos List<String>
- A list of email addresses to send notifications to.
- maxfiles Number
- Deprecated: use pruneBackups instead. Maximum number of backup files per guest.
- mode String
- The backup mode (snapshot, suspend, or stop).
- node String
- The cluster node name to limit the backup job to.
- notes
Template String - Template for notes attached to the backup.
- pbs
Change StringDetection Mode - PBS change detection mode (legacy, data, or metadata).
- performance Property Map
- Performance-related settings for the backup job.
- pigz Number
- Number of pigz threads (0 disables, 1 uses single-threaded gzip).
- pool String
- Limit backup to guests in the specified pool.
- protected Boolean
- Whether the backup should be marked as protected.
- prune
Backups Map<String> - Retention options as a map of keep policies (e.g. keep-last = "3", keep-weekly = "2").
- remove Boolean
- Whether to remove old backups if there are more than maxfiles.
- repeat
Missed Boolean - Whether to repeat missed backup jobs as soon as possible.
- script String
- Path to a script to execute before/after the backup job.
- starttime String
- The scheduled start time (HH:MM).
- stdexcludes Boolean
- Whether to exclude common temporary files from the backup.
- stopwait Number
- Maximum wait time in minutes for a guest to stop.
- tmpdir String
- Path to the temporary directory for the backup job.
- vmids List<String>
- A list of guest VM/CT IDs to include in the backup job.
- zstd Number
- Number of zstd threads (0 uses half of available cores).
Outputs
All input properties are implicitly available as output properties. Additionally, the Job resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Job Resource
Get an existing Job resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: JobState, opts?: CustomResourceOptions): Job@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
all: Optional[bool] = None,
bwlimit: Optional[int] = None,
compress: Optional[str] = None,
enabled: Optional[bool] = None,
exclude_paths: Optional[Sequence[str]] = None,
fleecing: Optional[JobFleecingArgs] = None,
ionice: Optional[int] = None,
lockwait: Optional[int] = None,
mailnotification: Optional[str] = None,
mailtos: Optional[Sequence[str]] = None,
maxfiles: Optional[int] = None,
mode: Optional[str] = None,
node: Optional[str] = None,
notes_template: Optional[str] = None,
pbs_change_detection_mode: Optional[str] = None,
performance: Optional[JobPerformanceArgs] = None,
pigz: Optional[int] = None,
pool: Optional[str] = None,
protected: Optional[bool] = None,
prune_backups: Optional[Mapping[str, str]] = None,
remove: Optional[bool] = None,
repeat_missed: Optional[bool] = None,
resource_id: Optional[str] = None,
schedule: Optional[str] = None,
script: Optional[str] = None,
starttime: Optional[str] = None,
stdexcludes: Optional[bool] = None,
stopwait: Optional[int] = None,
storage: Optional[str] = None,
tmpdir: Optional[str] = None,
vmids: Optional[Sequence[str]] = None,
zstd: Optional[int] = None) -> Jobfunc GetJob(ctx *Context, name string, id IDInput, state *JobState, opts ...ResourceOption) (*Job, error)public static Job Get(string name, Input<string> id, JobState? state, CustomResourceOptions? opts = null)public static Job get(String name, Output<String> id, JobState state, CustomResourceOptions options)resources: _: type: proxmoxve:backup:Job get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- All bool
- Whether to back up all known guests on the node.
- Bwlimit int
- I/O bandwidth limit in KiB/s.
- Compress string
- The compression algorithm (0, 1, gzip, lzo, or zstd).
- Enabled bool
- Whether the backup job is enabled.
- Exclude
Paths List<string> - A list of paths to exclude from the backup.
- Fleecing
Pulumi.
Proxmox VE. Backup. Inputs. Job Fleecing - Fleecing configuration for the backup job.
- Ionice int
- I/O priority (0-8).
- Lockwait int
- Maximum wait time in minutes for the global lock.
- Mailnotification string
- Email notification setting (always or failure).
- Mailtos List<string>
- A list of email addresses to send notifications to.
- Maxfiles int
- Deprecated: use pruneBackups instead. Maximum number of backup files per guest.
- Mode string
- The backup mode (snapshot, suspend, or stop).
- Node string
- The cluster node name to limit the backup job to.
- Notes
Template string - Template for notes attached to the backup.
- Pbs
Change stringDetection Mode - PBS change detection mode (legacy, data, or metadata).
- Performance
Pulumi.
Proxmox VE. Backup. Inputs. Job Performance - Performance-related settings for the backup job.
- Pigz int
- Number of pigz threads (0 disables, 1 uses single-threaded gzip).
- Pool string
- Limit backup to guests in the specified pool.
- Protected bool
- Whether the backup should be marked as protected.
- Prune
Backups Dictionary<string, string> - Retention options as a map of keep policies (e.g. keep-last = "3", keep-weekly = "2").
- Remove bool
- Whether to remove old backups if there are more than maxfiles.
- Repeat
Missed bool - Whether to repeat missed backup jobs as soon as possible.
- Resource
Id string - The identifier of the backup job.
- Schedule string
- Backup schedule in systemd calendar event format.
- Script string
- Path to a script to execute before/after the backup job.
- Starttime string
- The scheduled start time (HH:MM).
- Stdexcludes bool
- Whether to exclude common temporary files from the backup.
- Stopwait int
- Maximum wait time in minutes for a guest to stop.
- Storage string
- The storage identifier for the backup.
- Tmpdir string
- Path to the temporary directory for the backup job.
- Vmids List<string>
- A list of guest VM/CT IDs to include in the backup job.
- Zstd int
- Number of zstd threads (0 uses half of available cores).
- All bool
- Whether to back up all known guests on the node.
- Bwlimit int
- I/O bandwidth limit in KiB/s.
- Compress string
- The compression algorithm (0, 1, gzip, lzo, or zstd).
- Enabled bool
- Whether the backup job is enabled.
- Exclude
Paths []string - A list of paths to exclude from the backup.
- Fleecing
Job
Fleecing Args - Fleecing configuration for the backup job.
- Ionice int
- I/O priority (0-8).
- Lockwait int
- Maximum wait time in minutes for the global lock.
- Mailnotification string
- Email notification setting (always or failure).
- Mailtos []string
- A list of email addresses to send notifications to.
- Maxfiles int
- Deprecated: use pruneBackups instead. Maximum number of backup files per guest.
- Mode string
- The backup mode (snapshot, suspend, or stop).
- Node string
- The cluster node name to limit the backup job to.
- Notes
Template string - Template for notes attached to the backup.
- Pbs
Change stringDetection Mode - PBS change detection mode (legacy, data, or metadata).
- Performance
Job
Performance Args - Performance-related settings for the backup job.
- Pigz int
- Number of pigz threads (0 disables, 1 uses single-threaded gzip).
- Pool string
- Limit backup to guests in the specified pool.
- Protected bool
- Whether the backup should be marked as protected.
- Prune
Backups map[string]string - Retention options as a map of keep policies (e.g. keep-last = "3", keep-weekly = "2").
- Remove bool
- Whether to remove old backups if there are more than maxfiles.
- Repeat
Missed bool - Whether to repeat missed backup jobs as soon as possible.
- Resource
Id string - The identifier of the backup job.
- Schedule string
- Backup schedule in systemd calendar event format.
- Script string
- Path to a script to execute before/after the backup job.
- Starttime string
- The scheduled start time (HH:MM).
- Stdexcludes bool
- Whether to exclude common temporary files from the backup.
- Stopwait int
- Maximum wait time in minutes for a guest to stop.
- Storage string
- The storage identifier for the backup.
- Tmpdir string
- Path to the temporary directory for the backup job.
- Vmids []string
- A list of guest VM/CT IDs to include in the backup job.
- Zstd int
- Number of zstd threads (0 uses half of available cores).
- all Boolean
- Whether to back up all known guests on the node.
- bwlimit Integer
- I/O bandwidth limit in KiB/s.
- compress String
- The compression algorithm (0, 1, gzip, lzo, or zstd).
- enabled Boolean
- Whether the backup job is enabled.
- exclude
Paths List<String> - A list of paths to exclude from the backup.
- fleecing
Job
Fleecing - Fleecing configuration for the backup job.
- ionice Integer
- I/O priority (0-8).
- lockwait Integer
- Maximum wait time in minutes for the global lock.
- mailnotification String
- Email notification setting (always or failure).
- mailtos List<String>
- A list of email addresses to send notifications to.
- maxfiles Integer
- Deprecated: use pruneBackups instead. Maximum number of backup files per guest.
- mode String
- The backup mode (snapshot, suspend, or stop).
- node String
- The cluster node name to limit the backup job to.
- notes
Template String - Template for notes attached to the backup.
- pbs
Change StringDetection Mode - PBS change detection mode (legacy, data, or metadata).
- performance
Job
Performance - Performance-related settings for the backup job.
- pigz Integer
- Number of pigz threads (0 disables, 1 uses single-threaded gzip).
- pool String
- Limit backup to guests in the specified pool.
- protected_ Boolean
- Whether the backup should be marked as protected.
- prune
Backups Map<String,String> - Retention options as a map of keep policies (e.g. keep-last = "3", keep-weekly = "2").
- remove Boolean
- Whether to remove old backups if there are more than maxfiles.
- repeat
Missed Boolean - Whether to repeat missed backup jobs as soon as possible.
- resource
Id String - The identifier of the backup job.
- schedule String
- Backup schedule in systemd calendar event format.
- script String
- Path to a script to execute before/after the backup job.
- starttime String
- The scheduled start time (HH:MM).
- stdexcludes Boolean
- Whether to exclude common temporary files from the backup.
- stopwait Integer
- Maximum wait time in minutes for a guest to stop.
- storage String
- The storage identifier for the backup.
- tmpdir String
- Path to the temporary directory for the backup job.
- vmids List<String>
- A list of guest VM/CT IDs to include in the backup job.
- zstd Integer
- Number of zstd threads (0 uses half of available cores).
- all boolean
- Whether to back up all known guests on the node.
- bwlimit number
- I/O bandwidth limit in KiB/s.
- compress string
- The compression algorithm (0, 1, gzip, lzo, or zstd).
- enabled boolean
- Whether the backup job is enabled.
- exclude
Paths string[] - A list of paths to exclude from the backup.
- fleecing
Job
Fleecing - Fleecing configuration for the backup job.
- ionice number
- I/O priority (0-8).
- lockwait number
- Maximum wait time in minutes for the global lock.
- mailnotification string
- Email notification setting (always or failure).
- mailtos string[]
- A list of email addresses to send notifications to.
- maxfiles number
- Deprecated: use pruneBackups instead. Maximum number of backup files per guest.
- mode string
- The backup mode (snapshot, suspend, or stop).
- node string
- The cluster node name to limit the backup job to.
- notes
Template string - Template for notes attached to the backup.
- pbs
Change stringDetection Mode - PBS change detection mode (legacy, data, or metadata).
- performance
Job
Performance - Performance-related settings for the backup job.
- pigz number
- Number of pigz threads (0 disables, 1 uses single-threaded gzip).
- pool string
- Limit backup to guests in the specified pool.
- protected boolean
- Whether the backup should be marked as protected.
- prune
Backups {[key: string]: string} - Retention options as a map of keep policies (e.g. keep-last = "3", keep-weekly = "2").
- remove boolean
- Whether to remove old backups if there are more than maxfiles.
- repeat
Missed boolean - Whether to repeat missed backup jobs as soon as possible.
- resource
Id string - The identifier of the backup job.
- schedule string
- Backup schedule in systemd calendar event format.
- script string
- Path to a script to execute before/after the backup job.
- starttime string
- The scheduled start time (HH:MM).
- stdexcludes boolean
- Whether to exclude common temporary files from the backup.
- stopwait number
- Maximum wait time in minutes for a guest to stop.
- storage string
- The storage identifier for the backup.
- tmpdir string
- Path to the temporary directory for the backup job.
- vmids string[]
- A list of guest VM/CT IDs to include in the backup job.
- zstd number
- Number of zstd threads (0 uses half of available cores).
- all bool
- Whether to back up all known guests on the node.
- bwlimit int
- I/O bandwidth limit in KiB/s.
- compress str
- The compression algorithm (0, 1, gzip, lzo, or zstd).
- enabled bool
- Whether the backup job is enabled.
- exclude_
paths Sequence[str] - A list of paths to exclude from the backup.
- fleecing
Job
Fleecing Args - Fleecing configuration for the backup job.
- ionice int
- I/O priority (0-8).
- lockwait int
- Maximum wait time in minutes for the global lock.
- mailnotification str
- Email notification setting (always or failure).
- mailtos Sequence[str]
- A list of email addresses to send notifications to.
- maxfiles int
- Deprecated: use pruneBackups instead. Maximum number of backup files per guest.
- mode str
- The backup mode (snapshot, suspend, or stop).
- node str
- The cluster node name to limit the backup job to.
- notes_
template str - Template for notes attached to the backup.
- pbs_
change_ strdetection_ mode - PBS change detection mode (legacy, data, or metadata).
- performance
Job
Performance Args - Performance-related settings for the backup job.
- pigz int
- Number of pigz threads (0 disables, 1 uses single-threaded gzip).
- pool str
- Limit backup to guests in the specified pool.
- protected bool
- Whether the backup should be marked as protected.
- prune_
backups Mapping[str, str] - Retention options as a map of keep policies (e.g. keep-last = "3", keep-weekly = "2").
- remove bool
- Whether to remove old backups if there are more than maxfiles.
- repeat_
missed bool - Whether to repeat missed backup jobs as soon as possible.
- resource_
id str - The identifier of the backup job.
- schedule str
- Backup schedule in systemd calendar event format.
- script str
- Path to a script to execute before/after the backup job.
- starttime str
- The scheduled start time (HH:MM).
- stdexcludes bool
- Whether to exclude common temporary files from the backup.
- stopwait int
- Maximum wait time in minutes for a guest to stop.
- storage str
- The storage identifier for the backup.
- tmpdir str
- Path to the temporary directory for the backup job.
- vmids Sequence[str]
- A list of guest VM/CT IDs to include in the backup job.
- zstd int
- Number of zstd threads (0 uses half of available cores).
- all Boolean
- Whether to back up all known guests on the node.
- bwlimit Number
- I/O bandwidth limit in KiB/s.
- compress String
- The compression algorithm (0, 1, gzip, lzo, or zstd).
- enabled Boolean
- Whether the backup job is enabled.
- exclude
Paths List<String> - A list of paths to exclude from the backup.
- fleecing Property Map
- Fleecing configuration for the backup job.
- ionice Number
- I/O priority (0-8).
- lockwait Number
- Maximum wait time in minutes for the global lock.
- mailnotification String
- Email notification setting (always or failure).
- mailtos List<String>
- A list of email addresses to send notifications to.
- maxfiles Number
- Deprecated: use pruneBackups instead. Maximum number of backup files per guest.
- mode String
- The backup mode (snapshot, suspend, or stop).
- node String
- The cluster node name to limit the backup job to.
- notes
Template String - Template for notes attached to the backup.
- pbs
Change StringDetection Mode - PBS change detection mode (legacy, data, or metadata).
- performance Property Map
- Performance-related settings for the backup job.
- pigz Number
- Number of pigz threads (0 disables, 1 uses single-threaded gzip).
- pool String
- Limit backup to guests in the specified pool.
- protected Boolean
- Whether the backup should be marked as protected.
- prune
Backups Map<String> - Retention options as a map of keep policies (e.g. keep-last = "3", keep-weekly = "2").
- remove Boolean
- Whether to remove old backups if there are more than maxfiles.
- repeat
Missed Boolean - Whether to repeat missed backup jobs as soon as possible.
- resource
Id String - The identifier of the backup job.
- schedule String
- Backup schedule in systemd calendar event format.
- script String
- Path to a script to execute before/after the backup job.
- starttime String
- The scheduled start time (HH:MM).
- stdexcludes Boolean
- Whether to exclude common temporary files from the backup.
- stopwait Number
- Maximum wait time in minutes for a guest to stop.
- storage String
- The storage identifier for the backup.
- tmpdir String
- Path to the temporary directory for the backup job.
- vmids List<String>
- A list of guest VM/CT IDs to include in the backup job.
- zstd Number
- Number of zstd threads (0 uses half of available cores).
Supporting Types
JobFleecing, JobFleecingArgs
JobPerformance, JobPerformanceArgs
- Max
Workers int - Maximum number of workers for parallel backup.
- Pbs
Entries intMax - Maximum number of entries for PBS catalog.
- Max
Workers int - Maximum number of workers for parallel backup.
- Pbs
Entries intMax - Maximum number of entries for PBS catalog.
- max
Workers Integer - Maximum number of workers for parallel backup.
- pbs
Entries IntegerMax - Maximum number of entries for PBS catalog.
- max
Workers number - Maximum number of workers for parallel backup.
- pbs
Entries numberMax - Maximum number of entries for PBS catalog.
- max_
workers int - Maximum number of workers for parallel backup.
- pbs_
entries_ intmax - Maximum number of entries for PBS catalog.
- max
Workers Number - Maximum number of workers for parallel backup.
- pbs
Entries NumberMax - Maximum number of entries for PBS catalog.
Import
$ pulumi import proxmoxve:backup/job:Job daily_backup daily-backup
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- proxmoxve muhlba91/pulumi-proxmoxve
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
proxmoxTerraform Provider.
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
