Re: [BackupPC-users] Feature Request: Link to latest Full

2008-11-07 Thread Tino Schwarze
On Fri, Nov 07, 2008 at 03:16:23PM -0800, Rich Rauenzahn wrote:

> > If you want to send an archive of a backup to tape that you can  
> > restore (without BackupPC), check out 'Archive Functions' in the  
> > BackupPC documentation: 
> > http://backuppc.sourceforge.net/faq/BackupPC.html#archive_functions
> >
> >   
> I've always wished the BackupPC_archiveHost command had an option for 
> the "latest" backup.

It has, just specify -1 as the backup number. (-2 is the second most
recent backup.) The -1 will become part of the file name though, so some
special support would be useful.

HTH,

Tino.

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."

www.lichtkreis-chemnitz.de
www.craniosacralzentrum.de

-
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/


Re: [BackupPC-users] Feature Request: Link to latest Full

2008-11-07 Thread Rich Rauenzahn


Nils Breunese (Lemonbit) wrote:
> If you want to send an archive of a backup to tape that you can  
> restore (without BackupPC), check out 'Archive Functions' in the  
> BackupPC documentation: 
> http://backuppc.sourceforge.net/faq/BackupPC.html#archive_functions
>
> Nils Breunese.
>
>
>   
I've always wished the BackupPC_archiveHost command had an option for 
the "latest" backup.

Rich


-
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/


Re: [BackupPC-users] Feature Request: Link to latest Full

2008-10-28 Thread Adam Goryachev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Yazz D. Atlas wrote:
> 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)

Is that a off-site backup that uses any sort of rsync like algorithm to
minimise the bandwidth used?

If it is, you might like to get it to backup the cpool/pool and then use
the pctar utility (forget it's name) which AFAIK creates a tar file full
of the links. So your offsite backs up the pool + the small tar file.
That way you could restore *ALL* your backup data

PS, I don't know how truly practical the above is, but it may be an
option? Can anyone comment on whether that might be a useful way to get
an off-site copy of your backuppc server?

Regards,
Adam

- --
Adam Goryachev
Website Managers
Ph: +61 2 8304 [EMAIL PROTECTED]
Fax: +61 2 8304 0001www.websitemanagers.com.au
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI9AH6GyoxogrTyiURAkHuAJ43NT2BFoxeq1FBCjE1ZCAyT/dEhQCeK883
G/K3pAW9Azkssr9MAmUOv44=
=6Kaj
-END PGP SIGNATURE-

-
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/


Re: [BackupPC-users] Feature Request: Link to latest Full

2008-10-16 Thread Yazz D. Atlas
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/


Re: [BackupPC-users] Feature Request: Link to latest Full

2008-10-16 Thread Craig Barratt
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/


Re: [BackupPC-users] Feature Request: Link to latest Full

2008-10-14 Thread Nils Breunese (Lemonbit)
Yazz D. Atlas wrote:

> 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

If you want to send an archive of a backup to tape that you can  
restore (without BackupPC), check out 'Archive Functions' in the  
BackupPC documentation: 
http://backuppc.sourceforge.net/faq/BackupPC.html#archive_functions

Nils Breunese.

-
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/


Re: [BackupPC-users] Feature Request: Link to latest Full

2008-10-13 Thread Adam Goryachev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Yazz D. Atlas wrote:
> 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)

Is that a off-site backup that uses any sort of rsync like algorithm to
minimise the bandwidth used?

If it is, you might like to get it to backup the cpool/pool and then use
the pctar utility (forget it's name) which AFAIK creates a tar file full
of the links. So your offsite backs up the pool + the small tar file.
That way you could restore *ALL* your backup data

PS, I don't know how truly practical the above is, but it may be an
option? Can anyone comment on whether that might be a useful way to get
an off-site copy of your backuppc server?

Regards,
Adam

- --
Adam Goryachev
Website Managers
www.websitemanagers.com.au
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI9AIJGyoxogrTyiURAuQlAJ9jAKCuuYqPQrcay+evNJ9TDzUjagCgoDP2
sYAHYqp7K9GjMufM2yuy/t0=
=UoFC
-END PGP SIGNATURE-

-
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

2008-10-13 Thread Yazz D. Atlas
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/