Ok I have found after some background reading:
http://backuppc.wiki.sourceforge.net...hive+directory
Code:
Option 2
The BEST option is to change the archive directory in the config file
edit /etc/backuppc/config.pl and change the archive directory to /data
The archive directory is defined by $TopDir in config.pl. Unfortunately, the current version honors this value for host data, but the pool directories continue to use the default path that is hard-coded at install time. For now, in addition to changing config.pl, you will also need to edit lib/BackupPC/Lib.pm, and change the value in $topDir='/path...'.
However with this do I change $TopDir in config.pl as the location Lib.pm contains it adn reffers to it as TopDir??
Code:
sub new
{
my $class = shift;
my($topDir, $installDir, $noUserCheck) = @_;
my $bpc = bless {
TopDir => $topDir || '/var/lib/backuppc',
BinDir => $installDir || '/usr/share/backuppc',
LibDir => $installDir || '/usr/share/backuppc',
<----------------------------------------------------------------------------------------------------->
Also as default BackupPC is set to backup localhost /etc DIR, however:
This is the error message I'm getting:
Code:
CheckHostAlive: returning 0.086
Running: /usr/bin/env LC_ALL=C /bin/tar -c -v -f - -C /etc --totals .
started full dump, share=/etc
Xfer PIDs are now 1976,1975
xferPids 1976,1975
cmdExecOrEval: about to exec /usr/bin/env LC_ALL=C /bin/tar -c -v -f - -C /etc --totals .
/bin/tar: .: Cannot open: Permission denied
Total bytes written: 10240 (10KiB, 28MiB/s)
/bin/tar: Error exit delayed from previous errors
Tar exited with error 512 () status
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal
Got fatal error during xfer (No files dumped for share /etc)
cmdSystemOrEval: about to system /bin/ping -c 1 localhost
cmdSystemOrEval: finished: got output PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.086 ms
<---------------------------------------------------------------------------------------------------->
And again if anyone knows anything with the hosts.pl file
as both these fail:
nmblookup <falko-desktop>
Code:
# nmblookup Vaio
WARNING: The "printer admin" option is deprecated
querying Vaio on 192.168.1.255
name_query failed to find name Vaio
----------------------------------------------------------------------------------------------------
# nmblookup -A 192.168.1.2
WARNING: The "printer admin" option is deprecated
Looking up status of 192.168.1.2
No reply from 192.168.1.2
The system Vaio is static at ip address 192.168.1.2 but hasn't got samba installed for nmbd - so what would be the next step without installing samba ?
Thanks
Recent comments
1 day 5 hours ago
1 day 10 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 14 hours ago
1 day 19 hours ago
1 day 20 hours ago
1 day 22 hours ago
2 days 11 hours ago
2 days 12 hours ago