Re: [BackupPC-users] BackupPC Working Well - Except Archiving

2008-11-18 Thread samk-01
I am struggling to create an archive from the command line.  The desired 
outcome is to emulate the clicking of the "Start Archive" button in the web 
page as this method is working perfectly.  The overall objective is to create 
the archive as a cron job.

>From /usr/share/backuppc/bin/BackupPC_archive
Extract Start
# BackupPC_archive: Archive files for an archive client.
#
# DESCRIPTION
#
#   Usage: BackupPC_archive   
Extract End

I cannot find the definitions ofand all 
permutations of my guesses of what might be required have all failed.  Can 
anyone help or indicate where the definitions are listed?

SamK



> 
> From: <[EMAIL PROTECTED]>
> Date: 2008/11/17 Mon AM 11:15:03 GMT
> To: "General list for user discussion,
>   questions and support" , 
>   "General list for user discussion,
>   questions and support" 
> Subject: Re: [BackupPC-users] BackupPC Working Well - Except Archiving
> 
> InstallDir on my system = /usr/share/backuppc
> In /usr/share/backuppc/bin are various files including:
> BackupPC_archive  (Note not BackupPC_archiveStart)
> BackupPC_archiveHost
> 
> The on-line docs at Sourceforge do not correspond with my Ubuntu 8.04-Server 
> LTS distribution.
> 
> At the command line, using the full path, both can be started.  From the CGI 
> it appears that BackupPC_archiveHost is started with the following command:
> $Installdir/bin/BackupPC_archiveHost $tarCreatePath $splitpath $parpath $host 
> $backupnumber $compression $compext $splitsize $archiveloc $parfile *
> 
> Still, it doesn't explain why it it fails to run when scheduled or fails to 
> create a log entry, but works when started manually using the button in the 
> CGI and creates the log entries.
> 
> SamK
> 
> > 
> > From: "Nils Breunese (Lemonbit)" <[EMAIL PROTECTED]>
> > Date: 2008/11/17 Mon AM 09:45:41 GMT
> > To: "General list for user discussion,
> > questions and support" 
> > Subject: Re: [BackupPC-users] BackupPC Working Well - Except Archiving
> > 
> > SamK wrote:
> > 
> > > The on-line documentation at Sourceforge mentions creating an  
> > > archive at the command line using BackupPC_archiveStart.  This  
> > > method fails as the system cannot find BackupPC_archiveStart.
> > 
> > The BackupPC_archiveStart binary is probably not in your path. Try  
> > calling it using the full path, e.g. /usr/local/BackupPC/bin/ 
> > BackupPC_archiveStart on our systems.
> > 
> > 
> > 
> > -
> > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> > Build the coolest Linux based applications with Moblin SDK & win great 
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > ___
> > BackupPC-users mailing list
> > BackupPC-users@lists.sourceforge.net
> > List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> > Wiki:http://backuppc.wiki.sourceforge.net
> > Project: http://backuppc.sourceforge.net/
> > 
> 
> 
> -
> Email sent from www.virginmedia.com/email
> Virus-checked using McAfee(R) Software and scanned for spam
> 
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
> 

-
Email sent from www.virginmedia.com/email
Virus-checked using McAfee(R) Software and scanned for spam


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] $Conf{RsyncShareName} globally and for hosts

2008-11-18 Thread Christian Völker
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Yohoo!

Yes, it's perhaps a stupid question. Anyway:

I have a global option in the config.pl:
$Conf{RsyncShareName}= ['/','/boot'];

Rsync is configured with the '--one-filesystem'.

So my rsync hosts are backed up including / and /boot. Fine

On some hosts there are some more shares to backup i.e. /srv/ftp.

What is the right statement in the hosts.pl file?
$Conf{RsyncShareName}= ['/','/boot','/srv/ftp'];
or
$Conf{RsyncShareName}= '/srv/ftp';

In other words: will this value be overwritten or will it be added?

Greetings!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFJInvI0XNIYlAXmzsRAps9AKCKECcyqh+hPJAEmffcn7ogJqiVvwCgt9Tu
5gFDHIziEonOA+4cMjERKCU=
=a8C5
-END PGP SIGNATURE-

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backuppc mirroring with rdiff-backup or not?

2008-11-18 Thread Christian Völker
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Yohoo!

> I think that you can use rsync v3 (on both sides) to sync pools without
> issue.
> I'm assuming that you are using linux here also.  With *solaris you have
> the zfs option as well.
> I did some research a while back to use a cluster filesystem for the
> storage pool but all cluster filesystems have much lower I/O performance
> than an on-disk filesystem.

My way to backup the backup ;-) is LVM

The pool is on a LVM as a LV. To backup the pool while backuppc is
running I can take a snapshot of the pool's LV and I rsync this one. So
there are no filesystem issues and backuppc can stay running while the
rsync is running.

As the pool is connected to the backuppc through iSCSI the backup runs
on a different host and does not influence any running backuppc tasks.

Works like a champ!


Greetings

Christian
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFJIn4l0XNIYlAXmzsRAmC1AKCbXoPjMYoM+w8TEQ7N8aGb/+t5rACgxx57
BF2UumTRS3pD7mqcxyf8wDk=
=YU7g
-END PGP SIGNATURE-

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] $Conf{RsyncShareName} globally and for hosts

2008-11-18 Thread Nils Breunese (Lemonbit)
Christian Völker wrote:

> I have a global option in the config.pl:
> $Conf{RsyncShareName}= ['/','/boot'];
>
> Rsync is configured with the '--one-filesystem'.
>
> So my rsync hosts are backed up including / and /boot. Fine
>
> On some hosts there are some more shares to backup i.e. /srv/ftp.
>
> What is the right statement in the hosts.pl file?
> $Conf{RsyncShareName}= ['/','/boot','/srv/ftp'];
> or
> $Conf{RsyncShareName}= '/srv/ftp';
>
> In other words: will this value be overwritten or will it be added?

It's an override.

Nils Breunese.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] BackupPC_zipCreate and charset for encoding file names

2008-11-18 Thread Alexander Moisseev
My conclusions from PKWARE Application Note:

1. Encoding must be OEM code page of terminal where zip will be viewed or 
unpacked;
2. "version made by" field must be set in accordance with OS where zip will be 
viewed or unpacked;
3. If filenames encoded in UTF-8 (Linux terminal code page), general purpose 
bit 11 for UTF-8 must be set for crossplatform compatibility. Last versions of 
some windows archivers supports it.

I have no idea yet what command line options and defaults must be and how 
integrate it with CGI.
But with hardcoded charset and "version made by" BackupPC_zipCreate works 
perfectly well with most windows archivers.

BackupPC_zipCreate:
8<--
#=> Set OEM code page for unpacking terminal
my $Charset = "cp866"; #Cyrillic code page. Change to yours windows terminal 
code page.
8<--
# Specify the compression level for this member
$zipmember->desiredCompressionLevel($compLevel) if ($compLevel =~ /[0-9]/);

#=> Set "version made by" field to 0 (MS-DOS)
$zipmember->fileAttributeFormat('FA_MSDOS');

#=> Set general purpose bit 11 for UTF-8
$zipmember->{bitFlag} = $zipmember->{bitFlag} | 0x0800 if ( $Charset eq "" 
);

# Finally Zip the member
$zipfh->addMember($zipmember);
}
8<--

P.S. Also Appendix D of Application Note on the .ZIP file defines optional 
"Extra Field" storage for UTF filenames. But no archivers that really supports 
it.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] Import client config

2008-11-18 Thread Pierguido
Hi all.
I'm running backuppc on a linux server and everything works well.
I have now to move backuppc on a solaris server and the main 
installation went fine. I then copied the configuration files for the 
differente servers to be backed up...i modify the hosts files and it 
works...but, backuppc is not reading (so it seems) the per-server 
configuration files.
The permission are ok...everything belongs to backuppc user.
Can you help me?
Thanks

Pier

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backuppc mirroring with rdiff-backup or not?

2008-11-18 Thread Adam Goryachev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Christian Völker wrote:
> My way to backup the backup ;-) is LVM
> 
> The pool is on a LVM as a LV. To backup the pool while backuppc is
> running I can take a snapshot of the pool's LV and I rsync this one. So
> there are no filesystem issues and backuppc can stay running while the
> rsync is running.
> Works like a champ!

Except your filesystem is not in a stable state. You should stop
backuppc, umount your filesystem, then take your snapshot, and then
remount filesystem, start backuppc, and finally copy the snapshot
remotely as needed

With your existing method, you should fsck your filesystem after it is
copied to the remote location

BTW, 99% of the time it won't matter, but if it screws up that one time
when you need it, then oops :(
Regards,
Adam
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkijhMACgkQGyoxogrTyiXQNQCfW7EIyuYErCfUnWYXwzIouq5k
wg0AoLej/lIAth/L+lFNK8Zo7Led2iJR
=SqM4
-END PGP SIGNATURE-

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] merge host from one pool into another pool

2008-11-18 Thread Adam Goryachev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

dan wrote:
> I have done this on a small setup a while ago.  I just pulled over the
> pc directory from one into the other and adjusted my config files for
> the imported backups..  aditionally I made an error when copying and
> brought over numeric user ids for the files and had to chown them.  Im
> not sure if the nightly run will handle the typical deduplication or
> not.  I never checked.
> 
> so..yet you can merge them but I am not sure if you get deduplication in
> the next nightly run...

You would not get proper de-duplication... basically you keep the
de-duplication amongst the files you copy across, but because you are
not linking those files to the pool, you don't get any de-dupe between
the existing files in the pool and the new files you just copied across
under the pc dir.

Also, what is potentially worse, is the next backup will store another
duplicate for each file (because it doesn't exist in the pool). However,
the good news is that nothing should break by doing this, except you use
up additional disk space.

Finally, someone recently questioned what would happen if they moved the
pc dirs across one backup at a time, and then ran backuppc_link... I
don't recall seeing any response/answer to that, but it sounded like a
very sensible method to combine two backuppc systems...

Regards,
Adam
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkijyAACgkQGyoxogrTyiVGNQCgz0nXBuU8lXVByftUItigXkv4
uh0AoMns2SYlFMpHlyy4mtzzBAYjzLKk
=mZzv
-END PGP SIGNATURE-

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backuppc mirroring with rdiff-backup or not?

2008-11-18 Thread Christian Völker
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Yohoo!
>> My way to backup the backup ;-) is LVM
>> The pool is on a LVM as a LV. To backup the pool while backuppc is
>> running I can take a snapshot of the pool's LV and I rsync this one. So
>> there are no filesystem issues and backuppc can stay running while the
>> rsync is running.
>> Works like a champ!
> Except your filesystem is not in a stable state. 
You're partially right. AFAIK with journaling filesystem (like the ext3)
this shouldn't be an issue. I'm not dumping the partition with dd,
istead I mount the snapshot read-only.
I'm using rsync- so it reads the filesystem. Files not been written
totally should not be seen in the snapshot.

Greetings

Christian
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFJIpCQ0XNIYlAXmzsRAmYGAJwLpoxwu/xsl3OLo+vAG2MtklPEQwCfXeZj
zCTUTPFhB7dQ+a+0Muv0xAU=
=mWCf
-END PGP SIGNATURE-

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backuppc mirroring with rdiff-backup or not?

2008-11-18 Thread Rob Owens
Nils Breunese (Lemonbit) wrote:
> [EMAIL PROTECTED] wrote:
> 
>> Don't get me wrong:  I'll take the hacks.  It's better than  
>> nothing.  I, like I think *most* of us, would kill (or even pay  
>> for!) a method of replicating a pool in a guaranteed-correct way,  
>> especially at the host or even backup level.  But I still worry  
>> about using these hacks for production.
> 
> You could also set up two BackupPC servers in two different locations.  
> No hacks needed.
> 
That's what I do, and it works well.  My "offsite" BackupPC server is
actually an "onsite" BackupPC server at another office.  And my office
holds their offsite backups, so it works well.

-Rob


The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If you are not the addressee, any disclosure, reproduction,
copying, distribution, or other dissemination or use of this transmission in
error please notify the sender immediately and then delete this e-mail.
E-mail transmission cannot be guaranteed to be secure or error free as
information could be intercepted, corrupted lost, destroyed, arrive late or
incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard copy
version.




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backuppc mirroring with rdiff-backup or not?

2008-11-18 Thread Rob Owens
dan wrote:
> Also, I did try to do some software raid mirroring over iscsi but did
> not do much more that basic testing.  The problem here is that the raid
> mirroring is syncronous so the slow iscsi connection will effect backup
> performance quite a bit.  I couldnt find any info on making the linux
> software raid work in async mode with the local drive being the priority
> drive.
> 
Would the --write-mostly option do this?  (man mdadm)

-Rob


The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If you are not the addressee, any disclosure, reproduction,
copying, distribution, or other dissemination or use of this transmission in
error please notify the sender immediately and then delete this e-mail.
E-mail transmission cannot be guaranteed to be secure or error free as
information could be intercepted, corrupted lost, destroyed, arrive late or
incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard copy
version.




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] Rsyncd on XP

2008-11-18 Thread Eric Snyder
I was having problems with SMB on XP pro so have shifted gears and am 
trying Rsyncd. I ran a full backup of the cDrive setup. The problem is 
that I am using a backup user I created that is part of the user group 
"Backup Operators". I do get files backed up but... The only files I get 
in the Documents and Settings folder is the backup user's files 
(basically empty). There are other users there and I need to get those 
files backed up as well. There seems to be a permission problem and I 
can't get the other users files backed up.

How do I get all the users files backed up using Rsynced?

Config file:
[cDrive]
path = c:
comment = Entire Drive
auth users = removed,removed
secrets file = c:/rsyncd/rsyncd.secrets
# hosts allow = 172.16.0.17
strict modes = false
read only = true
list = false

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Import client config

2008-11-18 Thread Rob Owens
Pierguido wrote:
> Hi all.
> I'm running backuppc on a linux server and everything works well.
> I have now to move backuppc on a solaris server and the main 
> installation went fine. I then copied the configuration files for the 
> differente servers to be backed up...i modify the hosts files and it 
> works...but, backuppc is not reading (so it seems) the per-server 
> configuration files.
> The permission are ok...everything belongs to backuppc user.

On my system, all the config files are owned by backuppc and assigned to
group www-data.  The files have 640 permissions.

Can your web server user read the files?

-Rob


The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If you are not the addressee, any disclosure, reproduction,
copying, distribution, or other dissemination or use of this transmission in
error please notify the sender immediately and then delete this e-mail.
E-mail transmission cannot be guaranteed to be secure or error free as
information could be intercepted, corrupted lost, destroyed, arrive late or
incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard copy
version.




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Rsyncd on XP

2008-11-18 Thread Rob Owens
Eric Snyder wrote:
> I was having problems with SMB on XP pro so have shifted gears and am 
> trying Rsyncd. I ran a full backup of the cDrive setup. The problem is 
> that I am using a backup user I created that is part of the user group 
> "Backup Operators". I do get files backed up but... The only files I get 
> in the Documents and Settings folder is the backup user's files 
> (basically empty). There are other users there and I need to get those 
> files backed up as well. There seems to be a permission problem and I 
> can't get the other users files backed up.
> 
> How do I get all the users files backed up using Rsynced?
> 
> Config file:
> [cDrive]
> path = c:
> comment = Entire Drive
> auth users = removed,removed
> secrets file = c:/rsyncd/rsyncd.secrets
> # hosts allow = 172.16.0.17
> strict modes = false
> read only = true
> list = false
> 

Does your rsyncd.conf file have a line like:

uid = someuser

This is the user that that the rsync daemon runs as.  Mine is set to be
my backup user.  I'm not sure what the default is, but if it's uid =
administrator, that might not give you enough rights to see everything.
 I'm pretty sure it needs to be run as someone who is in the "Backup
Operators" group.

Additionally, on my systems I found that some files were not readable by
the "Backup Operators" group.  That made it impossible for me to backup
those files until I fixed the problem.

-Rob


The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If you are not the addressee, any disclosure, reproduction,
copying, distribution, or other dissemination or use of this transmission in
error please notify the sender immediately and then delete this e-mail.
E-mail transmission cannot be guaranteed to be secure or error free as
information could be intercepted, corrupted lost, destroyed, arrive late or
incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard copy
version.




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Vista client unauthorized user

2008-11-18 Thread Carl Wilhelm Soderstrom
On 11/18 08:49 , Jaco Lange wrote:
> I am using deltacopy on Windows vista 32/64 bit and Server 2008 without any
> problem
> http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp

It looks like Deltacopy just adds a bunch of GUI stuff and OS integration to
rsyncd. This is fine and dandy for some applications; but I've gotten rather
accustomed to just copying the rsyncd.conf and rsyncd.secrets files, then
running the service.bat file to install it as a service. This also makes it
possible to integrate it nicely with full cygwin installs.

Is it possible to copy a deltacopy config file into place and use it;
without having to go through the GUI, clicking buttons and filling out
fields on every machine?

There's a really good document out there somewhere, about what Microsoft
learned when they bought out Hotmail and tried to convert all the Unix
mailservers to WinNT. Turns out that being able to drop a config file into
place on hundreds of machines simultaneously with a script, is a very
valuable thing to have. 

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

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] BackupPC Working Well - Except Archiving

2008-11-18 Thread jkewley
Trying an alternative angle on this...
An archive is successfully created when started from within the web page.  This 
produces a log-file with the following entry:
Executing: /usr/share/backuppc/bin/BackupPC_archiveHost 
/usr/share/backuppc/bin/BackupPC_tarCreate /usr/bin/split  home---tom 10 
/bin/gzip .gz 000 /var/lib/backuppc/pc/whole---all_backups  *

In a terminal running exactly the same command line as user = backuppc returns:
Usage: /usr/share/backuppc/bin/BackupPC_archiveHost tarCreatePath splitPath 
parPath host bkupNum compPath fileExt splitSize outLoc parFile share

Any suggestions why this runs successfully from the CGI but fails at the 
command line?


SamK-01


> I am struggling to create an archive from the command 
> line. The desired outcome is to emulate the clicking of 
> the "Start Archive" button in the web page as this method > is working 
> perfectly. The overall objective is to create > the archive as a cron job.

> Quote:
> From /usr/share/backuppc/bin/BackupPC_archive
> Extract Start
> # BackupPC_archive: Archive files for an archive client.
> #
> # DESCRIPTION
> #
> # Usage: BackupPC_archive   
> 
> Extract End

> I cannot find the definitions of   
>  and all permutations of my guesses of what > might be required 
> have all failed. Can anyone help or 
> indicate where the definitions are listed? 



> Having read the Description within the files
> BackupPC_archive and BackupPC_archiveHost it appears that > BackupPC_archive 
> begins the archive creation process and > then passes control to 
> BackupPC_archiveHost which uses 
> the settings listed in the CGI (ArchiveClientCmd). 

> This implies that BackupPC_archive could become a cron 
> job and thereby achieve the desired scheduling.  
> Consequently, creating an archive occurs at a predictable > date/time which 
> might be beneficial taking into account 
> the archive will take longer to complete than a normal 
> full/incremental backup.

> If this is correct it implies that when the "Start 
> Archive" button is clicked it is BackupPC_archive that is > started.  This is 
> a little confusing as the settings in 
> the web page refer to BackupPC_archiveHost.


-
Email sent from www.virginmedia.com/email
Virus-checked using McAfee(R) Software and scanned for spam


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Import client config

2008-11-18 Thread Pierguido
On 18-11-2008 14:02, Rob Owens wrote:
> Pierguido wrote:
> On my system, all the config files are owned by backuppc and assigned to
> group www-data.  The files have 640 permissions.
>
> Can your web server user read the files?
Before i had a little different permission...now i did as you, but again 
all the hosts in the panel have the same configuration.
So i think it's not a permission problem...it's like it apply all the 
general setting to all hosts.

Pier



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Vista client unauthorized user

2008-11-18 Thread Jaco Lange
There is a deltacd.conf file that you can edit ! in a similar way to
rsyncd.conf exact same format.

I was using cwRsync_Server_2.0.9.1 but did not had any luck on vista 64 bit
and MS Windows server 2008

at least it is working


On Tue, Nov 18, 2008 at 4:13 PM, Carl Wilhelm Soderstrom <
[EMAIL PROTECTED]> wrote:

> On 11/18 08:49 , Jaco Lange wrote:
> > I am using deltacopy on Windows vista 32/64 bit and Server 2008 without
> any
> > problem
> > http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp
>
> It looks like Deltacopy just adds a bunch of GUI stuff and OS integration
> to
> rsyncd. This is fine and dandy for some applications; but I've gotten
> rather
> accustomed to just copying the rsyncd.conf and rsyncd.secrets files, then
> running the service.bat file to install it as a service. This also makes it
> possible to integrate it nicely with full cygwin installs.
>
> Is it possible to copy a deltacopy config file into place and use it;
> without having to go through the GUI, clicking buttons and filling out
> fields on every machine?
>
> There's a really good document out there somewhere, about what Microsoft
> learned when they bought out Hotmail and tried to convert all the Unix
> mailservers to WinNT. Turns out that being able to drop a config file into
> place on hundreds of machines simultaneously with a script, is a very
> valuable thing to have.
>
> --
> Carl Soderstrom
> Systems Administrator
> Real-Time Enterprises
> www.real-time.com
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Vista client unauthorized user

2008-11-18 Thread Carl Wilhelm Soderstrom
On 11/18 04:28 , Jaco Lange wrote:
> There is a deltacd.conf file that you can edit ! in a similar way to
> rsyncd.conf exact same format.

Ok. Thanks for the information. I'll see about giving it a try.

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

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Question about attrib file structure

2008-11-18 Thread Jeffrey J. Kosowsky
Jeffrey J. Kosowsky wrote at about 22:51:22 -0500 on Monday, November 17, 2008:
 > Is the following true:
 > 1. If a directory is *empty*, is there any reason for it to have an
 >attrib file?
 >
 >Because in playing around with creating and deleting directory contents, I
 >found that sometimes even after emptying directory contents, the
 >subsequent incremental backups may sometimes still have (empty)
 >attrib files.
 > 
 > 2. If not, can I safely erase any (empty) attrib file that has no files
 >associated with it?
 > 
 > 3. Other than type=10 (delete), is there *any* reason for an attrib
 >file to contain an entry for a file that is not present in the directory?
 > 
 >Because, I have found some attrib files on my system in past backups that
 >have file entries with type 0 (i.e *not* type 10) yet there is no
 >file present in the directory.
 > 
 > 4. If not, can I safely *remove* any non type=10 attrib entry if the
 >corresponding file is not in the directory?
 > 

One more question to add:
5. Are 'attrib' files also linked into the pool/cpool? If so, are they
done the same way as regular data files?

Thanks

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backuppc mirroring with rdiff-backup or not?

2008-11-18 Thread tmassey
Christian Völker <[EMAIL PROTECTED]> wrote on 11/18/2008 03:34:45 AM:

> > I think that you can use rsync v3 (on both sides) to sync pools 
without
> > issue.
> > I'm assuming that you are using linux here also.  With *solaris you 
have
> > the zfs option as well.
> > I did some research a while back to use a cluster filesystem for the
> > storage pool but all cluster filesystems have much lower I/O 
performance
> > than an on-disk filesystem.
> 
> My way to backup the backup ;-) is LVM
> 
> The pool is on a LVM as a LV. To backup the pool while backuppc is
> running I can take a snapshot of the pool's LV and I rsync this one. So
> there are no filesystem issues and backuppc can stay running while the
> rsync is running.

I've been looking into this for a while now, both for BackupPC and for 
VMWare.

How do you syncronize the snapshot with BackupPC to ensure that you are 
getting a consistent snapshot.  For VMWare Server, that means shutting 
down the guests, taking the snapshot, and starting the guests, which is 
disruptive to say the least.  (ESX Server has tools for doing this 
internal to the VM system.)  Do you do the same for BackupPC?  Or do you 
just hope that you're getting a consistent snapshot?

Tim Massey
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backuppc mirroring with rdiff-backup or not?

2008-11-18 Thread Fernando Laudares Camargos
Hello,

the commentary from Rob Steele bellow the article in 
http://jeremy.zawodny.com/blog/archives/010037.html seems quite relevant to me. 
I have tried rsync and cp in the past but had the already mentioned memory and 
time issues so I'm planning to give his suggestion (BackupPC_tarPCCopy to make 
the first copy) a try.

Cheers,
-- 
Fernando Laudares Camargos

  Révolution Linux
http://www.revolutionlinux.com
---
* Tout opinion et prise de position exprimée dans ce message est celle
de son auteur et pas nécessairement celle de Révolution Linux.
** Any views and opinion presented in this e-mail are solely those of
the author and do not necessarily represent those of Révolution Linux.


Ermanno Novali wrote:
> Hi everyone,
> i'm a backuppc user and i use it on several different linux servers,
> with backuppc backupping in some cases to internal hdd, raid or external hdds.
> 
> I'd like to mirror the backuppc pool - I searched through ml archives
> and found that mirroring the backuppc pool (wherever it is) with rsync
> on an external hard drive isn't efficient and doesn't scale good -
> i've tried myself and is cpu and time consuming and very very long for
> big pools - not very reliable.
> 
> So i've tried to mirror the pool with rdiff-backup, and it seems a
> little better, but not the optimal solution.
> 
> In this ml the best solutions for this task are two hdd with pool on
> them (two external, or two in raid maybe) or dd form pool to external
> mirror disk - but NOT mirroring the backup with rsync or something
> like that - right? can you confirm that?
> 
> And dd is time consuming like rsync but more reliable for backuppc pool?
> 
> Thank you so much,
> have a nice day
> 
> Ermanno
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Vista client unauthorized user

2008-11-18 Thread Cody Dunne

Oz Dror wrote:
> Thanks for responding.
> 
> I have done all the correction that you undigested. I am still havening 
> the auth issue.
> When I run the backup in a command line
> I noticed these lines:
> 
> Negotiated protocol version 28
> Got response: 73c7ac91a97cd967d94504b9a6347037
> Auth: got challenge: Mkx8AVu0NSVA9mANktJ9Tg, reply:  c8eskal82WfZRQS5pjRwNw
> Error connecting to module home at 192.168.0.97:873: auth failed on 
> module home
> 
> what does that mean? Which user failed Authorization.?  My user account 
> on the vista machine or backuppc user

This is the user that is defined in your rsyncd.secrets file. It 
shouldn't require any other users. I would first check rsyncd.secrets 
and make sure you're passing the right password. You set up

RsyncdUserName -> backuppc
RsyncdPasswd -> samepasswordasinrsyncd.secrets

in the Xfer settings of backuppc, right?

> does the backuppc needs to be an administrator user of the vista machine
> In my current setup it is not even a user of the vista machine.

Rsyncd should be running as the SYSTEM user, so you won't need a 
backuppc user on the Vista machine unless you want to be able to ssh 
into it or the like.

Are you running something like below to test?
rsync -a [EMAIL PROTECTED]::home /var/lib/backuppc/testing/ -v

If you're looking for a step-by-step guide that works on Vista, check 
out my site:
http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html

Cody


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] Child Exited Prematurely

2008-11-18 Thread James Sefton
Hi,

Please excuse me if I am using this wrong, in all my years in IT, it seems this 
is the first time I have used a mailing list for support.  (I'm usually pretty 
good at the whole RTFM thing)

We have a backup box (FC6) that is running backups from a lot of windows 
servers using rSync.
We are not running the latest version of BackupPC.  I am reluctant to update 
this unless I have a good idea that it's going to help since we have a lot of 
automated scripts that manage the BackupPC config files and we will need to 
review them all.  If this is the route we need to go then no problem but as I 
understand it, my problem is specifically related to rSync.  (please correct me 
if I am wrong.)

We have been running this for well over a year now (maybe a few years, my 
memory fails me) and iirc this problem has only started showing up over the 
past 6-12 months.  We do not have any automatic updates on the BackupPC box so 
nothing there should have really changed.

Out backup box resides on what we call our CORE network.  The servers it backs 
up are all on remote network which are connected to the CORE network with 
VPN's.  (VPN's are running over DSL)  Backups do take a long time to run (~10 
hours or so) due to the amount of data.

The problem we are seeing is that Backups are randomly failing.
The log file on BackupPC showing something like this:

Connected to xxx.xxx.xxx.xxx:873, remote version 29
Negotiated protocol version 26
Connected to module kale-susl
Sending args: --server --sender --numeric-ids --perms --owner --group -D 
--links --times --block-size=2048 --recursive --ignore-times . .
Xfer PIDs are now 5220
[ skipped 971 lines ]
Read EOF: Connection reset by peer
Tried again: got 0 bytes
finish: removing in-process file Data/Apps/GoldMine/GMBase/ScriptsW.MDX
Child is aborting
Parent read EOF from child: fatal error!
Done: 923 files, 3041217353 bytes
Got fatal error during xfer (Child exited prematurely)
Backup aborted (Child exited prematurely)

The log on the windows server is:


2008/11/18 17:46:05 [3252] connect from UNKNOWN (xxx.xxx.xxx.xxx)

2008/11/18 17:46:05 [3252] rsync on . from [EMAIL PROTECTED] (xxx.xxx.xxx.xxx)

2008/11/18 17:46:05 [3252] building file list

2008/11/18 18:03:14 [3252] rsync: writefd_unbuffered failed to write 4092 bytes 
[sender]: Connection reset by peer (104)

2008/11/18 18:03:14 [3252] rsync error: error in rsync protocol data stream 
(code 12) at /home/lapo/packaging/tmp/rsync-2.6.9/io.c(1122) [sender=2.6.9]


I have been trying to work this out for month or two now.
The problems seem to be random, but more common on specific servers.
There is nothing special about these specific servers - they seem just random 
but persistant.

Originally, we were running the recommended rSync package for BackupPC.

After looking into the problem over the past month, I have seen a lot of posts 
suggesting there this was a common problem with a particular build of rSync.

I have updated rSync on the backupPC box, "rpm -q rsync" currently replies...

rsync-2.6.9-5.fc8 (yes, the only updated rpm i could find was an fc8 one)

On a few select servers (including the one that generated the above logs) I 
setup cygwin directly and added rSync to it with the installer wizard.
I selected rSync 2.6.9 rather than 3.x.x as i assumed this would b required for 
compatibility.

These seem to be the only recommendations I can find for fixing this problem. 
(updating rSync)
Sadly, it has not helped me so far.

The connection between the BackupPC server and the example server used for the 
above logs is VPN like the rest of the servers but this server is local and the 
VPN operates over local Ethernet links. (ie. Stable links.)

I have tried and tried to verify as much as I can that there are no network/VPN 
dropouts at the times that this is failing and im pretty sure there are not.  
It sometimes fails within 3 minutes of the job starting, other times after 
hours.  I know I have had a remote desktop session open to the server and been 
actively using it at the time it failed and I noticed absolutely no disturbance 
in my RD session.  (which you would expect at least a short pause if there was 
a brief disruption to the connection.)

I am at a loss and I am really hoping that someone will be able to show me a 
way to further my research into what is causing this problem so that I can 
hopefully isolate the issue and resolve it.

I have said above that this seems to be most prominent on specific servers 
(about 7 of them) but it IS happening occasionally on all of our servers.
We do get drops on our VPN's from time to time but we have a monitoring system 
in place that alerts us immediately about this.
These drops probably average at about 1 per every 3 months, per VPN.  The rSync 
fails are daily, and usually several per day.

Any help would be very much appreciated.

Kind Regards,

James Sefton
Phase 5 Communications Ltd. (UK)
--

Re: [BackupPC-users] moving a volume

2008-11-18 Thread Chris Robertson
Ray Todd Stevens wrote:
> We have a backuppc system setup that has been running for a while now.   We 
> are 
> expanding the office and I am going to need more storage space.  To do this I 
> will need to 
> copy the data off, reconfigure the array with more drives and then reload the 
> system.
>
> How is the best way to do this?

See "Copying the pool" under the "Other Installation Topics" header of 
the FAQ.

http://backuppc.sourceforge.net/faq/BackupPC.html#other_installation_topics

Chris

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] merge host from one pool into another pool

2008-11-18 Thread Michael Kuss
> -Ursprüngliche Nachricht-
> Von: "Adam Goryachev" <[EMAIL PROTECTED]>
> Gesendet: 18.11.08 10:53:36
> An:  questions and support" 
> Betreff: Re: [BackupPC-users] merge host from one pool into another pool


> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> dan wrote:
> > I have done this on a small setup a while ago.  I just pulled over the
> > pc directory from one into the other and adjusted my config files for
> > the imported backups..  aditionally I made an error when copying and
> > brought over numeric user ids for the files and had to chown them.  Im
> > not sure if the nightly run will handle the typical deduplication or
> > not.  I never checked.
> > 
> > so..yet you can merge them but I am not sure if you get deduplication in
> > the next nightly run...
> 
> You would not get proper de-duplication... basically you keep the
> de-duplication amongst the files you copy across, but because you are
> not linking those files to the pool, you don't get any de-dupe between
> the existing files in the pool and the new files you just copied across
> under the pc dir.
> 
> Also, what is potentially worse, is the next backup will store another
> duplicate for each file (because it doesn't exist in the pool). However,
> the good news is that nothing should break by doing this, except you use
> up additional disk space.
> 
> Finally, someone recently questioned what would happen if they moved the
> pc dirs across one backup at a time, and then ran backuppc_link... I
> don't recall seeing any response/answer to that, but it sounded like a
> very sensible method to combine two backuppc systems...

Hi,

I asked this, in this thread.  Anyway, I would like to thank the three folks 
who replied for their suggestions.  Before Friday, I will be unable to try 
anything out, so please be patient.

Regards,

Michael

_
Sensationsangebot nur bis 30.11: WEB.DE FreeDSL - Telefonanschluss + DSL 
für nur 16,37 Euro/mtl.!* http://dsl.web.de/?ac=OM.AD.AD008K13805B7069a


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] BackupPC Working Well - Except Archiving

2008-11-18 Thread Craig Barratt
SamK writes:

> I am struggling to create an archive from the command line.  The desired 
> outcome is to emulate the clicking of the "Start Archive" button in the web 
> page as this method is working perfectly.  The overall objective is to create 
> the archive as a cron job.
> 
> >From /usr/share/backuppc/bin/BackupPC_archive
> Extract Start
> # BackupPC_archive: Archive files for an archive client.
> #
> # DESCRIPTION
> #
> #   Usage: BackupPC_archive   
> Extract End
> 
> I cannot find the definitions ofand all 
> permutations of my guesses of what might be required have all failed.  Can 
> anyone help or indicate where the definitions are listed?

BackupPC_archive isn't very easy to use directly: reqFileName is the
path of a file (output from perl's Data::Dumper) with information
about what to archive.

BackupPC_archiveStart is much easier to use.  It creates a reqFile
and then tells the BackupPC server to run the archive.

Craig

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] BackupPC Working Well - Except Archiving

2008-11-18 Thread Les Mikesell
[EMAIL PROTECTED] wrote:
> I am struggling to create an archive from the command line.  The desired 
> outcome is to emulate the clicking of the "Start Archive" button in the web 
> page as this method is working perfectly.  The overall objective is to create 
> the archive as a cron job.
> 
>>From /usr/share/backuppc/bin/BackupPC_archive
> Extract Start
> # BackupPC_archive: Archive files for an archive client.
> #
> # DESCRIPTION
> #
> #   Usage: BackupPC_archive   
> Extract End
> 
> I cannot find the definitions ofand all 
> permutations of my guesses of what might be required have all failed.  Can 
> anyone help or indicate where the definitions are listed?

If you are going to do it from the command line, why not start with 
BackupPC_tarCreate and set up your own pipeline for compress/split or 
whatever options you want.

-- 
   Les Mikesell
 [EMAIL PROTECTED]


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Child Exited Prematurely

2008-11-18 Thread Chris Robertson
James Sefton wrote:
>
> Hi,
>
> Please excuse me if I am using this wrong, in all my years in IT, it 
> seems this is the first time I have used a mailing list for support. 
> (I’m usually pretty good at the whole RTFM thing)
>
> We have a backup box (FC6) that is running backups from a lot of 
> windows servers using rSync.
>
> We are not running the latest version of BackupPC. I am reluctant to 
> update this unless I have a good idea that it’s going to help since we 
> have a lot of automated scripts that manage the BackupPC config files 
> and we will need to review them all. If this is the route we need to 
> go then no problem but as I understand it, my problem is specifically 
> related to rSync. (please correct me if I am wrong.)
>
> We have been running this for well over a year now (maybe a few years, 
> my memory fails me) and iirc this problem has only started showing up 
> over the past 6-12 months. We do not have any automatic updates on the 
> BackupPC box so nothing there should have really changed.
>
> Out backup box resides on what we call our CORE network. The servers 
> it backs up are all on remote network which are connected to the CORE 
> network with VPN’s. (VPN’s are running over DSL) Backups do take a 
> long time to run (~10 hours or so) due to the amount of data.
>
> The problem we are seeing is that Backups are randomly failing.
>
> The log file on BackupPC showing something like this:
>
> Connected to xxx.xxx.xxx.xxx:873, remote version 29
>
> Negotiated protocol version 26
>
> Connected to module kale-susl
>
> Sending args: --server --sender --numeric-ids --perms --owner --group 
> -D --links --times --block-size=2048 --recursive --ignore-times . .
>
> Xfer PIDs are now 5220
>
> [ skipped 971 lines ]
>
> Read EOF: Connection reset by peer
>

I saw a similar problem from time to time due to firewalls that close 
"inactive" connections. RSync can sit a while without passing data as 
file lists are created, and files are compared. See 
https://bugzilla.samba.org/show_bug.cgi?id=5695 for a related issue. 
Check your VPN setup for "inactive session timeout" or the like. SSH has 
the ServerAliveInterval option that can mitigate this.

> Tried again: got 0 bytes
>
> finish: removing in-process file Data/Apps/GoldMine/GMBase/ScriptsW.MDX
>
> Child is aborting
>
> Parent read EOF from child: fatal error!
>
> Done: 923 files, 3041217353 bytes
>
> Got fatal error during xfer (Child exited prematurely)
>
> Backup aborted (Child exited prematurely)
>
> The log on the windows server is:
>
> 2008/11/18 17:46:05 [3252] connect from UNKNOWN (xxx.xxx.xxx.xxx)
> 2008/11/18 17:46:05 [3252] rsync on . from [EMAIL PROTECTED] (xxx.xxx.xxx.xxx)
> 2008/11/18 17:46:05 [3252] building file list
> 2008/11/18 18:03:14 [3252] rsync: writefd_unbuffered failed to write 4092 
> bytes [sender]: Connection reset by peer (104)
> 2008/11/18 18:03:14 [3252] rsync error: error in rsync protocol data stream 
> (code 12) at /home/lapo/packaging/tmp/rsync-2.6.9/io.c(1122) [sender=2.6.9]
>
> I have been trying to work this out for month or two now.
>
> The problems seem to be random, but more common on specific servers.
>
> There is nothing special about these specific servers – they seem just 
> random but persistant.
>
> Originally, we were running the recommended rSync package for BackupPC.
>
> After looking into the problem over the past month, I have seen a lot 
> of posts suggesting there this was a common problem with a particular 
> build of rSync.
>
> I have updated rSync on the backupPC box, “rpm –q rsync” currently 
> replies...
>
> rsync-2.6.9-5.fc8 (yes, the only updated rpm i could find was an fc8 one)
>

That's the danger of using Fedora Core for a server. The support just 
doesn't last. SUSE, Ubuntu and CentOS are much better server OS choices.

You might try grabbing the SRPM from Fedora 9 
(http://download.fedora.redhat.com/pub/fedora/linux/updates/9/SRPMS.newkey/rsync-3.0.4-0.fc9.src.rpm),
 
install rpm-build and see if you can roll your own.

> On a few select servers (including the one that generated the above 
> logs) I setup cygwin directly and added rSync to it with the installer 
> wizard.
>
> I selected rSync 2.6.9 rather than 3.x.x as i assumed this would b 
> required for compatibility.
>

Nope. RSync is backwards compatible.

> These seem to be the only recommendations I can find for fixing this 
> problem. (updating rSync)
>
> Sadly, it has not helped me so far.
>
> The connection between the BackupPC server and the example server used 
> for the above logs is VPN like the rest of the servers but this server 
> is local and the VPN operates over local Ethernet links. (ie. Stable 
> links.)
>
> I have tried and tried to verify as much as I can that there are no 
> network/VPN dropouts at the times that this is failing and im pretty 
> sure there are not. It sometimes fails within 3 minutes of the job 
> starting, other times after hours. I know I have had a remote desktop 
> session open t

Re: [BackupPC-users] Child Exited Prematurely

2008-11-18 Thread Dale King
On Tue, Nov 18, 2008 at 07:02:09PM +, James Sefton wrote:
> The log on the windows server is:
> 
> 2008/11/18 17:46:05 [3252] connect from UNKNOWN (xxx.xxx.xxx.xxx)
> 
> 2008/11/18 17:46:05 [3252] rsync on . from [EMAIL PROTECTED] (xxx.xxx.xxx.xxx)
> 
> 2008/11/18 17:46:05 [3252] building file list
> 
> 2008/11/18 18:03:14 [3252] rsync: writefd_unbuffered failed to write 4092 
> bytes [sender]: Connection reset by peer (104)
> 
> 2008/11/18 18:03:14 [3252] rsync error: error in rsync protocol data stream 
> (code 12) at /home/lapo/packaging/tmp/rsync-2.6.9/io.c(1122) [sender=2.6.9]

I had a very similar problem, with it getting worse over time.  What I
found was that my backuppc server was low on RAM.  When multiple backups
were running, the system would thrash and page heavily which led to
network timeouts and the connection to be reset.  Very frustrating to
debug only looking at the logs.

Might be worth double checking you have enough free RAM during your busy
periods.

HTH,
Dale

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] Native Window version of rsync

2008-11-18 Thread dtktvu

Hi,

Based on the source from Kolosy (http://www.kolosy.com/wordpress/?p=8 ), we 
have continued the journey and successully ported Rsync to C# (protocol 28 ). 
So far, the program has the following features:
1. Lots of features just like Rsync, supporting protocol up to 28.
2. No need for cygwin. However, it's required .NET framework version 3.5
3. Utilise Volume Shadow Copy Service (aka VSS,  on XP machines only) so that 
now it will do the work on shadow copy (configurable parameter on config file) 
and copy even opened files, exchange files, SQL files, etc.
4. Zlib compression supported
5. Running as a windows service (daemon), working fine with BackupPC and rsync 
on unix platform.
6. Can produce rdiff-backup alike signature/delta file.
7. Unicode filename supported.
8. Ultilise nearly maximum network bandwidth. During testing, we are getting 
around 11-12MB/s on 100Mbs network.
9. Many mores...

Many thanks to Kolosy!

Please let us know if anyone interested in having a test on this program.

Thanks.

+--
|This was sent by [EMAIL PROTECTED] via Backup Central.
|Forward SPAM to [EMAIL PROTECTED]
+--



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Native Window version of rsync

2008-11-18 Thread Paul Mantz
This is excellent news!

I for one would be very interested in testing the software.  Is the
latest version available in Kolosy's repository?

-- 
Paul Mantz
http://www.mcpantz.org
BackupPC - Network Backup with De-Duplication http://www.backuppc.com
Zmanda - Open source backup and recovery http://www.zmanda.com/

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Vista client unauthorized user

2008-11-18 Thread Oz Dror
OK I fixed the problem. the backuppc web interface did not set

RsyncdUserName -> backuppc

in the client.pl file because backuppc is the default value.

-Oz


Cody Dunne wrote:
>
> Oz Dror wrote:
>> Thanks for responding.
>>
>> I have done all the correction that you undigested. I am still 
>> havening the auth issue.
>> When I run the backup in a command line
>> I noticed these lines:
>>
>> Negotiated protocol version 28
>> Got response: 73c7ac91a97cd967d94504b9a6347037
>> Auth: got challenge: Mkx8AVu0NSVA9mANktJ9Tg, reply:  
>> c8eskal82WfZRQS5pjRwNw
>> Error connecting to module home at 192.168.0.97:873: auth failed on 
>> module home
>>
>> what does that mean? Which user failed Authorization.?  My user 
>> account on the vista machine or backuppc user
>
> This is the user that is defined in your rsyncd.secrets file. It 
> shouldn't require any other users. I would first check rsyncd.secrets 
> and make sure you're passing the right password. You set up
>
> RsyncdUserName -> backuppc
> RsyncdPasswd -> samepasswordasinrsyncd.secrets
>
> in the Xfer settings of backuppc, right?
>
>> does the backuppc needs to be an administrator user of the vista machine
>> In my current setup it is not even a user of the vista machine.
>
> Rsyncd should be running as the SYSTEM user, so you won't need a 
> backuppc user on the Vista machine unless you want to be able to ssh 
> into it or the like.
>
> Are you running something like below to test?
> rsync -a [EMAIL PROTECTED]::home /var/lib/backuppc/testing/ -v
>
> If you're looking for a step-by-step guide that works on Vista, check 
> out my site:
> http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html
>
> Cody


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] merge host from one pool into another pool

2008-11-18 Thread Msquared
On Tue, Nov 18, 2008 at 08:47:13PM +1100, Adam Goryachev wrote:

> > so..yet you can merge them but I am not sure if you get deduplication
> > in the next nightly run...
> 
> You would not get proper de-duplication... basically you keep the
> de-duplication amongst the files you copy across, but because you are
> not linking those files to the pool, you don't get any de-dupe between
> the existing files in the pool and the new files you just copied across
> under the pc dir.

I guess the simple question is, then: is there a tool you can run that
will de-dupe and/or re-merge with the pool?

Regards, Msquared...

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Native Window version of rsync

2008-11-18 Thread Riaan Schoeman

I'm very interested in trying this, sounds brilliant!
The author doesn't sound too optimistic though, but I'll try it none  
the less!

Thanks for the link!

Riaan Schoeman
Teqcle Information Technologies (Pty) Ltd.

[EMAIL PROTECTED]
Cell: +27 82 562 3882
Fax: +27 86 520 2668
Skype: riaans182
ICQ: 92860102
MSN: [EMAIL PROTECTED]
AIM: riaans182
Linux User Nr: 404512


On 19 Nov 2008, at 6:59 AM, dtktvu wrote:



Hi,

Based on the source from Kolosy (http://www.kolosy.com/wordpress/? 
p=8 ), we have continued the journey and successully ported Rsync to  
C# (protocol 28 ). So far, the program has the following features:

1. Lots of features just like Rsync, supporting protocol up to 28.
2. No need for cygwin. However, it's required .NET framework version  
3.5
3. Utilise Volume Shadow Copy Service (aka VSS,  on XP machines  
only) so that now it will do the work on shadow copy (configurable  
parameter on config file) and copy even opened files, exchange  
files, SQL files, etc.

4. Zlib compression supported
5. Running as a windows service (daemon), working fine with BackupPC  
and rsync on unix platform.

6. Can produce rdiff-backup alike signature/delta file.
7. Unicode filename supported.
8. Ultilise nearly maximum network bandwidth. During testing, we are  
getting around 11-12MB/s on 100Mbs network.

9. Many mores...

Many thanks to Kolosy!

Please let us know if anyone interested in having a test on this  
program.


Thanks.

+ 
--

|This was sent by [EMAIL PROTECTED] via Backup Central.
|Forward SPAM to [EMAIL PROTECTED]
+ 
--




-
This SF.Net email is sponsored by the Moblin Your Move Developer's  
challenge
Build the coolest Linux based applications with Moblin SDK & win  
great prizes
Grand prize is a trip for two to an Open Source event anywhere in  
the world

http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/