Skip to content

rdrew4/cfops

develop
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 469 commits behind vmware-archive:develop.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

cfops wercker status GoDoc

Version Compatibility

(as of release v0.0.61+)

This is tested and known to work for Ops Manager v1.4

This is tested and known to work for ER v1.4

Overview

This is simply an automation that is based on the supported way to back up Pivotal Cloud Foundry (http://docs.pivotal.io/pivotalcf/customizing/backup-settings.html).

It may be extended in the future to support greater breadth of functionality.

Install

Download the latest version here: https://github.com/pivotalservices/cfops/releases

Contributing

PRs welcome.

Usage

For example you can try the various commands, args and flags (and --help documentation) that are currently proposed, such as:

$ ./cfops -help

$ ./cfops backup

$ ./cfops restore

etc.

Sample help output:

    $ ./cfops
NAME:
   cfops - Cloud Foundry Operations tool for IaaS installation, deployment, and management automation

USAGE:
   cfops [global options] command [command options] [arguments...]

VERSION:
   0.0.0

AUTHOR(S):

COMMANDS:
   backup, b	backup -host <host> -u <usr> -p <pass> --tp <tpass> -d <dir> --tl 'opsmanager, er'
   restore, r	restore --host <host> -u <usr> -p <pass> --tp <tpass> -d <dir>  --tl 'opsmanager, er'
   help, h	Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h		show help
   --version, -v	print the version
    
    
    
    $ ./cfops help backup
NAME:
   backup - backup -host <host> -u <usr> -p <pass> --tp <tpass> -d <dir> --tl 'opsmanager, er'

USAGE:
   command backup [command options] [arguments...]

DESCRIPTION:
   backup a Cloud Foundry deployment, including Ops Manager configuration, databases, and blob store

OPTIONS:
   --hostname, --host 		hostname for Ops Manager
   --username, -u 		username for Ops Manager
   --password, -p 		password for Ops Manager
   --tempestpassword, --tp 	password for the Ops Manager tempest user
   --destination, -d 		directory of the Cloud Foundry backup archive
   --tilelist, --tl 		a csv list of the tiles you would like to run the operation on
   
   $ ./cfops help restore
NAME:
   restore - restore -host <host> -u <usr> -p <pass> --tp <tpass> -d <dir> --tl 'opsmanager, er'

USAGE:
   command restore [command options] [arguments...]

DESCRIPTION:
   restore a Cloud Foundry deployment, including Ops Manager configuration, databases, and blob store

OPTIONS:
   --hostname, --host 		hostname for Ops Manager
   --username, -u 		username for Ops Manager
   --password, -p 		password for Ops Manager
   --tempestpassword, --tp 	password for the Ops Manager tempest user
   --destination, -d 		directory of the Cloud Foundry backup archive
   --tilelist, --tl 		a csv list of the tiles you would like to run the operation on

About

This is simply an automation that is based on the supported way to back up Pivotal Cloud Foundry

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 82.5%
  • Shell 17.5%