Download the PHP package spartakusmd/ovh-vps-snapshot without Composer
On this page you can find all versions of the php package spartakusmd/ovh-vps-snapshot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download spartakusmd/ovh-vps-snapshot
More information about spartakusmd/ovh-vps-snapshot
Files in spartakusmd/ovh-vps-snapshot
Download spartakusmd/ovh-vps-snapshot
More information about spartakusmd/ovh-vps-snapshot
Files in spartakusmd/ovh-vps-snapshot
Vendor spartakusmd
Package ovh-vps-snapshot
Short Description OVH VPS Automated Snapshot (via OVH API)
License MIT
Package ovh-vps-snapshot
Short Description OVH VPS Automated Snapshot (via OVH API)
License MIT
Please rate this library. Is it a good library?
Informations about the package ovh-vps-snapshot
OVH VPS Automated Snapshot
Requirements
Installation
Configuration
First step
Create credentials by clicking here !
Depending on the account zone, the domain may be needed to be customised. Check Supported APIs.
The script requires access to the following API endpoints.
- GET:
/vps/*
- GET:
/vps/*/snapshot
- DELETE:
/vps/*/snapshot
- GET:
/vps/*/tasks/*
- POST:
/vps/*/createSnapshot
Second step
Create snapshot.yml
in root directory with your credentials and the list of your instances/volumes :
Run
php snapshot.php
Dry-run mode (simulates the query) :
php snapshot.php --dry-run
Crontab
You can automate the snapshot creation by creating a crontab making a call to this tool.
Daily:
30 3 * * * php /opt/ovh-vps-snapshot/snapshot.php >> /var/log/ovh-vps-snapshot.log
Each Tuesday:
30 3 * * 2 php /opt/ovh-vps-snapshot/snapshot.php >> /var/log/ovh-vps-snapshot.log
All versions of ovh-vps-snapshot with dependencies
PHP Build Version
Package Version
Requires
ext-json Version
*
ovh/ovh Version ^2.0
symfony/yaml Version ^4.2
monolog/monolog Version ^1.24
ovh/ovh Version ^2.0
symfony/yaml Version ^4.2
monolog/monolog Version ^1.24
The package spartakusmd/ovh-vps-snapshot contains the following files
Loading the files please wait ....