Koozali.org: home of the SME Server

Backuppc contrib

mbachmann

Backuppc contrib
« Reply #30 on: January 20, 2005, 04:17:38 PM »
I will check and report back with zip's and rar's - i have no zip's/rar's backed up, so i have to wait until tommorrow.

Offline askelon

  • ***
  • 59
  • +0/-0
Backuppc contrib
« Reply #31 on: January 21, 2005, 07:13:46 AM »
I have a slightly OT question in regards to this..  Ive installed it all fine on my server and have it backing up my docs/outlook from my workstation for test purposes.  This *seems* to be working.  Now does it get put on an automatic schedule?  Im thinking this would be a very good way to setup a backup system for one of my clients running SME.  They have about 15 notebooks that come in and out all day long so it would be ideal if the backup could poll their comp and backup as soon as it gets reconnected or at the standard designated time.  

From here Im thinking I'll use backup to workstation to then backup everything to DVD.

duncan

Backuppc contrib
« Reply #32 on: January 21, 2005, 09:20:16 AM »
Not OT at all.

This is one of the main features of backuppc - any machine that has x amount of successive ping replys will be backed up out of hours (servers, always on machines). A machine (like a notebook) will fail when it is away - so backuppc will back it up when it becomes available. It can deal with a partial backup (machine removed half way thru) and will even email the owner if a certain time period has passed without a backup. All of these time periods are configurable.

Regards Duncan

mbachmann

Backuppc contrib
« Reply #33 on: January 21, 2005, 10:36:46 AM »
@duncan, would you please go back a page and look at damians question? Maybe you can help him with perl-extension Archive::zip for backuppc from cpan.

Alright damian, i see what you mean. Restoring zip'/rar is possible but you cannot download the file(s) as a zip-Archive - therefore you need Perl-Erweiterung/extension Archive::Zip

But tar-archive dl is another working option and tar is not a problem for most packers. So why must it be zip?

duncan

Backuppc contrib
« Reply #34 on: January 21, 2005, 11:44:52 AM »
Quote from: "mbachmann"
@duncan, would you please go back a page and look at damians question? Maybe you can help him with perl-extension Archive::zip for backuppc from cpan.


I am guessing he needs to install the "dev tools" for gcc.

Damian

Backuppc contrib
« Reply #35 on: January 22, 2005, 12:54:35 AM »
I'm apparently watching this topic but am not getting the "someone's posted" emails. Odd.

Yes, tar is an option. I'd like to enable all functionality on SME so that I can can convince more people to take it up. Saying that this function would work on SuSE/RH but not on SME puts people off a bit  :-(

Hey Duncan,
Quote
I am guessing he needs to install the "dev tools" for gcc

I'm guessing he needs to install gcc too  :-D

Also without a working Compress::Zlib we don't get any storage compression :-(

Damian

duncan

Backuppc contrib
« Reply #36 on: January 22, 2005, 03:53:05 AM »
Ok,

I remember that Jespers antivirus script installs a few things you need. Take a look here and you may find what you need without resorting to cpan.

Let us know how you go. I seem to remember an issue where I would download 0 byte files.

Regards Duncan

Damian

Backuppc contrib
« Reply #37 on: January 23, 2005, 12:34:29 AM »
:-D   Fabulous

All now working. Needed perl-Archive-Zip-1.12-1.noarch.rpm and perl-Compress-Zlib-1.33-1.i386.rpm.

Brilliant job and many thanks!!!

Damian

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
BackupPC - 127.0.0.1 Ok, others fail
« Reply #38 on: March 01, 2005, 03:51:24 AM »
I'm recieving this error:
Got fatal error during xfer (Unable to read 4 bytes)
because the connexion was reset by peer... what ever that means.

I'm no guru, so could can someone give me a hint as to were to start looking for clues?

The same config.pl used for 127.0.0.1 (built-in) is modified with the next IP to backup (eg: 192.168.240.15)

Code: [Select]
$Conf{XferMethod} = 'rsync';
$Conf{RsyncShareName} = ['/etc/e-smith', '/home/e-smith'];
$Conf{BackupFilesExclude} = ['/opt','/tmp'];    
#
# Path to rsync executable on the client
#
$Conf{RsyncClientPath} = '/usr/bin/rsync';
$Conf{RsyncClientCmd} = '$sshPath -q -x -l root $host $rsyncPath $argList+';
$Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l root $host $rsyncPath $argList+';

$Conf{RsyncdAuthRequired} = 0;
$Conf{RsyncUserName} = 'root';
$Conf{RsyncPasswd} = 'xxxxxxx';
$Conf{ClientNameAlias} = '192.168.50.15';
$Conf{Language} = 'fr';
$Conf{CompressLevel} = 3;



Code: [Select]
2005-02-28 22:00:58 full backup started for directory /etc/e-smith
2005-02-28 22:00:59 Got fatal error during xfer (Unable to read 4 bytes)
2005-02-28 22:01:04 Backup aborted (Unable to read 4 bytes)


Thanks,
Sophie
Sophie from Montréal

Damian

Backuppc contrib
« Reply #39 on: March 01, 2005, 07:53:14 AM »
That sometimes happens when ssh can't connect to the target machine. As the user "backuppc" on your backuppc machine, can you run "ssh root@192.168.50.15 w" succesfully ? This tests the ssh part only.
If not, get this working first.
Damian

duncan

Backuppc contrib
« Reply #40 on: March 01, 2005, 07:54:25 AM »
Sophie,

Do you have 192.168.240.15 in the hosts file?

I have seen this before. From what I remember - it usually occurs due to a mismatch in the backup method being used between the client and the server (tar, rsync, rsyncd and smb).

If you are doing rsync over ssh (the preferred way) - then you need to share ssh public keys between the server and client.

Regards Duncan

duncan

Backuppc contrib
« Reply #41 on: March 01, 2005, 07:56:50 AM »
Quote from: "Damian"
That sometimes happens when ssh can't connect to the target machine. As the user "backuppc" on your backuppc machine, can you run "ssh root@192.168.50.15 w" succesfully ? This tests the ssh part only.
If not, get this working first.
Damian


And that too  :-)

Damian

Backuppc contrib
« Reply #42 on: March 01, 2005, 08:01:09 AM »
Hi Duncan,
What are doing providing support at this time of night ?  Ozzy government outlawed sleep ? ;-)
Damian

duncan

Backuppc contrib
« Reply #43 on: March 01, 2005, 08:09:10 AM »
Quote from: "Damian"
Hi Duncan,
What are doing providing support at this time of night ?  Ozzy government outlawed sleep ? ;-)
Damian


Its 3.00 pm - Nearly :pint: time.

Damian

Backuppc contrib
« Reply #44 on: March 01, 2005, 08:12:27 AM »
Sorry - forgot you're ahead (not behind). On chat now.
Damian