BackupPC-users

Re: [BackupPC-users] Almost working

2008-10-14 01:28:42
Subject: Re: [BackupPC-users] Almost working
From: Adam Goryachev <mailinglists AT websitemanagers.com DOT au>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 14 Oct 2008 16:25:28 +1100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kenneth L. Owen wrote:
> 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

That means that you are not finding the backuppc command... you will
need to work out where backuppc commands are installed. Try:
locate backuppc_dump
or
locate BackupPC_dump
(I think locate is case-insensitive)
You might also try something like:
rpm -ql backuppc | grep -i dump
See "man rpm" to find out how to get a list of files installed by a
package.. -q should be query). Mind you, it is a very long time since I
used rpm, so my command line might be wrong.
If all else fails, this will work:
find / |grep -i backuppc_dump

When you eventually find the correct command to execute, you can then
(as the backuppc user) run the command as follows:
BackupPC_dump -v -f hostname
You do not specify the sharename, or put any \ or / on the command line.
You specify the hostname, and backuppc will work out the shares from
your config files.

Also, hostnames should always be stored in your backuppc configs as
lower case, and probably used as lower case. (This is just my
suggestions, whether it makes a difference or not I do not know).
Technically, hostnames should be case in-sensitive, but using all lower
case everywhere should help rule it out as a problem.

So, find out where the backuppc commands are installed, run it with just
the hostname after the -v -f, and then send us the results.

Regards,
Adam

- --
Adam Goryachev
Website Managers
www.websitemanagers.com.au
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI9C1IGyoxogrTyiURAtvAAJoDSH5M1Mz20R8haAQiAqoLxWOtcwCgtyoX
hlOmTAOBe1M6kZNTSSJYecI=
=yY8x
-----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 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/