Re: [BackupPC-users] backuppc bug tracker?

2006-06-07 Thread Craig Barratt
Ralf Gross writes:

 I was looking at the backuppc home page and the sourceforge project page
 for the bug tracker that is backuppc is using. I couldn't find any info on
 how to file a bug, what is the recommended way to do this?

BackupPC doesn't use the SF bug tracker.  Just post to the devel
or user mail list.

Several people have seen the empty output problem.  I haven't
been able to recreate it.

There is a new version of File::RsyncP that is close to release
that you could try.  I can email it to you if you want.

Craig


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] backup time

2006-06-07 Thread Adam Gawda
Hi,
Where may I change time o backup, for example I want run backup every 
night at 03.00 am.

Thx
Adam


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] archive to tape problem

2006-06-07 Thread Craig Barratt
Mark Coetser writes:

 I am having a little trouble getting this running, I have read the docs etc
 
 Here is my config.pl for the archive host
 
 # Set this client's XferMethod to archive to make it an archive host:
 $Conf{XferMethod} = 'archive';
 
 # The path on the local file system where archives will be written:
 #$Conf{ArchiveDest} = '/dev/st0';
 
 $Conf{ArchiveClientCmd} = '$tarCreatePath -h $host -n $backupnumber -s * 
 /dev/st0'
 
 And I get the following error
 
 Archive failed (  compPath fileExt splitSize outLoc parFile share)
 
 I have tried
 
 $Conf{ArchiveClientCmd} = '$Installdir/bin/BackupPC_archiveHost'
 . ' $tarCreatePath $splitpath $parpath $host $backupnumber'
 . ' $compression $compext $splitsize $archiveloc $parfile *';
 
 But still the above doesn't work, does anyone have any advice or an example
 of their setup for archive to tape ?

You should set the archive location in the CGI interface to
/dev/st0. That will write to tape on the BackupPC server.
The default ArchiveClientCmd should work correctly.

Since BackupPC doesn't use a shell to run external commands, redirection
() won't work.

Craig


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Host Backup Summary

2006-06-07 Thread Craig Barratt
Bill Hudacek writes:

 One small note, if I may...I'm not sure about others' thoughts on this 
 matter, but I shared your OMG moment, Travis :-)
 
 When I discovered BackupPC, I was very pleased with it.  I still am, 
 lest anyone think otherwise!
 
 However, I was very dismayed to find the word incremental being used 
 to describe the backups performed between full backups.  it's pervasive 
 throughout the docs, FAQs, and this news group.
 
 As a (former, in a past life) UNIX systems manager for an international 
 corporation's data center in the U.S., I dealt with these kinds of backups:
 
 1.Full
 2.Differential
 3.Incremental
 
 A differential the day after a full would backup only those files that 
 changed that day.  A differential the day after that would back up all 
 files that had changed since the full backup - in other words, the 
 contents of the first day's differential backup was included in the 
 second day's backups.  This was not as bad as it sounds, as a file 
 deleted before the backups on day 2 would still appear on day 1's 
 differential backup.
 
 Incrementals, however, meant only files changed since the last backup 
 of any kind (full, differential, incremental) would be backed up.
 
 Thus, incrementals were by nature very constant in terms of execution 
 time and storage media consumed.  When you have hundreds of big-iron 
 servers with local disk, SAN space, and NAS space, the difference 
 between incrementals and differentials can be huge (in terms of runing 
 time and space required).
 
 I'm not even speaking as a UNIX guy here, this operational approach was 
 used for PCs and VAX VMS boxen too.
 
 I would have been happiest with a three-tiered backup model in backuppc, 
 as my use of an on-line backup server means having 1 full, the latest 
 differential (say, from full + 3 weeks), and three incrementals to 
 restore is not an inconvenience at all.  Back when we used tape sets 
 (RAID-5 arrays of tape drives), we had to find all the media and request 
 that they be brought back on-site.  Thus, we did differentials once per 
 week so we did not have dozens or hundreds of tapes to restore.  At most 
 we needed full backup set + one differential set + max # of incremental 
 sets since the last differential.
 
 However, having said that - with my BackupPC environment, instead of 
 running a full backup once a month, and having differentials weekly, 
 with incrementals daily, I simply run fulls weekly and thus the 
 differentials that backuppc calls incrementals do not ever approach 
 the cost of a full backup (which I would consider not just an 
 inconvenience but a serious problem).

In the spirit of dump(1), incrementals in BackupPC are all
level 1 (ie: refer back to the previous level 0, or full).

A yet-to-be-implemented feature is multi-level incrementals.
The goal would be to allow the level of each incremental to
be configured.  This would give you the flexibility to support
(in your terminology) full, differential and incremental backups.

Craig


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] PackupPC CGI interface and Plesk

2006-06-07 Thread Nils Breunese (Lemonbit Internet)
Hello all,

I have spent all day trying to get BackupPC's web interface to work,  
but have not succeeded. I have completed all of the installation  
instructions and I have installed BackupPC 2.1.2pl1 on a CentOS 4.3  
machine. However this machine is also running the Plesk 8 control  
panel. When it came to installing the CGI interface (a single file!)  
this is were I got stuck.

As I understand, I can either run the CGI interface setuid backuppc  
or run a separate apache instance running as user backuppc using  
mod_perl. I thought the setuid way would be the easiest to get  
working, but I think Plesk may be getting in the way to much.

I have set up a vhost backup.lemonbit.nl through Plesk and this  
automatically creates a /var/www/vhosts/backup.lemonbit.nl/cgi-bin/  
directory as this domain's cgi-bin directory. This is also the  
location I entered when running perl configure.pl and afterwards I  
indeed found BackupPC_Admin there:

-r-sr-xr--  1 backuppc backuppc 3912 Jun  7 11:48 BackupPC_Admin

However, these are the permissions on the /var/www/vhosts/ 
backup.lemonbit.nl/cgi-bin directory:

drwxr-x---  2 lemonbitbackup psaserv 4096 Jun  7 15:42 cgi-bin

So: the backuppc user is not able to execute BackupPC_Admin as it  
cannot get to the script. All I get is 500 Internal Server Errors and  
my logs keep saying: Premature end of script headers: BackupPC_Admin

I believe however that if I change the ownership on the cgi-bin  
directory I can't execute any scripts at all.



I then tried looking into setting things up through mod_perl, but  
noticed you have to set user backuppc and group backuppc in the  
webserver configuration for this to work. Alas, you can't use the  
user and group directives in a vhosts configuration.

Does anyone have an idea what I can do to get the admin interface to  
work in a vhost environment (especially Plesk 8)? Any pointers to  
setting up a separate instance of apache running as backuppc?  
Everywhere I go I read people saying just use vhosts, separate  
apache instances are useless.

 From what I read and see about it, I'm really liking this system, so  
I would really like to get this to work. But after spending a whole  
day on this I think I need some fresh insights.

Thanks in advance,

Nils Breunese.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] PackupPC CGI interface and Plesk

2006-06-07 Thread Etaoin Shrdlu
On Wednesday 7 June 2006 17:07, Nils Breunese (Lemonbit Internet) wrote:

 I have set up a vhost backup.lemonbit.nl through Plesk and this
 automatically creates a /var/www/vhosts/backup.lemonbit.nl/cgi-bin/
 directory as this domain's cgi-bin directory. This is also the
 location I entered when running perl configure.pl and afterwards I
 indeed found BackupPC_Admin there:

 -r-sr-xr--  1 backuppc backuppc 3912 Jun  7 11:48 BackupPC_Admin

 However, these are the permissions on the /var/www/vhosts/
 backup.lemonbit.nl/cgi-bin directory:

 drwxr-x---  2 lemonbitbackup psaserv 4096 Jun  7 15:42 cgi-bin

Mine are (as stated in the docs):

-rwsr-x--- 2 backuppc apache  3894 Apr 20 15:29 BackupPC_Admin

I remember having to set ownership and permissions _exactly_ this way, 
otherwise it refused to work. To check, I did su - apache and tried to 
execute the cgi from the command line.

Btw, I have apache server running as user apache and group apache.
I don't think it's a vhost problem (but I might be wrong, I don't use 
vhosts on this computer).

As for the cgi-bin dir, I think that ownership and permissions do not 
matter, as long as the user that apache is running as is able to enter 
the directory and execute the cgi.

And, make sure that your perl has perlsuid support as explained in the 
BackupPC docs.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] PackupPC CGI interface and Plesk

2006-06-07 Thread Etaoin Shrdlu
On Wednesday 7 June 2006 17:44, Etaoin Shrdlu wrote:

 Mine are (as stated in the docs):

 -rwsr-x--- 2 backuppc apache  3894 Apr 20 15:29 BackupPC_Admin

By the way, the docs list the permissions as

-swxr-x---1 __BACKUPPCUSER__   web  82406 Jun 17 22:58 
__CGIDIR__/BackupPC_Admin

I think that should be

-rwsr-x---1 __BACKUPPCUSER__   web  82406 Jun 17 22:58 
__CGIDIR__/BackupPC_Admin

with the s for the execute flag (not for the read), to mean setuid.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] BackupPC_Admin errors

2006-06-07 Thread Thomas Maguire



I recently installed BackupPC 2.1.2 on Linux 
Mandrake 10.0. I edited the configure.pl and hosts files forone PC to test 
the operation of the software. 

The LOG and backuppc file system show that the PC 
is being backed up. 

My problem iswith the BackupPC_Admin script. 
I changed the httpd software to start as thebackuppc user and removed the 
setuid permission from the BackupPC_Admin script. I also setup the htpasswd and 
the system prompts me for and accepts my username/password. The test.cgi script 
in the /var/www/cgi-bin runs without error butwhenI try to execute 
the BackupPC_Admin script I receive the following message:

---
Software error:
Can't locate object method "register_cleanup" via package "Apache::RequestRec" at /usr/lib/perl5/5.8.3/CGI.pm line 353.

For help, please send mail to the webmaster ([EMAIL PROTECTED]), giving this error message and the time and date of the error. 

---

I have no perl experience but after some searching 
was able to locate the register_cleanup subroutine in compat.pm instead of the 
RequestRec.pm. I am starting to think thatthe mod_perl software is not 
configured properly but was hoping for some advice from the user list as how 
best to proceed.

rpm -q returns: perl-5.8.3-5mdk, apache2-mod_perl-2.0.48_1.99_11-3mdk

$ENV{"MOD_PERL"}; returns: MOD_PERL = mod_perl/1.99_11 

___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] PackupPC CGI interface and Plesk

2006-06-07 Thread Nils Breunese (Lemonbit Internet)
Etaoin Shrdlu wrote:

 Mine are (as stated in the docs):

 -rwsr-x--- 2 backuppc apache  3894 Apr 20 15:29 BackupPC_Admin

 By the way, the docs list the permissions as

 -swxr-x---1 __BACKUPPCUSER__   web  82406 Jun 17 22:58
 __CGIDIR__/BackupPC_Admin

 I think that should be

 -rwsr-x---1 __BACKUPPCUSER__   web  82406 Jun 17 22:58
 __CGIDIR__/BackupPC_Admin

 with the s for the execute flag (not for the read), to mean setuid.

I did the following:

# chown backuppc:apache BackupPC_Admin
# chmod 4750 BackupPC_Admin

And now have:

-rwsr-x---  1 backuppc apache 3912 Jun  7 11:48 BackupPC_Admin

However, the interface is still not working for me. Any more ideas?

Nils.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Re PackupPC CGI interface and Plesk

2006-06-07 Thread Nils Breunese (Lemonbit Internet)
Ed Pascoe wrote:

 Firstly stay away from mod_perl where possible because its VERY  
 painful to get setup. Next make sure you get some kind of useful  
 response (ie. no perl errors) if you run the cgi command by hand. Eg.:
 ./BackupPC_Admin.cgi

I do when as user root or apache. However, when I try as user  
backuppc it doesn't work as that user doesn't have enough permissions  
to enter the cgi-bin directory which is chmodded 750 and is not owned  
by backuppc:

drwxr-x---  2 lemonbitbackup psaserv 4096 Jun  7 15:42 cgi-bin

Any idea what I should change to get this working (without opening  
all kinds of security holes)?

Thanks,

Nils Breunese.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] PackupPC CGI interface and Plesk

2006-06-07 Thread Les Mikesell
On Wed, 2006-06-07 at 17:07 +0200, Nils Breunese (Lemonbit Internet)
wrote:

 However this machine is also running the Plesk 8 control  
 panel. When it came to installing the CGI interface (a single file!)  
 this is were I got stuck.
 
 As I understand, I can either run the CGI interface setuid backuppc  
 or run a separate apache instance running as user backuppc using  
 mod_perl. I thought the setuid way would be the easiest to get  
 working, but I think Plesk may be getting in the way to much.
 
 I have set up a vhost backup.lemonbit.nl through Plesk and this  
 automatically creates a /var/www/vhosts/backup.lemonbit.nl/cgi-bin/  
 directory as this domain's cgi-bin directory. This is also the  
 location I entered when running perl configure.pl and afterwards I  
 indeed found BackupPC_Admin there:
 
 -r-sr-xr--  1 backuppc backuppc 3912 Jun  7 11:48 BackupPC_Admin
 
 However, these are the permissions on the /var/www/vhosts/ 
 backup.lemonbit.nl/cgi-bin directory:
 
 drwxr-x---  2 lemonbitbackup psaserv 4096 Jun  7 15:42 cgi-bin

I don't know enough about plesk to help much.  Does it run a
separate httpd instance with a different uid for each virtual
server?

 So: the backuppc user is not able to execute BackupPC_Admin as it  
 cannot get to the script. All I get is 500 Internal Server Errors and  
 my logs keep saying: Premature end of script headers: BackupPC_Admin

I think you'd get a permission error logged if it is a permission
error.  Check your ScriptAlias in the httpd.conf for the vhost to
see what happens to /cgi-bin requests.

 I believe however that if I change the ownership on the cgi-bin  
 directory I can't execute any scripts at all.

The cgi-bin directory (and all above) must have read and execute
permission for the httpd server user.  The BackupPC_Admin file
must be owned by the backuppc user and have the setuid bit set.

-- 
  Les Mikesell
   [EMAIL PROTECTED]




___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] backup time

2006-06-07 Thread Justin Best
Hi Adam,

Check out the documentation at http://backuppc.sf.net. In particular, look
at $Conf{WakeupSchedule} and $Conf{BlackoutPeriods}


Justin Best
503.906.7611 Voice
561.828.0496 Fax

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam
Gawda
Sent: Wednesday, June 07, 2006 12:42 AM
To: backuppc-users@lists.sourceforge.net
Subject: [BackupPC-users] backup time

Hi,
Where may I change time o backup, for example I want run backup every 
night at 03.00 am.

Thx
Adam


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] PackupPC CGI interface and Plesk

2006-06-07 Thread Les Mikesell
On Wed, 2006-06-07 at 19:44 +0200, Nils Breunese (Lemonbit Internet)
wrote:

  I don't know enough about plesk to help much.  Does it run a
  separate httpd instance with a different uid for each virtual
  server?
 
 No, all httpd processes run as user apache.
 
  I think you'd get a permission error logged if it is a permission
  error.  Check your ScriptAlias in the httpd.conf for the vhost to
  see what happens to /cgi-bin requests.
 
 The httpd.include file for the vhost aliases /cgi-bin/ to /var/www/ 
 vhosts/domain/cgi-bin/, which is where configure.pl put  
 BackupPC_Admin.
 
  I believe however that if I change the ownership on the cgi-bin
  directory I can't execute any scripts at all.
 
  The cgi-bin directory (and all above) must have read and execute
  permission for the httpd server user.  The BackupPC_Admin file
  must be owned by the backuppc user and have the setuid bit set.
 
 Well, that sounds just like I have it setup. Here's a walk from / to  
 the BackupPC_Admin file:
 
 drwxr-xr-x   24 root root  4096 Mar 26 16:00 var
 drwxr-xr-x   9 rootroot4096 Jan  5 19:34 www
 drwxr-xr-x  10 root  root 4096 Jun  7 10:35 vhosts
 drwxr-xr-x  14 root root 4096 Jun  7 10:35 backup.lemonbit.nl
 drwxr-x---  2 lemonbitbackup psaserv 4096 Jun  7 15:42 cgi-bin
 -rwsr-x---  1 backuppc apache 3912 Jun  7 11:48 BackupPC_Admin
 ^^
Does the running httpd retain the apache group?  Maybe you
need to change the group to psaserv.  If you aren't in the right
group you can't execute this.

 The apache user is a member of the psaserv group. I can execute  
 BackupPC_Admin on the command line as user apache, but user backuppc  
 cannot cd into the final directory, the cgi-bin directory. I believe  
 this is the problem. I don't really see how to fix this cleanly though.

I don't think that is necessary.  You could test it by giving rx
permission to 'other'.  I'd turn off all 'w' access too.

-- 
  Les Mikesell
   [EMAIL PROTECTED]




___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Special chars issue : reloaded ...

2006-06-07 Thread kral
[EMAIL PROTECTED] a écrit :
 Hi,
 
 I have some issue to backup folders containing special chars on a very 
 specific
 situation.
 
 Its about saving folders through samba.
 sample entrie of the machine's spécific config.pl give something like that:
 
 $Conf{SmbShareName} = ['D$'];
 $Conf{BackupFilesOnly} = {
 'D$' = ['Folder1é'] # --- special char here: 'é'
 };
 
 My smb.conf is already tuned to define the charset (samba 3.x : unix 
 charset 
 dos charset). Filesfolders created on both *nix or windowz are viewed 
 stored correctly, with special characters.
 
 If a folder on the root of the share (folder1) dont contain special char, 
 there
 is no problem. It save successfully files like:
 /Folder1/é/é/__^^/.txt
 
 But when the folder on the root of the share contain somes, it just pass it 
 and
 save nothing.
 
 I have searched on the list about similar situation with no success.
 I will continue some tests, to see if the error is specific to 
 BackupFilesOnly
 or not.
 
 Any help or feedback is welcome :)
 
 
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/backuppc-users
 http://backuppc.sourceforge.net/
 

Still no one having this sort of problem, exclusively with the smb method?

S O S :)



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Archive problem: compress or split failed

2006-06-07 Thread Bowie Bailey
I am trying to set up a simple archive device.  I think I have it set
up properly, but I am seeing this (rather unhelpful) error:

Archive failed (Error: /opt/backuppc/bin/BackupPC_tarCreate,
compress or split failed)

I disabled compression and splitting, but I still get the error.

My config looks like this:

$Conf{XferMethod} = 'archive';
$Conf{ArchiveDest} = '/dev/st0';
$Conf{ArchivePar} = 0;
$Conf{ArchiveSplit} = 0;
$Conf{ArchiveComp} = 'none';

What is causing the error?

--
Bowie


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Archive problem: compress or split failed

2006-06-07 Thread Bowie Bailey
Bowie Bailey wrote:
 I am trying to set up a simple archive device.  I think I have it set
 up properly, but I am seeing this (rather unhelpful) error:
 
 Archive failed (Error: /opt/backuppc/bin/BackupPC_tarCreate,
 compress or split failed)
 
 I disabled compression and splitting, but I still get the error.
 
 My config looks like this:
 
 $Conf{XferMethod} = 'archive';
 $Conf{ArchiveDest} = '/dev/st0';
 $Conf{ArchivePar} = 0;
 $Conf{ArchiveSplit} = 0;
 $Conf{ArchiveComp} = 'none';
 
 What is causing the error?

Sorry for the self-reply.  I found the log file that gives me more
info on the error.  It was a permissions issue on /dev/st0.  I added
backuppc into the disk group to give it access.  Now I have a
different error.

Executing: /opt/backuppc/bin/BackupPC_archiveHost
  /opt/backuppc/bin/BackupPC_tarCreate /usr/bin/split
  /usr/bin/par2 red_oktober 12 /bin/cat .raw 000 /dev/st0 0 *
Xfer PIDs are now 7505
Writing tar archive for host red_oktober, backup #12 to /dev/st0
/bin/cat: write error: Invalid argument
Executing: /opt/backuppc/bin/BackupPC_tarCreate -t -h red_oktober
  -n 12 -s \* . | /bin/cat  /dev/st0
Error: /opt/backuppc/bin/BackupPC_tarCreate, compress or split
  failed
Archive failed: Error: /opt/backuppc/bin/BackupPC_tarCreate,
  compress or split failed

Based on my tests, /bin/cat is complaining about sending data to
/dev/st0.  I can duplicate this error from the command line:

# cat test.tar  /dev/st0
cat: write error: Invalid argument

Same thing happens with gzip:

# cat test.tar | gzip  /dev/st0
gzip: stdout: Invalid argument

I know I've got the right device:

# mt -f /dev/st0 status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 32768 bytes. Density code 0x40 (DLT1 40 GB, or Ultrium).
Soft error count since last status=0
General status bits on (4101):
 BOT ONLINE IM_REP_EN

Any ideas?

OS is CentOS 4.3.

-- 
Bowie


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] backuppc bug tracker?

2006-06-07 Thread David Rees
On 6/7/06, Craig Barratt [EMAIL PROTECTED] wrote:
 There is a new version of File::RsyncP that is close to release
 that you could try.  I can email it to you if you want.

Out of curiosity, what's new in File::RsyncP?

-Dave


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Archive problem: compress or split failed

2006-06-07 Thread Les Mikesell
On Wed, 2006-06-07 at 16:40 -0400, Bowie Bailey wrote:

 Based on my tests, /bin/cat is complaining about sending data to
 /dev/st0.  I can duplicate this error from the command line:
 
 # cat test.tar  /dev/st0
 cat: write error: Invalid argument


 # mt -f /dev/st0 status
 SCSI 2 tape drive:
 File number=0, block number=0, partition=0.
 Tape block size 32768 bytes. Density code 0x40 (DLT1 40 GB, or Ultrium).
  ^

You need to set variable-length blocks or write in chunks of the
size the device wants.  Using dd obs=32768 instead of cat
for the final output should work.

-- 
  Les Mikesell
   [EMAIL PROTECTED]




___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Backup Novell 5

2006-06-07 Thread Dirk Erasmus
Hi 

Are there any known methods to use BackupPC to backup Novell5 servers?


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Windows users sign up for BackupPC services

2006-06-07 Thread Tom Glancy
We are testing a self-service approach that allows users to initiate their own 
BackupPC back up services. The implementation uses PHP and some bash shell 
scripts to create an install bundle for the client, and to make the necessary 
server-side modifications (hosts file entry, back up directory, custom 
config.pl.). So far, this is working very well.

Purpose:
Allow users to easily sign up and install BackupPC service

Assumptions:
  Any user with the network account can sign up for BackupPC service
  The user is using a Windows 2000 or Windows XP computer
  The user is logged into and signing up from the computer to be backed up
  rsyncd service is not running on the client computer

Steps:
 1 - User visits Sign Up web page on a web server that explains install 
process, with a link to sign up on BackupPC server
 2 - User authenticates to the BackupPC html server using network account (ldap 
authentication)
 3 - User is presented with a generic list of drives, checks the checkbox for 
drives to back up, clicks sign up
 4 - System uses nmblookup to look up computer name from IP address
 5 - System checks BackupPC hosts file and adds user name (from Step 2) and 
computer (if not already there)
 6 - System creates the pc directory from the computer name, to hold back ups 
(if not already there)
 7 - System creates install directory in pc directory, to hold install files
 8 - System generates a random user name / password combination for rsync to 
use, different from network user name / password
 9 - Using a template, system creates the client rsyncd.conf and rsyncd.secrets 
files in the install directory
10 - Using a template, system creates the user's custom config.pl file in the 
pc directory
11 - System creates a self-extracting zip file containing rsyncd.conf, 
rsyncd.secrets, cygwin1.dll, cygrunsrv.exe, README and an install.bat file 
(uses Filzip SFX)
12 - System writes config.pl, rsyncd.conf, rsyncd.secrets to user's LOG file
13 - System returns the self-extracting zip file to the user's browser
14 - User saves, then executes the self-extracting zip file
15 - On the user's computer, the self-extracting zip file creates a \backuppc 
directory, extracts all the files to it, and runs install.bat
16 - install.bat runs cygrunsrv.exe to install rsyncd as a service, configures 
Windows XP filewall to allow BackupPC via rsync
17 - Finished - user is prompted to browse to the BackupPC page


Regards,
Tom



---
Tom Glancy
Ecological Services Division IT Supervisor

[EMAIL PROTECTED]
651-259-5097

Minnesota Department of Natural Resources
500 Lafayette Road - Box 25
St. Paul, MN 55155-4025
---



___
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 check if files are really compressed

2006-06-07 Thread nilesh vaghela
It should show zip or bzip files with their extension.

If not try file command

#file filename 

will give you the type of file.

-- Nilesh VaghelaElectroMechRedhat Channel Partner and Training Partner74, Nalanda Complex, Satellite Rd, Ahmedabad25, The Emperor, Fatehgunj, Baroda.
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Archive host on Debian/Ubuntu?

2006-06-07 Thread Rick DeNatale
I tried to set up an archive host for my Backuppc setup running on
Ubuntu, and I can't seem to get it to work.  From the docs I think
that I do this by setting up a special archive pseudo-host which is
distinguished by having an XferMethod of 'archive'.

First I added this line to /etc/backuppc/hosts

archCD 0   rickbackuppc

And added /etc/backuppc/archCD.pl

#
# Configuration for archive host
#
$Conf{XferMethod} = 'archive';
$Conf{ArchiveSplit} = 650;
$Conf{ArchiveDest} = '/tmp';

Note that the Debian setup puts the host config files under
/etc/backuppc instead of under the pc directory.  This seems to work
just fine for normal hosts and has been for months.

If I go to the web interface I see the archcd host, but if I select it
it's home page looks just like the other hosts. If I start a backup it
fails saying that the host was not found.  If I change the dhcp flag
in archCD's line in the host file, on attempting to start a backup
backuppc immediately tells me that it can't find the host using dhcp.

Any ideas on what I'm not doing or doing wrong?
-- 
Rick DeNatale


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Special chars issue : reloaded ...

2006-06-07 Thread Paul Bijnens
kral schreef:
 If a folder on the root of the share (folder1) dont contain special char, 
 there
 is no problem. It save successfully files like:
 /Folder1/é/é/__^^/.txt

 But when the folder on the root of the share contain somes, it just pass it 
 and
 save nothing.

 I have searched on the list about similar situation with no success.
 I will continue some tests, to see if the error is specific to 
 BackupFilesOnly
 or not.
 
 Still no one having this sort of problem, exclusively with the smb method?
 
 S O S :)


I think most people have this problem.
But the problem has an easy workaround.
Just rename the top level directory.
What is more important, a backup or an accent?



-- 
Paul Bijnens, XplanationTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...*
* ...  Are you sure?  ...   YES   ...   Phew ...   I'm out  *
***


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Separate incremental and full backup location

2006-06-07 Thread nilesh vaghela
That is true.

Hardlinks are possible within File system only.

Across the partition it is not possible.

-- Nilesh VaghelaElectroMechRedhat Channel Partner and Training Partner74, Nalanda Complex, Satellite Rd, Ahmedabad25, The Emperor, Fatehgunj, Baroda.
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] backuppc bug tracker?

2006-06-07 Thread Craig Barratt
David Rees writes:

 On 6/7/06, Craig Barratt [EMAIL PROTECTED] wrote:
  There is a new version of File::RsyncP that is close to release
  that you could try.  I can email it to you if you want.
 
 Out of curiosity, what's new in File::RsyncP?

Support for hardlinks (also requires BackupPC 3.x or CVS)
and a protocol update to v28.

Craig


___
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 check if files are really compressed

2006-06-07 Thread Ambrose Li
On 05/06/06, Víctor A. Rodríguez [EMAIL PROTECTED] wrote:
 - copy fadsutil.vbs to a new locatoin, try to bunzip2 it and if susccessfull
 you'll have a fadsutil.vbs with the same length an content that the original
 one

This method won't work. Backuppc seems to add a header of something to
the beginning of files; I don't think gzip or bzip2 will be able to
understand backuppc's compressed files.


___
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 check if files are really compressed

2006-06-07 Thread Craig Barratt
Ambrose Li writes:

 On 05/06/06, Víctor A. Rodríguez [EMAIL PROTECTED] wrote:
  - copy fadsutil.vbs to a new locatoin, try to bunzip2 it and if susccessfull
  you'll have a fadsutil.vbs with the same length an content that the original
  one
 
 This method won't work. Backuppc seems to add a header of something to
 the beginning of files; I don't think gzip or bzip2 will be able to
 understand backuppc's compressed files.

That's right, the files aren't in gzip or bzip2 format.  The script
bin/BackupPC_zcat can be used to uncompress the files.

Back to the original question: just look in the PC summary and you
will see the compress level for each backup.  If it is non-zero
then the backup files are compressed.

The other way to verify is to look at the cpool (compressed pool)
vs pool (uncompressed pool) usage.

Craig

___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/