BackupPC-users

Re: [BackupPC-users] Almost working

2008-10-14 01:14:49
Subject: Re: [BackupPC-users] Almost working
From: "Kenneth L. Owen" <tx836519 AT bellsouth DOT net>
To: "'General list for user discussion, questions and support'" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 14 Oct 2008 01:11:00 -0400
Sorry, I missed the command line in the first message.  The client machine
name is mixed case of the form 'HOSTname'.  I believe that I read in the
documentation that it should be all lower case.  I know it works in lower
case when logging in via ssh.  The shares that I want to backup are in all
CAPS of the form 'SHARENAME'. In the following listing of the terminal
session, all names have been replaced with substitutes representing the
capitalization used:

[ken@Archiver ~]$ su -
Password: 
[root@Archiver ~]# su -s /bin/bash - backuppc
-bash-3.2$ /usr/share/backuppc/bin/BackupPC_dump -v -f \\hostname\SHARENAME
-bash: /usr/share/backuppc/bin/BackupPC_dump: No such file or directory
-bash-3.2$ /usr/share/backuppc/bin/BackupPC_dump -v -f hostname/SHARENAME
-bash: /usr/share/backuppc/bin/BackupPC_dump: No such file or directory
-bash-3.2$ /usr/share/backuppc/bin/BackupPC_dump -v -f SHARENAME
-bash: /usr/share/backuppc/bin/BackupPC_dump: No such file or directory
-bash-3.2$ /usr/share/backuppc/bin/BackupPC_dump -v -f hostname
-bash: /usr/share/backuppc/bin/BackupPC_dump: No such file or directory
-bash-3.2$ /usr/share/backuppc/bin/BackupPC_dump -v -f
hostname/media/SHARENAME
-bash: /usr/share/backuppc/bin/BackupPC_dump: No such file or directory
-bash-3.2$ /usr/share/backuppc/bin/BackupPC_dump -v -f //hostname/SHARENAME
-bash: /usr/share/backuppc/bin/BackupPC_dump: No such file or directory
-bash-3.2$ /usr/share/backuppc/bin/BackupPC_dump -h
-bash: /usr/share/backuppc/bin/BackupPC_dump: No such file or directory
-bash-3.2$ /usr/share/backuppc/bin/BackupPC_dump -v -f sharename
-bash: /usr/share/backuppc/bin/BackupPC_dump: No such file or directory
-bash-3.2$ /usr/share/backuppc/bin/BackupPC_dump -v -f //hostname/sharename
-bash: /usr/share/backuppc/bin/BackupPC_dump: No such file or directory
-bash-3.2$ /usr/share/backuppc/bin/BackupPC_dump -v -f
//hostname/media/SHARENAME/*
-bash: /usr/share/backuppc/bin/BackupPC_dump: No such file or directory
-bash-3.2$ /usr/share/backuppc/bin/BackupPC_dump -v -f
\\smbserver\media\LANDATA\*
-bash: /usr/share/backuppc/bin/BackupPC_dump: No such file or directory
-bash-3.2$ /usr/share/backuppc/bin/BackupPC_dump -v -f
'\\hostname\media\SHARENAME\*'
-bash: /usr/share/backuppc/bin/BackupPC_dump: No such file or directory
-bash-3.2$ /usr/share/backuppc/bin/BackupPC_dump -v -f
HOSTname\media\SHARENAME
-bash: /usr/share/backuppc/bin/BackupPC_dump: No such file or directory
-bash-3.2$ /usr/share/backuppc/bin/BackupPC_dump -v -f
\\HOSTname\media\SHARENAME
-bash: /usr/share/backuppc/bin/BackupPC_dump: No such file or directory
-bash-3.2$ /usr/share/backuppc/bin/BackupPC_dump -v -f
HOSTname/media/SHARENAME
-bash: /usr/share/backuppc/bin/BackupPC_dump: No such file or directory
-bash-3.2$ /usr/share/backuppc/bin/BackupPC_dump -v -f HOSTname
-bash: /usr/share/backuppc/bin/BackupPC_dump: No such file or directory
-bash-3.2$ 

SHARE1 (/dev/sdb6) and SHARE2 (/dev/sdb5) are the client shares I want
BackupPC to handle.  I have been studying LVM and considering a rework of my
disk management.  

[root@SMBServer etc]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      9.0G  4.1G  4.5G  48% /
/dev/sda1             198M   26M  162M  14% /boot
tmpfs                 315M   12K  315M   1% /dev/shm
/dev/sdb6              55G  5.6G   46G  11% /media/SHARE1
/dev/sdb5              55G   27G   25G  53% /media/SHARE2
/dev/sda2              11G   33M   10G   1% /media/DATA
/dev/sdb2             102M   67M   35M  66% /media/DR-DOS
[root@SMBServer etc]#

The following is a session between my windows server to the Archiver unit.
It works just as well in reverse.

[ken@HOSTname ~]$ ssh archiver
ken@archiver's password: 
Last login: Mon Oct 13 00:08:23 2008 from hostname
[ken@ARCHiver ~]$ cd /media/ARCHIVE2
[ken@ARCHiver ARCHIVE2]$ ls -al
total 28596
drwxrwx--x 7 ken  WinUsers     4096 2008-10-13 09:54 .
drwxr-xr-x 8 ken  WinUsers     4096 2008-10-13 12:36 ..
<<< deleted files for brevity >>>
drwxr-xr-x 3 ken  WinUsers     4096 2008-09-03 12:49 TempData
drwx------ 2 ken  WinUsers     4096 2008-09-03 14:32 .Trash-ken
[ken@ARCHiver ARCHIVE2]$ exit
Connection to archiver closed.
[ken@HOSTname ~]$

Since my mail is handled on my WinXP workstation, I am using my samba setup
to get the data here.  This should prove that the windows networking is
fine.

-----Original Message-----
From: Adam Goryachev [mailto:mailinglists AT websitemanagers.com DOT au] 
Sent: Monday, October 13, 2008 10:47 PM
To: General list for user discussion,questions and support
Subject: Re: [BackupPC-users] Almost working

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kenneth L. Owen wrote:
> Mr. Yates,
\
 \
> /usr/share/backuppc/bin/BackupPC_dump -v -f WinServer
> 
> This should provide some debug output that may be enlightening as to why
> the backup fails. Of course, rsync must be installed on the client pc in
> addition to the sshd.

Great, but the above command will get backuppc to run the various
commands that it would normally run during a backup. This will allow you
to see the exact commands being run, and any error messages from those
programs.

Regards,
Adam


-------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/