Skip to content

Tiendeo/openstack_backups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Openstack backups

Openstack CLI wrapper written in Python for backups creation. The process is defined to create an image of the server a snapshots of the attached volumes.

Create Image

./create-image.py - creates a snapshot of a selected server.

Required:

    -s, --server : Name of the target server/instance

Optional:

    -c, --cloud : Openstack cloud name to get configuration from clouds.yaml
    -r, --region : Openstack region where the server name is running

Execute it

Example in docker file of a potential execution:

version: '3'
services:
openstack:
    image: ismaelperal/openstack_backups:release-1.0.0
    volumes:
    - ~/clouds.yaml:/etc/openstack/clouds.yaml:ro
    command:
    - python
    - create-image.py
    - "-s"
    - MY_SERVER
    - "-c"
    - ovh
    - "-r"
    - GRA1

About

Python Openstack CLI wrapper for creating backups

Resources

License

Stars

Watchers

Forks

Packages

No packages published