Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tlaanemaa committed Apr 27, 2019
1 parent 700e54f commit a7f0725
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -28,12 +28,12 @@ _When run with `restore` operation, backup-docker will expect these folders to e
- `backup-docker backup -c banana` - Will backup only the container named "banana" and all of it's volumes
- `backup-docker restore -c banana` - Will restore only the container named "banana" and all of it's volumes
- `backup-docker restore -c banana --only=containers` - Will restore only the container named "banana" and not it's volumes
- `backup-docker restore -c banana --only=volumes` - Will restore the volumes attached to the container named "banana" but not the container itself. The volumes will be taken from the backed up inspection file of the container
- `backup-docker restore -c banana --only=volumes` - Will restore the volumes attached to the container named "banana" but not the container itself. The volumes will be taken from the backed up inspection file of the container. The container itself must already exist in the docker instance

## All options
- `--operation enum` - Operation to perform, can be passed without the name as the first argument. Options: backup | restore
- `-c, --containers string[]` - Optional names of the containers to backup or restore. Defaults to all containers
- `-d, --directory string` - Optional directory name to save to or look for container backups. Defaults to current working directory
- `-s, --socketPath string` - Optional Docker socket path. Defaults to `/var/run/docker.sock`
- `-o, --only enum` - Optional to indicate that only containers or volumes should be backed up or restored. Defaults to both. Options: containers | volumes
- `-h, --help` - Prints this help page
- `-h, --help` - Prints this help page

0 comments on commit a7f0725

Please sign in to comment.