On Sat, May 12, 2007 at 03:28:40PM -0600, Philip Guenther wrote:
> >
> >+ dump=dump
On Solaris this would be ufsdump, and other folk may have different
requirements here too:
> >+ dump_flags=anu -f - -h 0
> >+ encryption=openssl enc -bf -salt
>
> Argh, that what I get for not stating my assumpti
On 5/12/07, Craig Skinner <[EMAIL PROTECTED]> wrote:
...
OK, thanks for the help. These are my results. Basically I could not get
it to work with single quoting when assembling the cmd line:
1) 1st attempt:
dmp_cmd='"${dump}" "-${level}${dump_flags}" "${device}" | gzip -9'
[[ ! -z ${encryption}
On Sat, May 12, 2007 at 01:05:49AM -0600, Philip Guenther wrote:
> Shell syntax, including pipes and redirections, is only special when
> it was part of the literal shell input or part of the arguments to the
> 'eval' builtin. In your case, the shell read the command
> ${dump} ${file}
> and di
-pass file:${conf}.passwd -out"
...
${dump} ${file}
...
Excess arguments to dump: | gzip -9 | openssl enc -bf -salt -pass
file:/etc/dumpster/teak.dumpster_slices.conf.passwd -out
/tmp/tmp.MEuYIi9135/teak/_var_mail_6_Friday.dump.gz.crypto
...
If I run the full command manually,
# scp offsite &
The output:
dump -6anu -f - -h 0 /dev/wd0g | gzip -9 | openssl enc -bf -salt -pass
file:/etc/dumpster/teak.dumpster_slices.conf.passwd -out
/tmp/tmp.MEuYIi9135/teak/_var_mail_6_Friday.dump.gz.crypto
Excess arguments to dump: | gzip -9 | openssl enc -bf -salt -
5 matches
Mail list logo