Re: [BackupPC-users] Absolute Symlink Hang

2007-07-04 Thread Curt Grimley
Doug Mitchell wrote:
> BPC Users,
>
> I'm backup up a remote Linux system using rsync over SSH with BackupPC-3.0.0.
>
> My per-host config file contains:
>
> $Conf{BackupFilesOnly} = [
> '/etc',
> '/usr/local',
> ];
>
> Everything works fine unless I put an abolute symlink in /usr/local using
> cd /usr/local ; ln -s /var var
>
> Then BackupPC will hang during the backup and it will have to be manually
> killed.  If the symlink is relative, everything works fine.
>   
Hi Doug,

This probably won't help much, but I thought I would try your approach.  
I use the rsyncd method (meaning there is rsync running in daemon mode 
running on the client).  Rsync version is 2.6.9.

There is no hang or error message, but looking at the backup, instead of 
a directory I got a 12 byte file containing what looks like very random 
binary data.

However in the http interface, the file is identified as type symlink, 
and apparently has the information required to restore the symlink if 
needed.

Indeed, I remove the symlink on the client and execute the restore, the 
symlink is perfectly recreated, except the time stamp is the current 
time instead. (Is that how the relative symlink works for you?)

There are my observations anyway...
Curt


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Not getting all files on a C share from Win XP

2007-07-04 Thread Tyler Dunn
I've installed backuppc on a Ubuntu box and can backup successfully shares 
from an XP machine on my network.  (The shares are the "My Document" folders 
from the two main users.).  I would prefer to backup the whole C: drive, but 
I'm running into a problem.  I shared the C: drive in XP and listed it as 
the samba share to backup in the *.pl file for backuppc.  The backup runs 
successfully and no error shows up in the server log.  However, when I 
browse the backup I see that it only backed up some of the files on the 
drive.  For example, it backs up the 'Documents and Settings' folder but 
none of the information in the subfolders that hold the user "My Documents" 
data.  When I click on a user folder (folder that is within the 'Documents 
and Settings' folder, it says that "The directory C/Documents and 
Settings/Tyler is empty." (my user name and folder)  This folder isn't 
empty. It holds some preference information and my "My Documents" folder, 
which I can backup with this installation if I specify that share in the 
*.pl config file for this machine.

Can someone point me in the right direction.  Is it possible to back up the 
entire C drive?  I looked at some how to's and they only said to enable file 
sharing in XP for the C drive, which I did.

Thanks.  Also please respond to this email.  I've never used a mailing list 
before and I'm not sure how they work.  My email is rtylerdunn at h o t ma i 
l . co m.  Thanks twice.

_
http://liveearth.msn.com


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Ldap authentication using mod_authz_ldap

2007-07-04 Thread Dale Renton
This works for us.


   SSLRequireSSL
   AuthNameBackupPC
   AuthTypeBasic
   AuthzLDAPEngine on
   AuthzLDAPServer "localhost:389"
   AuthzLDAPUserKey uid
   AuthzLDAPUserBase ou=people,dc=example,dc=com

   require valid-user



Dale

  - Original Message - 
  From: ravi thakur 
  To: backuppc-users@lists.sourceforge.net 
  Sent: Monday, July 02, 2007 6:49 AM
  Subject: [BackupPC-users] Ldap authentication using mod_authz_ldap


  below is my httpd.conf file for backuppc. I am unable to authenticate using 
mod_authz_ldap .

  plz if anybody worked on it let me know.

  

  SetHandler perl-script

  PerlResponseHandler ModPerl::Registry

  PerlOptions +ParseHeaders

  Options +ExecCGI

  Allow from all

  AllowOverride Indexes AuthConfig

  Options FollowSymLinks



  AuthzLDAPEngine on

  AuthzLDAPServer ldaps://ldap.etrade.com:636

  AuthzLDAPUserBase dc=etrade,dc=com

  AuthzLDAPUserKey uid

  AuthzLDAPUserScope subtree

  AuthzLDAPBindDN uid=proxyuser,ou=People,dc=etrade,dc=com

  AuthzLDAPBindPassword "secret"

  AuthzLDAPLogLevel debug

  AuthType basic

  AuthName "[EMAIL PROTECTED]"

  Require valid-user

  
  -- 
  Ravi Bhushan Thakur
  Network Administrator
  Subex Technologies Ltd 


--


  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/


--


  ___
  BackupPC-users mailing list
  BackupPC-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/backuppc-users
  http://backuppc.sourceforge.net/
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
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 do I configure BackupPC to find repeated files?

2007-07-04 Thread Craig Barratt
Peter writes:

>o Pool is 2.88GB comprising 17366 files and 4359 directories (as of 
> 7/4 01:01),
>
> [snip]
>
> There are 3 hosts that have been backed up, for a total of:
> * 6 full backups of total size 11.84GB (prior to pooling and compression),
> * 18 incr backups of total size 1.72GB (prior to pooling and compression).
>
> [snip]
>
> I know there are identical files on the three hosts although they are
> not located in identical directory tree. How do I configure BackupPC
> to find these repeated/identical files?

It's already doing it.  The pool occupies 2.88GB of space, and
the total size of all backups is 11.84 + 1.72 = 13.56GB.

By the way, with the default config backups will be skipped starting
today because the pool file system is now too full (> 95%):

>o Pool file system was recently at 97% (7/4 22:00), today's max is 
> 97% (7/4 20:00) and yesterday's max was 94%.

Craig

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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 do I configure BackupPC to find repeated files?

2007-07-04 Thread Ralf Gross
Peter Carlsson schrieb:
> I know there are identical files on the three hosts although they are
> not located in identical directory tree. How do I configure BackupPC
> to find these repeated/identical files?

BackupPC finds these files automaticially during backup. Only one copy
exist in the pool.


http://backuppc.sourceforge.net/faq/BackupPC.html
Identical Files

BackupPC pools identical files using hardlinks. By ``identical
files'' we mean files with identical contents, not necessary the
same permissions, ownership or modification time. Two files might
have different permissions, ownership, or modification time but
will still be pooled whenever the contents are identical. This is
possible since BackupPC stores the file meta-data (permissions,
ownership, and modification time) separately from the file
contents.

For more details -> 'BackupPC Design' on the same page.

Ralf


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] How do I configure BackupPC to find repeated files?

2007-07-04 Thread Peter Carlsson
Hello!

I have been using BackupPC for a couple of weeks now and
I think it's wonderful? Excellent piece of software!

The server status says:

*  The servers PID is 17586, on host debian, version 2.1.2pl1, started 
at 7/4 15:08.
* This status was generated at 7/4 22:23.
* The configuration was last loaded at 7/4 15:08.
* PCs will be next queued at 7/4 23:00.
* Other info:
   o 0 pending backup requests from last scheduled wakeup,
   o 0 pending user backup requests,
   o 0 pending command requests,
   o Pool is 2.88GB comprising 17366 files and 4359 directories (as of 
7/4 01:01),
   o Pool hashing gives 0 repeated files with longest chain 0,
   o Nightly cleanup removed 18 files of size 0.01GB (around 7/4 01:01),
   o Pool file system was recently at 97% (7/4 22:00), today's max is 
97% (7/4 20:00) and yesterday's max was 94%.

Hosts with good Backups

There are 3 hosts that have been backed up, for a total of:
* 6 full backups of total size 11.84GB (prior to pooling and compression),
* 18 incr backups of total size 1.72GB (prior to pooling and compression).

HostUser#Full   Full Age/days   Full Size/GBSpeed MB/sec#Incr 
Incr Age/days   State   Last attempt
htpcpeter   2   1.1 1.831.696   2.1 idlenothing 
to do
localhost   backuppc1   7.1 2.731.856   1.1 
idlenothing to do
tux peter   3   0.2 4.660.706   1.2 idlebackup 
done

I know there are identical files on the three hosts although they are
not located in identical directory tree. How do I configure BackupPC
to find these repeated/identical files?

Best regards,
Peter Carlsson

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] /var/lib/backuppc replace HDD

2007-07-04 Thread Stefan Degen
Rodrigo Real <[EMAIL PROTECTED]> schrieb:


> "Nils Breunese (Lemonbit)" <[EMAIL PROTECTED]> writes:
> > Stefan Degen wrote:
> >> "Nils Breunese (Lemonbit)" <[EMAIL PROTECTED]> schrieb:
> >>> P.S. You could also just start over and keep the old disk
> >>> around for emergency...
> >>
> >> This is a quite good idea. If there is an emergency, i only
> >> need to change the harddisk again? Backuppc will not be
> >> angy :-)?
> >
> > If you stop the backuppc daemon before unmounting and
> > removing the drive, I think it should be fine, but I haven't
> > tried this myself.
>
> I also think it would work.
>
> If you are in a hurry, don't try to copy the files, it will
> take a long time, and you will have to stop doing backups
> during this time. I had a problem with a disk in a LVM last
> week, I had something like 120GB of data in the backuppc pool,
> and it took almost 4 days to copy everything to another disk.

Oh, that would be too much time for us.

Well, i did it like Nils has written. I only replaced the 
harddisk, set the mountpoint to /var/lib/backuppc (change the 
permissions for the /var/lib/backuppc directory to 
backuppc:backuppc) and that all i did.

At the moment a client does a full backup

Thanks a lot for your help.

Stefan




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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 won't take scheduled backups

2007-07-04 Thread Rodrigo Real
ilias <[EMAIL PROTECTED]> writes:

Hi

> ok i've managed to make it work. Scheduled backups are working ok and updated
> files are stored correctly using rsyncd (i used the cygwin-rsync packet on the
> windows client). I need to ask you one thing though. IncrPeriod is set as
> default 0.97, does this mean backuppc takes incremental backups once per day ?
> and what time of day does it take the backup ? 
>
> I would like to make it take incremental backups of every pc at 18:00 every 
> day
> and full backups once per week on mondays at 21:00. 

In backuppc you don't schedule a specific time for a backup to start,
instead, you specify the wakeup times, in which it will try to do
the backups, and you specify the blackout period in which it will not
do backups. So you should play with this values to make what you
want. 

Also take a look at $Conf{MaxBackups} and $Conf{MaxUserBackups}, which
define how many backups you will do simultaneously.

Rodrigo


>
> thanks for you reply
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] BackupPC ends with a timeout

2007-07-04 Thread Regis Gras
I always have the following error
<>
- I checked the disk with "chkdsk" :  All is OK
- I recompiled samba to increase the smbclient time out from
2 milliconds to 20 milliseconds.  The same problem always
occurs
- I tried to uninstall the AV software (ViruScan) . Same problem
- I change the Network Interface Card. I use now a recent NIC.
D Link DGE 528 (10/100/1000)...  Same problem.


When BackuPC crashes, it's always with the same file and the same message
with exactly the same nread value:
<>


 I tested to copy this file on two others PC. The problem is excatly the
same with this file (Didn't get entire file. size=207872, nread=65520)
(the same nread)


 The file is a MSoffice file (.doc) and though it seems to be clean. I 
can read
it or move it

 More over, this problem appears to be the same on several other PC but for
other file. (Call timed out: server did not respond  ).
So, for each PC, the file is different.
The only one solution I found is to exclude the file, and then, BackupPC 
works
fine.

The problem may come from the file but why 
Could some one help me to solve this problem.

Note: I can send you the file if you wish (203Ko)


-- 
==
| Régis Gras | http://dcm.ujf-grenoble.fr|
|   D.C.M.   | mailto:[EMAIL PROTECTED] |
| 301, rue de la chimie  | --|
| DU BP 53   | Tel 04 76 51 41 76|
| 38041 Grenoble Cedex 9 | Fax 04 76 51 40 89|
==


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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 won't take scheduled backups

2007-07-04 Thread ilias
ok i've managed to make it work. Scheduled backups are working ok and updated
files are stored correctly using rsyncd (i used the cygwin-rsync packet on the
windows client). I need to ask you one thing though. IncrPeriod is set as
default 0.97, does this mean backuppc takes incremental backups once per day ?
and what time of day does it take the backup ? 

I would like to make it take incremental backups of every pc at 18:00 every day
and full backups once per week on mondays at 21:00. 

thanks for you reply


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] /var/lib/backuppc replace HDD

2007-07-04 Thread Rodrigo Real
"Nils Breunese (Lemonbit)" <[EMAIL PROTECTED]> writes:

> Stefan Degen wrote:
>
>> "Nils Breunese (Lemonbit)" <[EMAIL PROTECTED]> schrieb:
>>
>>> P.S. You could also just start over and keep the old disk
>>> around for emergency...
>>
>> This is a quite good idea. If there is an emergency, i only need
>> to change the harddisk again? Backuppc will not be angy :-)?
>
> If you stop the backuppc daemon before unmounting and removing the
> drive, I think it should be fine, but I haven't tried this myself.

I also think it would work.

If you are in a hurry, don't try to copy the files, it will take a
long time, and you will have to stop doing backups during this time. I
had a problem with a disk in a LVM last week, I had something like
120GB of data in the backuppc pool, and it took almost 4 days to copy
everything to another disk. Of course, one of my disks had some errors
which slows the copy, but most of the time was spent for re-creating
the hard links.

Rodrigo

>
> Nils Breunese.
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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 won't take scheduled backups

2007-07-04 Thread Rodrigo Real
ilias <[EMAIL PROTECTED]> writes:

Hi Ilias


> I got BackupPC 3.0 up and running. I'm currently testing it with a windows
> client using a samba share. I haven't touched anything in the default
> configuration with which I believe the server should take backups of all hosts
> every 1 hour excluding the blackout period which is the only thing I changed 
> in
> order to test it. This is the last line of the logs, and every time that 
> passes
> it reproduces the same message. 
>
> "2007-07-04 10:00:00 Next wakeup is 2007-07-04 11:00:00"
>
> And just that, no backups are been taken by the system.

Take a look at your "Host Summary" screen, and tell us what is the
"last attempt" message for this host.

>
> Also if I manually take incremental backups after I make some changes in the
> files of the share, for instance, change the filename of a file, the 
> incremental
> backup won't see that change and take backup of the file with its older
> filename. I have to take full backups in order to store updated files. Any
> solutions to that ? I've read somewhere that samba method won't be able to
> detect file changes and I'll have to install cygwin in every client in order 
> to
> use rsync which does proper backup of updated files, is that true ? 

This seems to be a problem with the samba transfer method, take a look at:

, http://backuppc.sourceforge.net/faq/roadMap.html
| Replacing smbclient with the perl module FileSys::SmbClient. This
| gives much more direct control of the smb transfer, allowing
| incrementals to depend on any attribute change (eg: exist, mtime, file
| size, uid, gid), and better support for include and exclude. Currently
| smbclient incrementals only depend upon mtime, so deleted files or
| renamed files are not detected. FileSys::SmbClient would also allow
| resuming of incomplete full backups in the same manner as rsync will.
`

Maybe this rsync windows package will help: http://itefix.no/cwrsync/

I had never used it, ok? Maybe you could send some feedback about
rsync and windows if you go this way.


Best regards,
Rodrigo

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Tar errors all of a sudden for localhost only

2007-07-04 Thread Rob Morin




Does anyone have any idea why this is happening ??

I would appreciate any suggestions...

Thanks... Have a super day!
Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-


Rob Morin wrote:

  
OK so i ran this command...
  
[EMAIL PROTECTED]:~$ /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost
-n 14 -s /etc -t /aliases
  
And the output was this
  
./aliases6440036410634234246011264 0ustar 
rootroot# /etc/aliases
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
root: [EMAIL PROTECTED]
clamav: root
amavis: root
logcheck: root
Done: 1 files, 244 bytes, 0 dirs, 0 specials, 0 errors
  
And the file was NOT restored!?
  
Was up with that???
  
the LOG file in /var/lib/backuppc/log  has this in it
  
2007-06-29 14:15:17 User backuppc requested restore to localhost
(localhost)
2007-06-29 14:15:17 Started restore on localhost (pid=5284)
2007-06-29 14:15:21 Restore failed on localhost (BackupPC_tarCreate
failed)
  
On the web gui i get
  2007-06-29 14:15:17 Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 14 -s /etc -t /aliases
2007-06-29 14:15:21 Restore failed (BackupPC_tarCreate failed)
  
Just for FYI
  
joe:/var/lib/backuppc# ls -la 
total 12
drwxr-x---  8 backuppc backuppc   91 2007-06-14 12:42 .
drwxr-xr-x 41 root root 4096 2007-06-27 09:31 ..
-rw---  1 backuppc backuppc 2258 2007-06-29 14:16 .bash_history
drwxr-x--- 18 backuppc backuppc  134 2007-06-14 10:00 cpool
drwxr-x---  2 backuppc backuppc 4096 2007-06-29 01:00 log
drwxr-x---  6 backuppc backuppc   57 2007-06-14 12:39 pc
drwxr-x---  2 backuppc backuppc    6 2007-02-06 13:46 pool
drwx--  2 backuppc backuppc   54 2007-06-14 12:49 .ssh
drwxr-x---  2 backuppc backuppc    6 2007-06-29 08:48 trash
  
joe:/etc/backuppc# ls -la 
total 172
drwxr-xr-x  2 root root  4096 2007-06-14 12:32 .
drwxr-xr-x 87 root root  4096 2007-06-29 14:16 ..
-rw-r--r--  1 root root   414 2007-02-06 13:46 apache.conf
-rw-r--r--  1 root root 64328 2007-06-14 12:32 configPETER
-rw-r--r--  1 root root 64437 2007-06-29 08:41 config.pl
-rw-r--r--  1 root root  2301 2007-06-14 12:24 hosts
-rw-r--r--  1 root root 0 2007-06-14 09:04 htgroup
-rw-r--r--  1 root root    23 2007-06-19 12:21 htpasswd
-rw-r--r--  1 root root   603 2007-06-29 08:43 localhost.pl
-rw-r--r--  1 root root   244 2007-06-14 12:22 peter.pl
-rw-r--r--  1 root root   147 2007-06-14 12:22 quag.pl
-rw-r--r--  1 root root   147 2007-06-14 12:22 stewy.pl
  
# User privilege specification
root    ALL=(ALL) ALL
backuppc    ALL=(ALL) NOPASSWD: /bin/tar 
  
joe:/etc/backuppc# grep backup /etc/group
backuppc:x:114:
  
joe:/etc/backuppc# grep backup /etc/passwd
backuppc:x:114:114:BackupPC,,,:/var/lib/backuppc:/bin/sh
  
Anything else?
  
  
  Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-
  
  
Randy Barlow wrote:
  
Rob Morin wrote:
  

  2007-06-29 13:35:40 Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost  -n 16 -s /etc -t /updatedb.conf
2007-06-29 13:35:45 Restore failed (BackupPC_tarCreate failed)

I do not get it?  Backup works fine just restore does not..

What else should i be checking... any logs?



Hmm, try using su - backuppc to become the backuppc user, and try the 
restore command there and see if you can do it or not.  You can also 
look at the logs on the CGI interface to see if they give you any useful 
info...

  
  
  

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
  

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




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] /var/lib/backuppc replace HDD

2007-07-04 Thread Nils Breunese (Lemonbit)

Stefan Degen wrote:


"Nils Breunese (Lemonbit)" <[EMAIL PROTECTED]> schrieb:


P.S. You could also just start over and keep the old disk
around for emergency...


This is a quite good idea. If there is an emergency, i only need
to change the harddisk again? Backuppc will not be angy :-)?


If you stop the backuppc daemon before unmounting and removing the  
drive, I think it should be fine, but I haven't tried this myself.


Nils Breunese.


PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] /var/lib/backuppc replace HDD

2007-07-04 Thread Stefan Degen
"Nils Breunese (Lemonbit)" <[EMAIL PROTECTED]> schrieb:


> Stefan Degen wrote:
> > /var/lib/backuppc has its own harddisk. The problem is, that
> > the harddisk is full and there is no LVM or RAID.
> >
> > So is it possible to change the harddisk like this (without
> > to lose the backups)?

> > 3. copy all data stored on the old harddisk to the new one
> > with rsync -H /old_harddisk /new_var/lib/backuppc
> >
> > 4. start backuppc
>
> rsync -paH or something might be better, but because of all
> the hardlinks it might take quite a while to copy all the
> data. The fastest way to copy and preserve everything is
> probably to use dd to copy everything to the new drive and
> then grow the filesystem afterwards.

> P.S. You could also just start over and keep the old disk
> around for emergency...

This is a quite good idea. If there is an emergency, i only need 
to change the harddisk again? Backuppc will not be angy :-)?

Stefan


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] /var/lib/backuppc replace HDD

2007-07-04 Thread Nils Breunese (Lemonbit)

Stefan Degen wrote:


/var/lib/backuppc has its own harddisk. The problem is, that the
harddisk is full and there is no LVM or RAID.

So is it possible to change the harddisk like this (without to
lose the backups)?

1. stop backuppc

2. Install the new harddisk and set the mountpoint
to /var/lib/backupc

3. copy all data stored on the old harddisk to the new one with
rsync -H /old_harddisk /new_var/lib/backuppc

4. start backuppc


rsync -paH or something might be better, but because of all the  
hardlinks it might take quite a while to copy all the data. The  
fastest way to copy and preserve everything is probably to use dd to  
copy everything to the new drive and then grow the filesystem  
afterwards.


Nils Breunese.

P.S. You could also just start over and keep the old disk around for  
emergency...


PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] /var/lib/backuppc replace HDD

2007-07-04 Thread Stefan Degen
Hello,

/var/lib/backuppc has its own harddisk. The problem is, that the 
harddisk is full and there is no LVM or RAID.

So is it possible to change the harddisk like this (without to 
lose the backups)?

1. stop backuppc

2. Install the new harddisk and set the mountpoint 
to /var/lib/backupc

3. copy all data stored on the old harddisk to the new one with 
rsync -H /old_harddisk /new_var/lib/backuppc

4. start backuppc

Stefan

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] problems during/after backup

2007-07-04 Thread Thomas Günther
Holger Parplies schrieb:
> Hi,
[...]
> yes, sorry, my fault. There's a typo in my patch. You applied the patch
> correctly and to the correct file (/path/to/lib/BackupPC/Xfer/Tar.pm).
> The patch should have tested $? and not $! ... in context:
> 
>if ( !close($t->{pipeTar}) && $? != 256 ) {

That works, thanks a lot! :)


[...]
> Regards,
> Holger


regards,
Thomas

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] tarextract, checksum error

2007-07-04 Thread Holger Parplies
Hi,

Bruno Zuber wrote on 04.07.2007 at 06:22:49 [[BackupPC-users] tarextract, 
checksum error]:
> [the same as always, plus:]
> 
> Now i have updated to 3.0.0 but the problem persists

two things to try:

1.) Stop sending the same mail to the list every day.
2.) Try providing some useful information.

Regards,
Holger

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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 OSX tar errors

2007-07-04 Thread Torsten Sadowski
Hello,

I have no problems with Tiger tar. You should really make sure Parallels is 
not running during backups. Otherwise you will never get a valid backup. Is 
it just one file or does Parallels split disk images into smaller chunks like 
vmware?

Cheers, Torsten

Am Dienstag, 3. Juli 2007 23:28 schrieb James Ward:
> This is OS X Tiger tar, so nothing new until Leopard...
>
> Does anyone know if OS X Tiger rsync takes care of resource forks?
>
> James
>
> On Jul 3, 2007, at 1:13 PM, Craig Barratt wrote:
> > James writes:
> >>> What version of tar is this?
> >>
> >> Tomm:/Users/user root# tar --version
> >> tar (GNU tar) 1.14 +CVE-2006-0300 +CVE-2006-6097
> >>
> >>>   If it is not standard gnu tar, is
> >>> there source available to look at?  How big is the winxp.hdd
> >>> file?
> >>
> >> -rw-r--r--1 user  user  8731151360 Jul  2 20:25 winxp.hdd
> >
> > tar 1.14 had a bug related to not correctly padding files that
> > got smaller during archiving.  Doing this:
> >
> > diff -bur tar-1.14/src/create.c tar-1.16.1/src/create.c
> >
> > shows this change:
> >
> > @@ -868,39 +1034,54 @@
> >  quotearg_colon (st->orig_file_name),
> >  STRINGIFY_BIGINT (size_left, buf)));
> >   if (! ignore_failed_read_option)
> > -   exit_status = TAREXIT_FAILURE;
> > - pad_archive (size_left);
> > +   exit_status = TAREXIT_DIFFERS;
> > + pad_archive (size_left - (bufsize-count));
> >   return dump_status_short;
> > }
> >  }
> >
> > which I suspect is the change mentioned in the ChangeLog:
> >
> > 2005-05-12  Sergey Poznyakoff  <[EMAIL PROTECTED]>
> >
> > * src/create.c (dump_regular_file): Correctly pad archive
> > members
> > that shrunk during archiving. Repored by Frank Heckenbach.
> >
> > So I recommend trying a newer version of tar.  However, I don't know
> > if OSX adds features for resource forks to tar, so the vanilla GNU
> > tar might not handle resource forks.  Does a newer OSX have a newer
> > tar version?
> >
> > Craig
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] BackupPC won't take scheduled backups

2007-07-04 Thread ilias
I got BackupPC 3.0 up and running. I'm currently testing it with a windows
client using a samba share. I haven't touched anything in the default
configuration with which I believe the server should take backups of all hosts
every 1 hour excluding the blackout period which is the only thing I changed in
order to test it. This is the last line of the logs, and every time that passes
it reproduces the same message. 

"2007-07-04 10:00:00 Next wakeup is 2007-07-04 11:00:00"

And just that, no backups are been taken by the system.

Also if I manually take incremental backups after I make some changes in the
files of the share, for instance, change the filename of a file, the incremental
backup won't see that change and take backup of the file with its older
filename. I have to take full backups in order to store updated files. Any
solutions to that ? I've read somewhere that samba method won't be able to
detect file changes and I'll have to install cygwin in every client in order to
use rsync which does proper backup of updated files, is that true ? 




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/