npm.io
0.73.10 • Published 1 week ago

@xen-orchestra/backups

Licence
AGPL-3.0-or-later
Version
0.73.10
Deps
40
Size
252 kB
Vulns
1
Weekly
0
Stars
984

@xen-orchestra/backups

Package Version License PackagePhobia Node compatibility

Install

Installation of the npm package:

npm install --save @xen-orchestra/backups

Usage

Changing the default backup configuration

This library receives a backup configuration from xo-server or xo-proxy. This configuration is split between multiple properties:

  • config contains values related to the general backup configuration
  • config.defaultSettings, config.vm.defaultSettings and config.metadata.defaultSettings contain values related to backup jobs default settings:
    • config.vm.defaultSettings is related to VM backup jobs (see DEFAULT_XAPI_VM_SETTINGS)
    • config.metadata.defaultSettings is related to metadata backup jobs (see DEFAULT_METADATA_SETTINGS)
    • config.defaultSettings is related to all backup jobs (see DEFAULT_SETTINGS)
    • in case of duplicate value, config.vm.defaultSettings and config.metadata.defaultSettings will prevail over config.defaultSettings, and a defined job setting will prevail over any defaultSettings

Contributions

Contributions are very welcomed, either on the documentation or on the code.

You may:

  • report any issue you've encountered;
  • fork and create a pull request.

License

AGPL-3.0-or-later Vates SAS