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
|