beautypg.com

Routing input, Working with, The cli environment (tree) – Dell Acceleration Appliances for Databases User Manual

Page 152

background image

Routing Input

Some commands require files as input. Here are some examples:

Task

Example

Description

Restore from a config

file in the user's home

directory

restore my_config.xml

Reads and applies the

configuration in the file. Tab

completion is available for

choosing the file.

Restore from a USB

drive

restore --input-usb my_config.xml

Reads a configuration from the

USB drive. Tab completion is

available for the files on the USB

drive; you are limited to choosing

from files available there.

Restore from an scp

source

restore --input-scp

user@host:my_config.xml

Reads the configuration using

Unix security copy; you will be

prompted for a password.

Restore from a

Windows share

restore --input-share

domain/user@host/shareName/my_config.xml

Reads the configuration from a

Windows share; you will be

prompted for a password.

Restore from an http

URL

restore --input-url

http://host:port/my_config.xml

Uses the http protocol to read

the configuration from the given

host/port and filename.

Restore from an ftp

URL

restore --input-url

ftp://user:password@host/path/my_config.

xml

Uses the ftp protocol to read a

configuration file. You must

specify the password in the URL.

152