Re: error fbackup to disk, need more eyes...

From: Ken Green (Ken.Green_at_kgcc.co.uk)
Date: 07/30/03


Date: Wed, 30 Jul 2003 09:24:38 +0100

LHradowy wrote:

> I am trying to get fbackup to work to disk and I still get the following
> error...
>
> fbackup(1403): at least one output file must be specified
> usage: fbackup -f device [-f device] ... [-0-9] [-nsuvyAEl]
> [-i path] ... [-e path] ... [-g graph] ... [-d path] [-I path] [-V
> path] [-c config]
> usage: fbackup -f device [-f device] ... -R restart [-nsuvyAEl]
> [-d path] [-I path] [-V path] [-c config]
>
> archlog_backup_to_tape[55]: -f: not found
>
> This is what I am using to create the fbackup...
> if /etc/fbackup -i ./oracle/backup \ ## There are files in this directory
> -e /opt/app/oracle/backup

____________________________________^ you need another "\"
otherwise the newline terminate the command.

Hence fbackup is complaining these is no output file, and the
shell is complaining there is no "-f" command.

>
> -f /opt/app/oracle/backup/archive
> then
> sync
> fi

I can't think of any reason to wrap this lot up in a if statement and then
issue a sync if the backup works.

Cheers

Ken



Relevant Pages

  • Re: error fbackup to disk, need more eyes...
    ... Hence fbackup is complaining these is no output file, ... shell is complaining there is no "-f" command. ...
    (comp.sys.hp.hpux)
  • Process header record and concatenate files
    ... Concatenate the input files into a single output file. ... records reported in the header, ... Specify the list of input files on the command line. ... rewind to beginning of file handle and concat to ...
    (comp.lang.perl.misc)
  • Re: Process header record and concatenate files
    ... Concatenate the input files into a single output file. ... records reported in the header, ... Specify the list of input files on the command line. ... rewind to beginning of file handle and concat to ...
    (comp.lang.perl.misc)
  • SMTP: How to configure? Cant get Email from AS/400
    ... When sending mail to internet user I got successful message. ... I added the command: STRSBS QSNADS because the distribution queue status ... Member DSTLINFO added to output file DSTLINFO in library QTEMP. ...
    (comp.sys.ibm.as400.misc)
  • Re: Script help: convert music files to be compatible with MPD
    ... command will be written to it. ... I tried it with both> and>> and with the file both left and right of the escaped semicolon. ... It looks as if find redirects its own output file or pipe and then runs external commands with its outputs spliced onto its own output channels. ... cat /dev/null> $@ ...
    (uk.comp.os.linux)