06-11-2009 12:06 AM
root@ndmpmaster:/ > bplist -C gx03 -t 19 -B -l -b '/dd/v6' drwxrws--- root cgi 4096 Jun 10 08:38 /dd/v6/ drwxrws--- root cgi 4096 Jun 05 00:10 /dd/v6/ drwxrws--- root cgi 4096 Jun 04 00:36 /dd/v6/does anyone know how to get the year associated with these backups?
Solved! Go to Solution.
06-11-2009 01:07 AM
06-11-2009 12:53 AM
06-11-2009 01:07 AM
06-11-2009 01:21 PM
06-11-2009 01:25 PM
06-11-2009 02:48 PM
06-11-2009 05:06 PM
-b | -c | -u Specifies an alternate date and time to be used for printing with the -l option:
-b displays the backup date and time of each file. -c displays the last inode modification date and time for each file.
-u displays the last access date and time of each file.
The default is to display the time of the last modification of each file.
so i am using both the -b and -l flags to emit the backup time of a file from bplist, which i then want to use that date/time to feed into bprestore and invoke a restore.
i don't believe that the date format is changing when the backup time is over 6 months old, and including the year.
06-11-2009 05:38 PM
06-11-2009 10:39 PM
06-11-2009 10:54 PM
06-11-2009 11:05 PM
root@ndmpmaster:/ > ls -ld /dd/dept/syseng/miket drwxrws--- 56 miket cgi 8192 May 8 16:44 /dd/dept/syseng/miket root@ndmpmaster:/ > bplist -C gx03 -t 19 -B -l '/dd/v6/miket' drwxrws--- miket cgi 8192 May 08 16:44 /dd/v6/miket/ drwxrws--- miket cgi 8192 May 08 16:44 /dd/v6/miket/ drwxrws--- miket cgi 8192 May 08 16:44 /dd/v6/miket/ drwxrws--- miket cgi 8192 May 08 16:44 /dd/v6/miket/ drwxrws--- miket cgi 8192 May 08 16:44 /dd/v6/miket/ root@ndmpmaster:/ > bplist -C gx03 -t 19 -B -l -b '/dd/v6/miket' drwxrws--- miket cgi 8192 Jun 10 08:38 /dd/v6/miket/ drwxrws--- miket cgi 8192 Jun 05 00:10 /dd/v6/miket/ drwxrws--- miket cgi 8192 Jun 04 00:36 /dd/v6/miket/ drwxrws--- miket cgi 8192 Jun 02 02:06 /dd/v6/miket/ drwxrws--- miket cgi 8192 May 31 06:06 /dd/v6/miket/ (the volume v6 maps to /dd/dept/syseng in NFS space in this example)
06-12-2009 06:27 AM
06-12-2009 07:43 AM
06-12-2009 02:03 PM
06-12-2009 02:50 PM
my code was ignoring the hours/mintues field completely, and i didn't expect veritas to swap a field around like that (though i guess i should, given what i've seen so far, and how they fiddle with date fields based on various combinations of flags being passed in)This is the traditional timestamp display format for 'ls'. For better or worse, 'bplist' is just copying that format.
06-12-2009 10:35 PM