From: Ray F. <ray...@av...> - 2012-09-25 17:31:25
|
On Tue, Sep 25, 2012 at 10:58 AM, Derek Belcher <dbe...@al...>wrote: > I have been tasked with taking a screenshot for our auditors showing that > we are keeping backups for a year. > > My current scheduling looks like this: > FullKeepCnt = 1,0,1,0,0,1 one full week, one full month, one 64 weeks > > I there a way to display the oldest back up with a time stamp, proving 52+ > weeks? In the command line or GUI? > > Thank you in advance, > --Derek > > This will point you in the right direction. #!/bin/bash for i in `ls /var/lib/BackupPC/pc/` do echo -n "$i " read start end < <(head -1 /var/lib/BackupPC/pc/$i/backups | awk '{print $3, " ", $4}') echo $start | awk '{print strftime("Backup Started %c",$1)}' #echo "( $end - $start ) / 60 " | bc done > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > > -- Ray Frush "Either you are part of the solution T:970.288.6223 or part of the precipitate." -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- Avago Technologies, Inc. | Technical Computing | IT Engineer |