jciarlette
Technical User
When I try to script the browse or retention time using the save command, I am unable to use "1 year" type of time date.
The command I am setting a variable to is:
/usr/bin/save -s legatos -c aixsn1.edward.org -b dd860n -w 9/28/2015 -y 9/28/2015
Here is the whole script:
set -x
backup='/usr/bin/save -s legatos -c aixsn1.edward.org -b dd860n -w "1 year" -y "1 year"'
echo $backup
$backup /home/jciarlet/
What I get back is:
6893:save: invalid browse time: "1
For some reason "1 year" is not getting passed correctly to the save command.
When I use mm/dd/year format it works without issue.
What is going on?
The command I am setting a variable to is:
/usr/bin/save -s legatos -c aixsn1.edward.org -b dd860n -w 9/28/2015 -y 9/28/2015
Here is the whole script:
set -x
backup='/usr/bin/save -s legatos -c aixsn1.edward.org -b dd860n -w "1 year" -y "1 year"'
echo $backup
$backup /home/jciarlet/
What I get back is:
6893:save: invalid browse time: "1
For some reason "1 year" is not getting passed correctly to the save command.
When I use mm/dd/year format it works without issue.
What is going on?