Re: [BackupPC-users] SSH config problem causingfileListReceivefailed?

2007-02-13 Thread Craig Barratt
Ralf writes:
 Arch Willingham schrieb:
  Wooohh...I hate to be a dummy but that's the sound of
  this all going way over my head :) !!! If the -x is ok, what do I
  need to change to have BackupPC backup itself?
 
 I've no idea. -x disables X11 forwarding, thus I don't know why it's
 complaining abut xlib.
 
 What happens if you ssh from the backuppc server to machine2 as
 backuppc user? Adding -vvv will gibe you a more verbose output,
 removing -q will show you more warning messages.
 
 /usr/bin/ssh -q -x -l root machine2 
 
 or 
 
 /usr/bin/ssh -vvv -x -l root machine2

man ssh_config says:

 ssh obtains configuration data from the following sources in the following
 order:
   1.   command-line options
   2.   user's configuration file (~/.ssh/config)
   3.   system-wide configuration file (/etc/ssh_config)

So the command-line -x argument can be overridden by the config files
~/.ssh/config or /etc/ssh_config.  So look in those two files for
ForwardX11 and make sure it says ForwardX11 no.

Craig

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] backup pc 3.0 do not want to limit the backup

2007-02-13 Thread ADNET Ghislain

Hello,

 I have made a fresh  install of backuppc 3.0. All seems ok but i have trouble backuping the hosts as backuppc ignore 
the directory list i want to backup. The host file is :


-rw-r-  1 backuppc www-data 387 Feb 13 08:46 
/etc/BackupPC/pc/myservername.pl

$Conf{BackupFilesOnly} = {
  '/' = [
'/etc',
'/usr/local/etc'
  ]
};
$Conf{RsyncClientCmd} = '$sshPath -q -x -l aqbackup $host $rsyncPath $argList+';
$Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l aqbackup $host $rsyncPath 
$argList+';
$Conf{RsyncShareName} = [
  '/'
];
$Conf{BackupFilesExclude} = {
  '/' = [
'/var/log',
'/proc'
  ]
};
$Conf{XferMethod} = 'rsync';


when i do a ps i got:


/usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D 
--links
--hard-links --times --block-size=2048 --recursive --ignore-times . /

so it tries to backup all the server and not only the part i want. Even changing the configuration in the 
/etc/Backuppc/config.pl to put the same directories do not work.  Any idea ?



--
Cordialement,
Ghislain


smime.p7s
Description: S/MIME Cryptographic Signature
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] No Apache?

2007-02-13 Thread Nils Breunese (Lemonbit)

Frederic Bastien wrote:

I'm looking for my personal back-up. 2-3 computers at most. Do I  
need to

install Apache to use the BackupPC software or can I use it directly?


Please see the requirements section of the documentation: http:// 
backuppc.sourceforge.net/faq/BackupPC.html#requirements


Yes, you need to run a webserver or you won't be able to see the  
status of the backups, restore backups, etc.


Nils Breunese.




PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] backuppc 3: ARRAY(0x...) in the level column

2007-02-13 Thread Ludovic Drolez
Hi !

I've upgraded from 2.1 to 3.0 and I have the following problem: Incremental
backups are not correctly displayed on the backup summary page.

For example I get in the 1st summary table:

 Backup# TypeFilled  Level   Start Date  
Duration/minsAge/daysServer Backup Path
...
...
1365 incrno  ARRAY(0x87993cc)2/13 11:10  6.6 0.0
 
/var/lib/backuppc/pc/xiii/1365


In the /var/lib/backuppc/pc/xiii/backups file, the same ARRAY(0x...) can be
found on the last column.

Any ideas ?

  Ludovic Drolez.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] restore a backup to samba

2007-02-13 Thread Rob Shepherd
Les Mikesell wrote:
 Rob Shepherd wrote:

 i'd like to be able to quickly provide a user with access to their files
 over samba, as quickly as possible.

 does anybody have any thoughts on how i do this efficiently.
 
 Set up authenticated http access with each user listed as the 'owner' of 
 his own machine in your hosts file.  Then they will be able to browse 
 their own backups, select files, and have a choice of grabbing a copy 
 directly through the browser or having the restore done through the
 protocol used to do the backup.
 

Sorry, I should have mentioned that I seen this method of browsing 
files... Which is great, but not completely suitable in my scenario.

It's for the days when laptops/PSUs are forgotton, but it would be handy 
to work directly on the files.

In Addition, this is something I haven't checked, but is it possible to 
restore a backup to a local partition somehow. In case I wanted to to a 
quick restore to a filesystem which is exported by samba.

Cheers

Rob

-- 
Rob Shepherd BEng PhD | Computer and Network Engineer | CAST Ltd
Technium CAST | LL57 4HJ | http://www.techniumcast.com
[EMAIL PROTECTED] | 01248 675024 | 077988 72480

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] cannot cleanup /var/lib/backuppc/trash

2007-02-13 Thread Chantal Rosmuller
Hi,

On Saturday 03 February 2007 01:26, Holger Parplies wrote:
 Hi,

 Chantal Rosmuller wrote on 02.02.2007 at 20:08:46 [[BackupPC-users] cannot 
cleanup /var/lib/backuppc/trash]:
  If I want to clean up /var/lib/backuppc/trash I get the following error:
 
  [EMAIL PROTECTED]:~$ /usr/share/backuppc/bin/BackupPC_trashClean
  processState running
  log BackupPC_trashClean failed to empty /var/lib/backuppc/trash
  processState idle

 first of all, I don't think you're actually supposed to run
 BackupPC_trashClean from the command line. BackupPC will run it for you.

I know, but I get the following error in the logfiles: BackupPC_trashClean 
failed to empty /var/lib/backuppc/trash So I did a test on the commandline

 BackupPC_trashClean (and BackupPC::Lib::RmTreeTrashEmpty() aren't exactly
 explicit about what is failing. There are a few possibilities that spring
 to mind:

 - file system mounted read-only?

No that is not the case

 - immutable bit set on a file (presuming it's an ext2/ext3)?

Yes the immutable bit is set on some directories below /var/lib/backuppc/trash 
but the question is: how did that happen?

 - directory permissions messed up (however that happened)
   find /var/lib/backuppc/trash -type d \! \( -perm -0200 -a -user backuppc
 \) -ls should show you what's wrong, if anything is

 If that doesn't help:
 - what sort of filesystem is /var/lib/backuppc on?

ext3

 - Debian? BackupPC 3.0.0?
backuppc 2.1.1 on debian 3.1

 - du -s /var/lib/backuppc/trash   (after running BackupPC_trashClean)?
 - are any files removed at all?
Yes the non-immutable files are removed

 Is there a pause between 'processState 
   running' and 'log BackupPC_trashClean failed ...'?

I'm not sure, can this be tested form the commandline?

 - You *are* running that as 'backuppc' (as your prompt indicates), and that
   *is* the BackupPC user? [Yes, I know, otherwise there should be a warning
   about running with an incorrect UID]

yes backuppc is the correct user


 Regards,
 Holger

Thanks, regards Chantal

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] The correct version of rsync for windows an backuppc

2007-02-13 Thread Diaz Rodriguez, Eduardo
Hi to all, I make some test to try to find the correct version not for only 
backup my windows workstation for recover
too. :-D

I make the test with my 22000 files of my documents

I find that the version that to recover and backup my windows-UTF8 are the 
rsync 2.6.8

I made a compilation with cwRsync_Server_2.0.8_Installer.exe (that use 2.6.8)

cygwin1.rar that is dll that support utf8.

http://www.pk25.com/varios/rsync

Is very very strain that must use the same version of rsync to write in 
windows, :-P (may be windows) :-P

regards!!!




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] cannot cleanup /var/lib/backuppc/trash

2007-02-13 Thread Chantal Rosmuller
Hi Tony,

snip

 I'm having a similar issue:

 007-02-05 16:57:21 BackupPC_trashClean failed to empty /usr/local/
 backuppc/data/trash
 2007-02-05 17:02:21 BackupPC_trashClean failed to empty /usr/local/
 backuppc/data/trash
 2007-02-05 17:07:22 BackupPC_trashClean failed to empty /usr/local/
 backuppc/data/trash
 2007-02-05 17:12:22 BackupPC_trashClean failed to empty /usr/local/
 backuppc/data/trash
 2007-02-05 17:17:22 BackupPC_trashClean failed to empty /usr/local/
 backuppc/data/trash
 2007-02-05 17:22:22 BackupPC_trashClean failed to empty /usr/local/
 backuppc/data/trash

snip

 I haven't figured out how to remedy this yet. The above is a UFS
 filesystem under FreeBSD 5.4, BackupPC 2.1.2.

 HTH,


 Tony Del Porto
snip

On our server some directories are immutable, but that is something very 
specific for ext2 and ext3 filesystems I wonder whether it is caused 
by the same issue though..

Regards Chantal

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Strange Backuppc Problem with rsync

2007-02-13 Thread Carl Wilhelm Soderstrom
On 02/10 05:34 , Craig Barratt wrote:
 The most likely cause is that root's .cshrc (or equivalent) is doing
 an stty.  You should change it so that it doesn't do an stty on a
 non-login shell.  For csh/tcsh you could do something like this
 
 if ( ! $?USER || $prompt ==  || ! $?term ) then
 # done for non-interactive shell 
 exit
 endif

One way to do an equivalent thing in bash, is this:

case $- in
  *i*) : # interactive
 # commands for interactive shells go here
 stty erase ^?
;;
  *)  : # non interactive
 # commands for non-interactive shells go here
;;
esac


I found this tip at:
http://www.samspublishing.com/articles/article.asp?p=29461rl=1

and just tried it. seems to work for me.

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] restore a backup to samba

2007-02-13 Thread Les Mikesell
Rob Shepherd wrote:

 i'd like to be able to quickly provide a user with access to their files
 over samba, as quickly as possible.

 does anybody have any thoughts on how i do this efficiently.
 Set up authenticated http access with each user listed as the 'owner' of 
 his own machine in your hosts file.  Then they will be able to browse 
 their own backups, select files, and have a choice of grabbing a copy 
 directly through the browser or having the restore done through the
 protocol used to do the backup.

 
 Sorry, I should have mentioned that I seen this method of browsing 
 files... Which is great, but not completely suitable in my scenario.
 
 It's for the days when laptops/PSUs are forgotton, but it would be handy 
 to work directly on the files.

The backups are not stored in a format suitable for direct access even 
if suitable network shares and permissions could be set up.  They are 
compressed and all duplicates are linked together.  You can still grab a 
copy from anywhere through the browser.

 In Addition, this is something I haven't checked, but is it possible to 
 restore a backup to a local partition somehow. In case I wanted to to a 
 quick restore to a filesystem which is exported by samba.

Yes - the generic way is to download a tar or zip archive through the 
browser which you can install anywhere. I think the restore option will 
also send to a different location if the user/password in
the config.pl file for the target works, but I haven't tried that. If 
most people work on laptops, perhaps you can provide a stable server 
with workspace they can use from any location.  I prefer to have the 
'real' copies in a stable location like that but you might use it as an 
alternative instead - but it is going to be up to the user to keep track 
of where the current version is stored.

-- 
   Les Mikesell
[EMAIL PROTECTED]

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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 features

2007-02-13 Thread vaghetti roberto
Il giorno lun, 12/02/2007 alle 21.41 -0800, Craig Barratt ha scritto:
 roberto writes:
 
  anyone using archive host features?
  I can't extract files from the tar.raw format created by the archiver
  using tar.
  Extraction exit with error , or some file are missing.
 
 By default the archive is split into multiple files,
 which you need to cat together before you run tar.
 
 Craig


i have tried with cat file.tar.raw.aa file.tar.raw.ab ... file.tar.raw
(and with tarcat too).

then i have used 
   tar -xf file.tar.raw 


but the problem persist even in i use a single tar archive when
archiving (no use of splitting)

roberto



Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] restore a backup to samba

2007-02-13 Thread Rob Shepherd
Les Mikesell wrote:
 The backups are not stored in a format suitable for direct access even 
 if suitable network shares and permissions could be set up.  They are 
 compressed and all duplicates are linked together.  You can still grab a 
 copy from anywhere through the browser.

Thanks for the reply.

Forgive my ignorance, but if the files are not in a direct access 
format, then how does rsync work?
rsync compares local and remote file trees before sending deltas etc.

Does the rsync perl module do some translation magic or somesuch?


 Yes - the generic way is to download a tar or zip archive through the 
 browser which you can install anywhere. I think the restore option will 
 also send to a different location if the user/password in
 the config.pl file for the target works, but I haven't tried that. If 
 most people work on laptops, perhaps you can provide a stable server 
 with workspace they can use from any location.  I prefer to have the 
 'real' copies in a stable location like that but you might use it as an 
 alternative instead - but it is going to be up to the user to keep track 
 of where the current version is stored.

Yes, real copies on ZFS would be nice, however I need to cater for users 
who work on the train, in the airport etc and can't necessarily VPN all 
the time. As you say, if it was left up to the user to sort out 
versioning, we may as well format C:\ now :)

It there a way of exploiting the BackupPC_Restore to dump to a local 
folder, even if piped through tar/gtar/star?

Not through the web interface, but from _my_ terminal.


-- 
Rob Shepherd BEng PhD | Computer and Network Engineer | CAST Ltd
Technium CAST | LL57 4HJ | http://www.techniumcast.com
[EMAIL PROTECTED] | 01248 675024 | 077988 72480

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] restore a backup to samba

2007-02-13 Thread Jason Hughes
Rob Shepherd wrote:
 Thanks for the reply.

 Forgive my ignorance, but if the files are not in a direct access 
 format, then how does rsync work?
 rsync compares local and remote file trees before sending deltas etc.

 Does the rsync perl module do some translation magic or somesuch?
   

I don't know the exact answer to this (Craig?), but definitely, the 
files are compressed with strange hashed filenames, and many each backup 
stores the real filename and metadata as a hardlink to these compressed, 
hashed filenames.  So, you see, if you allowed a user to work directly 
with any one version of the file on the server, it would necessarily 
'corrupt' the backups not only where the user is working, but going back 
in time as well.  In short, this is not the solution you're looking for.

 Yes, real copies on ZFS would be nice, however I need to cater for users 
 who work on the train, in the airport etc and can't necessarily VPN all 
 the time. As you say, if it was left up to the user to sort out 
 versioning, we may as well format C:\ now :)

 It there a way of exploiting the BackupPC_Restore to dump to a local 
 folder, even if piped through tar/gtar/star?

 Not through the web interface, but from _my_ terminal.

   

What you are describing is simply rsync or subversion/cvs/arch.  If you 
want people to work independently of a central store, but have access to 
that store in absence of their primary work machine, you want a central 
repository of their files.  A backup system of some sort may do that for 
you, but I think perhaps that is going too far: a revision control 
system would be more appropriate, if the users needed to go back to 
previous versions of files.  Otherwise, rsync with a central server on a 
frequent basis automatically when a secure network connection can be 
built to your server.  Rsync'ing that data back to a local machine as 
needed is pretty straightforward, especially if wrapped in a simple UI.

My $.02, at least.

Good luck,
JH

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] restore a backup to samba

2007-02-13 Thread Les Mikesell
Rob Shepherd wrote:

 The backups are not stored in a format suitable for direct access even 
 if suitable network shares and permissions could be set up.  They are 
 compressed and all duplicates are linked together.  You can still grab a 
 copy from anywhere through the browser.
 
 Thanks for the reply.
 
 Forgive my ignorance, but if the files are not in a direct access 
 format, then how does rsync work?
 rsync compares local and remote file trees before sending deltas etc.
 
 Does the rsync perl module do some translation magic or somesuch?

Yes, it does some serious magic to uncompress on the fly while chatting 
with a stock rsync at the other end.  Craig must be an insane 
programming genius to have tackled a project like that in perl and 
succeeded.

 I prefer to have the 
 'real' copies in a stable location like that but you might use it as an 
 alternative instead - but it is going to be up to the user to keep track 
 of where the current version is stored.
 
 Yes, real copies on ZFS would be nice, however I need to cater for users 
 who work on the train, in the airport etc and can't necessarily VPN all 
 the time. As you say, if it was left up to the user to sort out 
 versioning, we may as well format C:\ now :)

If they are doing things where versioning makes sense, you should 
provide a CVS or subversion repository and arrange things so the only 
way any work is considered 'done' is when it is committed.  If it is 
more like spreadsheets and documents, something like 'unison' might work 
with a server location holding the matching copy.  Unison is like a 
bi-directional rsync that keeps track of where the latest changes were 
done.

 It there a way of exploiting the BackupPC_Restore to dump to a local 
 folder, even if piped through tar/gtar/star?
 
 Not through the web interface, but from _my_ terminal.

The generic way is with the command line BackuPC_tarCreate which you can 
find in the documentation.  You can pipe its output directly into a tar 
-x where you want it.

-- 
   Les Mikesell
[EMAIL PROTECTED]


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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 pc 3.0 do not want to limit the backup

2007-02-13 Thread Craig Barratt
ADNET writes:

 when i do a ps i got:
 
 
 /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D 
 --links
 --hard-links --times --block-size=2048 --recursive --ignore-times . /
 
 so it tries to backup all the server and not only the part i want.
 Even changing the configuration in the /etc/Backuppc/config.pl to
 put the same directories do not work.  Any idea ?

The directories you wish to include and exclude are not sent
to the remote rsync via command line args - they are sent over
the socket connection.

Look at the XferLOG file.

Craig

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] rsync on . from backuppc

2007-02-13 Thread Sturla Holm Hansen
Hi there list :)
I use backuppc to take backup of a bunch of hosts, but I ran into problems
with the last one I set up, I can't find anything that is different on
this one...but it won't work...
So any hints would be greatly appreciated, here are the files

ryncd.conf:

log file=/var/log/rsyncd
pid file=/var/run/rsyncd.pid

[all]

comment = All disk
path = /
use chroot = no
lock file = /var/lock/rsyncd
read only = no
list = yes
uid = root
gid = root
auth users = backuppc
secrets file = /etc/rsyncd.secrets
strict modes = no
ignore errors = yes
ignore nonreadable = yes
transfer logging = no
timeout = 600
dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz

And the corresponding .pl file in /etc/backuppc on the server:

$Conf{RsyncShareName} = ['all'];

$Conf{BackupFilesExclude} ={
'all' =
['/tmp',
'/proc',
'/boot',
'/sys',
'/var/run',
'/boot',
'/dev',
'/media',
'/mnt']
};

$Conf{XferMethod} = 'rsyncd';
$Conf{RsyncdUserName} = 'user';
$Conf{RsyncdPasswd} = 'password';


The server can ping the host by name.

The problem is that when I try to run a full backup it fails at once with
the following in the rsync-log:

2007/02/13 21:16:35 [20364] connect from backuppc (192.168.0.59)
2007/02/13 21:16:35 [20364] rsync on . from [EMAIL PROTECTED] (192.168.0.59)
2007/02/13 21:16:35 [20364] building file list
2007/02/13 21:16:35 [20364] rsync: writefd_unbuffered failed to write 4
bytes [sender]: Broken pipe (32)
2007/02/13 21:16:35 [20364] rsync error: error in rsync protocol data
stream (code 12) at io.c(1122) [sender=2.6.9]

Why is it trying to rsync on ., I'm asking it to rsync all aren't I?

Other hosts with the exact same .pl file is working fine, and if I
manually runs:

rsync -aPv rsync://[EMAIL PROTECTED]/all . it runs fine...

Any ideas or pointers greatly appreciated :)

Thanx

Sturla


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] restore a backup to samba

2007-02-13 Thread Rob Shepherd

 Does the rsync perl module do some translation magic or somesuch?

 Yes, it does some serious magic to uncompress on the fly while chatting
 with a stock rsync at the other end.  Craig must be an insane
 programming genius to have tackled a project like that in perl and
 succeeded.

wow, maximum respect for that. Good effort Craig.


 If they are doing things where versioning makes sense, you should
 provide a CVS or subversion repository and arrange things so the only
 way any work is considered 'done' is when it is committed.  If it is
 more like spreadsheets and documents, something like 'unison' might work
 with a server location holding the matching copy.  Unison is like a
 bi-directional rsync that keeps track of where the latest changes were
 done.

Tried to provide a group-wide svn structure to handle collab work and
remove all the probs with group-shares.  Seems unfeasable without copious
training for users. Would be nice. The more techie oriented users deal
with it no probs so it isn't canned completely.  Someday maybe


 It there a way of exploiting the BackupPC_Restore to dump to a local
 folder, even if piped through tar/gtar/star?

 Not through the web interface, but from _my_ terminal.

 The generic way is with the command line BackuPC_tarCreate which you can
 find in the documentation.  You can pipe its output directly into a tar
 -x where you want it.


Thanks Les,

I'll take a closer look.

Cheers for your advice.

Rob

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] GUI error after upgrade

2007-02-13 Thread Jim McNamara
Hello list!

My thanks again go out to Craig for a great piece of software!

I have been running BackupPC 2.1.1 on a debian box, installed by the
apt-get package system. Tonight I upgraded by compiling 3.0.0, and
encountered a good number of problems, largely resulting from Debian
modifications. The problems had for the most part been covered on this
list previously, and I got through nearly all of them.

The problem that remains is some misconfiguration of the webpage or
cgi script. I have 3 hosts being backed up, one using tar with a very
limited sudo, one with samba, and the 3rd with rsyncd. With all 3
hosts, I can view their previous backups, but clicking on the Start
Incr Backup or Start Full Backup will simply return me to the
default homepage, the one generated by the BackupPC_Admin file in the
cgi-bin.

The currently running jobs section of the main page will have nothing
in it, and a CLI check will confirm that the backup is not being
performed. When I follow the steps in the FAQ, I can su to the
backuppc user, and issue the command __INSTALLDIR__/bin/BackupPC_dump
-v -f hostName, and the backup will be done. The main page still
doesn't show anything in process under currently running jobs, but
once the CLI backup is complete, the backup files will exist, and the
webpage GUI shows them.

It seems the config and executable files as well as permissions are
all correct, otherwise the CLI backup would fail. I am logging both
errors and access to an apache log in addition to backuppc's own
logging, but I don't see anything. The data directory, where the
individual host XferLog and LOG files are don't get updated at all
when I use the webpage to start the backup, but the CLI backup updates
all logs in this directory as expected.

If any additional info or configs would make this easier to diagnose,
please let me know.

Thanks,
Jim

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