Re: [BackupPC-users] Feature Request: Link to latest Full
My solution for the moment is to do the following: --- DumpPostUserCmd --- /usr/local/bin/link-full-backup.sh $host --- end --- --- file named link-full-backup.sh --- #!/bin/bash HOST=${1} TOPDIR="/array/backuppc-01/pc" if [ -d ${TOPDIR}/${HOST} ] ; then cd ${TOPDIR}/${HOST} ln -sfT $(cat backups | grep full \ | tail -1 | awk '{ print $1 }') last-full fi --- end --- Curious what is the largest installation of BackupPC, anyone know? -Yazz Atlas Craig Barratt wrote: > Yazz writes: > >> I may be able to just do it with $DumpPostUserCmd but I haven't tested >> that yet. I just think it would be nicer to have it as a built in option. >> >> /bin/ln -sf $topDir/pc/$host/$(/bin/cat $topDir/pc/$host/backups \ >> | /bin/grep full | /bin/sort -n | /usr/bin/tail -1 \ >> | /bin/awk '{ print $1 }') $topDir/pc/$host/last-full > > It's an interesting idea and I'll add it to the todo list for > consideration. > > Craig - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Feature Request: Link to latest Full
How difficult would it be to have BackupPC create a link to the last Full backup. The reason this would be handy to me is I'm required to backup to tape to a system I don't have much control over. I just want to tell the backup service a simple directorie to grab. I would like to be able to tell them to backup $Conf{TopDir}/pc/example.com/last-full Which would link to $Conf{TopDir}/pc/example.com/95 if that was the last Full backup. I hope to never uses there backup service to do a restore but for off site backup compliance I need to. I'm trying to save some bandwidth by not backing up everything I don't need. (I have over 240 clients and about 7T used under $Conf{TopDir} getting that off site has been a huge issue) I may be able to just do it with $DumpPostUserCmd but I haven't tested that yet. I just think it would be nicer to have it as a built in option. /bin/ln -sf $topDir/pc/$host/$(/bin/cat $topDir/pc/$host/backups \ | /bin/grep full | /bin/sort -n | /usr/bin/tail -1 \ | /bin/awk '{ print $1 }') $topDir/pc/$host/last-full -Yazz - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/