Re: [BackupPC-users] Deleting folders

2007-03-08 Thread Tino Schwarze
On Wed, Mar 07, 2007 at 10:49:50PM +0100, Steffen Heil wrote:

 Is is safe to delete a special folder from each and every backup? That
 folder should never have gotten backed up.

Yes. I did that several times when initially configuring backups for
hosts and BackupPC also copied some db spaces and db dumps. You might
have to wait for the next run of BackupPC_nightly so that the files are
removed from the pool.

HTH,

Tino.

-- 
www.quantenfeuerwerk.de
www.spiritualdesign-chemnitz.de
www.lebensraum11.de

Tino Schwarze * Parkstraße 17h * 09120 Chemnitz

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] how to run script

2007-03-08 Thread Guy Malacrida

Thank you Nils for your help: I learned something!
Thing is is does not work for user backuppc!!! I keep getting
authentication failure (although this command works, I tried it with other
users on the system)
And now to add insult to injury, I get this error message: Can't find
compress::zlib
I think I'll start another thread on this one!

2007/3/7, Nils Breunese (Lemonbit) [EMAIL PROTECTED]:


Guy Malacrida wrote:

 Thanks for that but as per Backuppc' instructions this would
 increase drastically the storage space up to when the full circle
 is achieved and the non-compressed files are deleted from the pool.
 That is why the program recommends disabling the backup, change the
 compression value to 0, run the script that should move the files
 to the compressed pool and only then restart the backup process.
 This is what I'd like to do

To get a bash shell as user backuppc (which normally doesn't have a
shell) you'd do something like the following:

 # su -s /bin/bash - backuppc

(Use sudo where applicable. :o) )

Nils Breunese.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/






--
Guy
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] how to run script

2007-03-08 Thread Nils Breunese (Lemonbit)

Guy Malacrida wrote:

And now to add insult to injury, I get this error message: Can't  
find compress::zlib

I think I'll start another thread on this one!


If you followed the installation instructions you should have come  
across the Requirements section [0] which tells you to install a  
couple of Perl modules, Compress::Zlib being one of them.


Nils Breunese.

[0] http://backuppc.sourceforge.net/faq/BackupPC.html#requirements




PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] anyone running version 3.0.0 in DEBIAN with no problems?

2007-03-08 Thread Filipe Silva

I have already talked about this in some posts, some things were solved
other don't...

I have updated from 2.1.1 deb package, to 3.0.0 tar.gz

Why the is no index.cgi in the source cgi-bin dir? I found out that my
index.cgi is the same from the 2.1.1 package...

almost everything is working now except the buttons in webif to start
full/incr backups, and edit config files...

I think now I discovered why. it's not permissions, it is locations...
I have config.pl in /etc/BackupPC/ and per pc config in
/etc/BackupPC/pc/$host.pl
it is the normal setup right?

so why do I see this in EditConfig.pm (line 348):

sub action
{
   my $pc_dir = $TopDir/pc;
   my($content, $contentHidden, $newConf, $override, $mainConf, $hostConf);
   my $errors = {};

   my $host = $In{host};
   my $menu = $In{menu} || server;
   my $hosts_path = $Hosts;
   my $config_path = $host eq  ? $TopDir/conf/config.pl
 : $TopDir/pc/$host/config.pl;


I investigate more and I found that there is a deb package of version 3.0.0.
so I looked inside the various files and compared to mine... also I saw the
diff.gz but i don't know how to read it and it is really big. :o
there is a index.cgi in this .deb package but none in tar.gz...

what should I do now?
I moved my host config files from TopDIr to /etc/backuppc some tima ago,
then I moved to /etc/BackupPC/pc/* will I nedd to move them again?
should I install the unstable .deb package?
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] anyone running version 3.0.0 in DEBIAN with no problems?

2007-03-08 Thread Nils Breunese (Lemonbit)

Filipe Silva wrote:


I have updated from 2.1.1 deb package, to 3.0.0 tar.gz

Why the is no index.cgi in the source cgi-bin dir? I found out that  
my index.cgi is the same from the 2.1.1 package...


There is no index.cgi in the source distribution, that was something  
added by the Debian packager. The normal location to reach the  
BackupPC web interface is /cgi-bin/BackupPC_Admin.


Nils Breunese.


PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Howto backup BackupPC server

2007-03-08 Thread Damien Chrisment
Fabio Milano wrote:

Hi,

 How do I backup my BackupPC server?
 
 Can I use one BackupPC server to backup another BackupPC server?
 
 Scenario I need to solve is:
 
 Servers backup to BackupPC server at office, and BackupPC server needs
 to be backed-up to offsite server.

We worked on this problem in order to be able to offer a remote backup
of backuppc. The idea is : we use rsync to backup the main pool of file
in backuppc and we create a script for reconstructing the hardlink for
each pc. Then we just send these reconstruction files to the remote
location.

For more information and to get the script you should read this post :
http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg01182.html

Regards,
Damien
-- 
Need an OpenSource and powerfull GUI for OpenLDAP?
= http://lds.linbox.org/
Need a free backup server?
= http://lrs.linbox.org/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] if system is on UTC...

2007-03-08 Thread Jonathan Dill
Hello folks,

For Linux / Unix servers, it is kind of tempting to just change system 
time to UTC, forget about future modifications to DST, and get used to 
making sense of the logs in UTC time.  However, things like cron jobs 
and BackupPC blackout times are now going to be time shifted as if UTC 
is now local time e.g. cron job that used to run at 2am EST is now 
running at 2am UTC or 9pm EST or 10pm EDT.

Is there a way in BackupPC to make it interpret blackout times in local 
timezone when system clock is set to UTC?  Or do you need to time shift 
blackout times for your local timezone (technically will be an hour 
off during part of the year depending on how you look at it).

FWIW for e-mail, at least if you use Thunderbird, it seems to make sense 
of the timezone and show the correct time and date for local time even 
if the server that sent the e-mail uses UTC.  I'm not sure how other 
e-mail clients fare.

Thanks,
Jonathan


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] if system is on UTC...

2007-03-08 Thread Jonathan Dill
Paul Fox wrote:
 why would any of this be easier than letting the system track DST
 itself?  even on my ancient RH7.2-based server, updating the
 zoneinfo files took me all of 5 minutes.  and for anything more
 modern, a semi-automatic upgrade (i.e. apt-get update; apt-get
 upgrade) took care of it quite a long time ago without me even
 noticing.
   
The pain is not doing the patches (which have all been done anyway) the 
pain is all of the official reporting, perhaps that is not required in 
your environment.  It would be much simpler to say, all of the servers 
are configured to use UTC and will not be affected by DST changes.  
Then in future, it does not matter whatever decisions the politicians 
make about the observance or non-observance of DST, no correction is 
necessary.  Workstations and servers where users login are a different 
matter, but for headless boxes it would make life simpler.  Of course, 
Windows is a different can of worms--it's possible to set RTC to UTC, 
but it is not consistently handled by the OS and applications.

Jonathan


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] anyone running version 3.0.0 in DEBIAN with no problems?

2007-03-08 Thread Holger Parplies
Hi,

Filipe Silva wrote on 08.03.2007 at 12:13:04 [[BackupPC-users] anyone running 
version 3.0.0 in DEBIAN with no problems?]:
 I have updated from 2.1.1 deb package, to 3.0.0 tar.gz

I hope you at least did that by removing the package and then reinstalling?
It's always a bad idea to take something which is under the control of your
package management system and randomly change file contents, paths etc.

 should I install the unstable .deb package?

Yes. As far as I can figure out without actually installing apache et al. on
my not-really-so-test system it doesn't pull in any dependencies not
satisfiable within sarge. If you don't want an entry for sid in your
sources.list, download the package (eg. 'rsync
ftp.de.debian.org::debian/pool/main/b/backuppc/backuppc_3.0.0-2_all.deb /tmp'
- you could have used wget, but we all love rsync, don't we? ;-), install it
with 'dpkg -i /tmp/backuppc_3.0.0-2_all.deb' and, if that should complain
about failed dependencies, install those with 'apt-get -f install' (which
should then also configure the backuppc package and exit successfully).

Of course, if you updated your 2.1.1 deb to 3.0.0 with the tar installer,
things may be more difficult. Apparently you've moved around your
configuration, so that's probably the case. For a clean package *update*,
everything should probably look exactly like it does with the version you're
updating *from* cleanly installed before you attempt the update (that's 2.1.1
in your case).

Hint: have a look at /var/lib/dpkg/info/backuppc.list ...

Regards,
Holger

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] if system is on UTC...

2007-03-08 Thread Les Mikesell
Jonathan Dill wrote:

 why would any of this be easier than letting the system track DST
 itself?  even on my ancient RH7.2-based server, updating the
 zoneinfo files took me all of 5 minutes.  and for anything more
 modern, a semi-automatic upgrade (i.e. apt-get update; apt-get
 upgrade) took care of it quite a long time ago without me even
 noticing.
   
 The pain is not doing the patches (which have all been done anyway) the 
 pain is all of the official reporting, perhaps that is not required in 
 your environment.  It would be much simpler to say, all of the servers 
 are configured to use UTC and will not be affected by DST changes.  
 Then in future, it does not matter whatever decisions the politicians 
 make about the observance or non-observance of DST, no correction is 
 necessary. 

Internally, Linux (probably all posix-like systems) runs in UTC and just 
computes the offset to local time when something wants to display it 
that way, and it allows for the fact that different users can be in 
different time zones on the same machine.  The only difference it makes 
when you set that option about UTC when you install is that it sets your 
motherboard hardware clock the way you say.

 Workstations and servers where users login are a different 
 matter, but for headless boxes it would make life simpler.  Of course, 
 Windows is a different can of worms--it's possible to set RTC to UTC, 
 but it is not consistently handled by the OS and applications.

It was well known before computers were invented that local time 
variations are up to the whims of local politicians.  The only sensible 
way to handle it is with easily replaceable tables of offsets from UTC.

-- 
   Les Mikesell
[EMAIL PROTECTED]


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Ping not working

2007-03-08 Thread Arjun Mukerji
The server claims that it is unable to ping any of the hosts defined in the 
hosts file. However, when I use `nmblookup hostname`, the IP address that is 
displayed corresponds to the host, and a subsequent pinging of that IP address 
is successful. What, then, could the problem be? These hosts are all on static 
IP's, and are meant to be looked up via their NetBIOS name, as far as I can 
tell.

I am using BackupPC 2.1.2, perl-5.8.4, nmblookup 3.0.1.4a-Debian.

Thank you,
Arjun 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Ping not working

2007-03-08 Thread Craig Barratt
Arjun writes:

 The server claims that it is unable to ping any of the hosts defined
 in the hosts file. However, when I use `nmblookup hostname`, the IP
 address that is displayed corresponds to the host, and a subsequent
 pinging of that IP address is successful. What, then, could the
 problem be? These hosts are all on static IP's, and are meant to be
 looked up via their NetBIOS name, as far as I can tell.

 I am using BackupPC 2.1.2, perl-5.8.4, nmblookup 3.0.1.4a-Debian.

As the backuppc user, run:

BackupPC_dump -v -f HOST

and look at the output to see what commands BackupPC_dump runs.
Hit ^C to abort the backup, if it doesn't give an error.

Craig

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/