Re: [BackupPC-users] [backuppc] Can't find big compressed file

2010-10-18 Thread Bowie Bailey
 On 10/16/2010 11:39 AM, Wayne Walker wrote:
 On Sat, Oct 16, 2010 at 10:15:35AM -0500, Les Mikesell wrote:
 snip
 would have had a chance to change it.  Anyway, one way to find where space 
 is 
 being consumed  is to go through the filesystem starting at /, doing 'du -s 
 *', 
 noting the space used by each subdirectory listed, cd'ing into a large one, 
 and 
 repeating the process until you find where the files are.
 du -a / | sort -n  /root/du-a.sorted

and then go get lunch...  :)

 is my favorite way to do what Les described above, but it 1 swoop.  Look
 at the bottom of the file.  It should be easy to find.

-- 
Bowie

--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
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] [backuppc] Can't find big compressed file

2010-10-18 Thread Wayne Walker
On Mon, Oct 18, 2010 at 11:13:25AM -0400, Bowie Bailey wrote:
  On 10/16/2010 11:39 AM, Wayne Walker wrote:
  On Sat, Oct 16, 2010 at 10:15:35AM -0500, Les Mikesell wrote:
  snip
  would have had a chance to change it.  Anyway, one way to find where space 
  is 
  being consumed  is to go through the filesystem starting at /, doing 'du 
  -s *', 
  noting the space used by each subdirectory listed, cd'ing into a large 
  one, and 
  repeating the process until you find where the files are.
  du -a / | sort -n  /root/du-a.sorted
 
 and then go get lunch...  :)
True, takes 6 hours on my backuppc server.

-- 

Wayne Walker
wwal...@solid-constructs.com
(512) 633-8076
Senior Consultant
Solid Constructs, LLC

--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
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] Yum to Tar

2010-10-18 Thread Timothy Omer
On 17 October 2010 20:38, B. Alexander stor...@gmail.com wrote:

 Timothy,

 Its really fairly simple to set up an rpm build environment. First, you
 need a .rpmmacros that will live in your home directory. Say, for example,
 your home directory is in /home/tomer, your .rpmmacros file would look like:

 %_topdir /home/tomer/rpm
 %_tmppath /var/tmp
 #%debug_package %{nil}

 %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}

 Its pretty basic, but should get the rpm build done.

 Next, you need to create the following directory tree:

 /home/tomer
- rpm
- BUILD
- RPMS
- SOURCES
- SPECS
- SRPMS

 Next, get the srpm of backuppc-3.1.0 and install it. It should install to
 the /home/tomer/rpm tree (e.g. the tarball in SOURCES and the spec file in
 SPECS).

 Place the tarball for backuppc-3.2.0 into SOURCES.

 Edit the backuppc spec file, pointing the source filename to the 3.2.0 file
 you just copied to SOURCES. Also make sure you remove the files from the
 %files section near the bottom. We will be filling this back in later.

 Once you are confident you have the spec file in decent shape, you want to
 run rpmbuild. I do it in stages, taking each section individually. Do not
 proceed to the next step until the current one completes error free:

 rpmbuild -bp backuppc.spec - this will run the %prep section
 rpmbuild -bc backuppc.spec - this will run the %prep and %build section
 rpmbuild -bi backuppc.spec - this will run the %prep, %build and %install
 section

 At this point, there will be a list of files that are not included in the
 spec file. Cut and paste these into the %files section of the spec file,
 then run the rpmbuild -bi again. You should come out with no errors.

 rpmbuild -ba backuppc.spec - this will run the complete build, generate
 .rpm and .srpm files. You can then install the rpm from
 /home/tomer/rpm/RPMS/arch, or copy it to your backuppc box and install it
 there.

 The instructions are pretty generic, but should point you in the right
 direction. I am a Debian guy, but have done the odd rpm in my day. :)

 HTH,
 --b



 On Fri, Oct 15, 2010 at 9:44 AM, Timothy Omer t...@twoit.co.uk wrote:

 CentOS release 5.4 (Final)
 BackupPC 3.1.0 via Yum

 Hey all,

 I installed BackupPC via Yum on my CentOS box, I would like to move to
 the most recent version and therefore to the tar install. Looking over
 the docs I see warnings about mixing Yum and Tar.

 What is the best method for me to upgrade, complete Yum uninstall and
 Tar install. Will I keep all my current config, clients and backups

 If anyone has done this and can provide some direction would be very
 helpful.

 Thank you!


 --
 Download new Adobe(R) Flash(R) Builder(TM) 4
 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
 Flex(R) Builder(TM)) enable the development of rich applications that run
 across multiple browsers and platforms. Download your free trials today!
 http://p.sf.net/sfu/adobe-dev2dev
 ___
 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/




 --
 Download new Adobe(R) Flash(R) Builder(TM) 4
 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
 Flex(R) Builder(TM)) enable the development of rich applications that run
 across multiple browsers and platforms. Download your free trials today!
 http://p.sf.net/sfu/adobe-dev2dev
 ___
 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/


Thanks for your comments guys, I do want to avoid the RPM path as I dont
really want to add an extra layer of steps when installing, from Tar is fine
for my needs, I just need to be sure I know what files I must restore.

Looking at the Docs I believe the ConfDir holds all that I must restore. I
anyone believes I'm missing something please do shout!

Thanks
--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:

[BackupPC-users] BackupPC Graph at status page

2010-10-18 Thread MASTEQ
Hi everyone,

could anyone tell me why the graph function at the status page (at the start) 
doenst work correctly? How can i setup this? I can just see the graphs, but 
there ist no content inside

Can anyone help me?

+--
|This was sent by thjor...@gmx.de via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
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] Nightly script trigger?

2010-10-18 Thread Tod Detre
Is there a way (other than editing the code) to trigger a script after
BackupPC_Nightly finishes? We are setting up an off-site copy of our
pool and I'd like to trigger this right after the Nightly script
finishes. I can just set up a cronjob for a time that all of the
backups are likely to be finished, but having BackupPC do it
automatically would be nice.

--Tod

--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
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] New release of BackupPC_deleteBackup - who can put it into the wiki?

2010-10-18 Thread Matthias Meyer
Jeffrey J. Kosowsky wrote:

 Matthias Meyer wrote at about 22:04:42 +0200 on Sunday, October 10, 2010:
   Robin Lee Powell wrote:
   
On Sun, Dec 06, 2009 at 01:13:57AM +0100, Matthias Meyer wrote:
Hi,

I have a new release of the BackupPC_deleteBackup script.
Unfortunately I can't put it into the wiki
   
  
(http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=How_to_delete_backups).
Jeffrey would do that but I didn't reach him via email :-(
 
 Sorry - I didn't receive any such email. Probably the best way to
 reach me is via the mailing list if email fails.
 
 Of course, Matthias is the original owner -- I just added a few tweaks
 ;)
 
 For my own internalversion control, can you tell me if any behaviors
 changed other than adding --remove
 Note I did a diff and noticed a fair number of changes but wasn't sure
 which are cosmetic, which are bug fixes, which are polish and
 which are significant. The reason I am asking is that I notice at
 least one change that would break the script on my
 install. Specifically, the Fedora package version stores the config in
 /etc/BackupPC while you changed it to /etc/backuppc. For this change
 maybe the path could look both places or maybe there should be a
 user-defined variable at the top of the script.
 
 Beyond that, I was wondering whether any of the fixes or changes
 may similarly work on some systems but cause breaks on others.
 
Hi Jeffrey,

All improvements which was provided in the wiki are included in this new
release.

In addition I've added:
- remove XferLOG.number[.z] together with backup number
- --remove will remove a host from the /etc/backuppc/hosts as well as all of
his backups
- (today) look for /etc/BackupPC as well as for /etc/backuppc

All the rest from a diff should be cosmetics or changes which implemented
not from me.


So I would believe you can change the wiki text into:

How to delete backups from the archive:
Put this script somewhere in your path. It includes usage information when 
run without arguments.

It will remove incremental backups too, if a full backup should be removed 
where the incrementals based on. The incrementals will also be removed if 
they are filled. Here is room for improvement :-)

FreeBSD
if you want to use BackupPC on a FreeBSD system, you have to change 
the 'stat' calls. Change the two occurencies of the line: 

BackupTime=`stat -c %y 
$TopDir/pc/$client/$BackupNumber/backupInfo | awk '{print $1}'`

into 

BackupTime=`stat -f %Sm -t %Y-%m-%d 
$TopDir/pc/$client/$BackupNumber/backupInfo`

br
Matthias
-- 
Don't Panic


BackupPC_deleteBackup.sh
Description: application/shellscript
--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev___
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/