Re: [Veritas-bu] changing the retention period for an image (not working)
2011-04-27 16:13:37
I thought that my eyes had problem. I could not see the missing digit. :)
I think that there is an option to change the length of the columns, but I
do not remember.
It is better to use -l instead -L (bpimmedia -l -policy RMAN_dev_ddb2
-client dev-dbrac2 -sl Full|grep IMAGE)
Or use the command bpimagelist -idonly -policy RMAN_dev_ddb2 -client
dev-dbrac2 -sl Full
Stefanos
-----Original Message-----
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Justin
Piszcz
Sent: Wednesday, April 27, 2011 10:31 PM
To: Nate Sanders
Cc: VERITAS-BU AT MAILMAN.ENG.AUBURN DOT EDU
Subject: Re: [Veritas-bu] changing the retention period for an image (not
working)
On Wed, 27 Apr 2011, Nate Sanders wrote:
>
>> $ sudo bpimmedia -L -policy RMAN_dev_ddb2 -client dev-dbrac2 -sl Full
>> -d 03/28/2011 -e 03/28/2011
>> Password:
>>
>> Backup-ID Policy Type RL Files C E T PC Expires
>> Copy Frag KB Type Density FNum Off Host DWO MPX
>> Expires RL MediaID
>>
----------------------------------------------------------------------------
--------------------
>> dev-dbrac2_130129664 RMAN_dev_d FULL 3 0 N N R 0 02:17
>> 04/28/2011
>>
>>
>> $ sudo bpexpdate -recalculate -backupid dev-dbrac2_130129664 -ret 5
>> Are you SURE you want to recalculate expiration dates on all images
>> that meet the following criteria:
>> backupid dev-dbrac2_130129664
>> retention will be changed to 5(3 months)
>>
>> Continue?(y/n)y
>> no entity was found
>
> So uh, what did I not do correctly.
>
> --
> Nate Sanders Sr. System Administrator
> Digital Motorworks (512) 692 - 1038
Hi,
unix time: 130129664 ; std time: 02/14/1974 23:07:44
You are missing a digit at the end of your epoch.
unix time: 1301296640 ; std time: 03/28/2011 03:17:20
You need to get the image name with the full date, you lost a digit at the
end :)
Justin.
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|
|
|