Recently I had to rebuild a backuppc server I’ve inherited from previous
admin. Running Ubuntu 14.04 server and Backuppc version 3.2.1 installed
from repositories. The backups are stored on a Synology NAS (RS3413XS+
running DSM 4.3) which I’ve mounted using NFS.
If I mount the NAS (mount <NAS IP>:/volume5/LinuxBackups
/var/lib/backuppc) I can see the backups on the NAS and can do a “touch
test.txt” and modify contents so permissions seem ok. And the backuppc
web GUI is accessible however I get the following error.
Error: Unable to connect to BackupPC server
This CGI script (/backuppc/index.cgi) is unable to connect to the
BackupPC server on <Servername> port -1.
The error was: unix connect: Connection refused.
Perhaps the BackupPC server is not running or there is a configuration
error. Please report this to your Sys Admin.
If I try and unmount the NAS I get error that mount is in use (makes
sense) but when I try and stop backuppc I get another error
No process in pidfile '/var/run/backuppc/BackupPC.pid' found running;
none killed.
A ps –eg | grep backuppc shows
username@servername~$ ps -ef | grep backuppc
backuppc 1874 1 0 16:26 ? 00:00:00 /usr/bin/perl
/usr/share/backuppc/bin/BackupPC -d
backuppc 1877 1386 0 16:27 ? 00:00:00 /usr/bin/perl
/usr/share/backuppc/lib/realindex.cgi
backuppc 1878 1386 0 16:27 ? 00:00:00 /usr/bin/perl
/usr/share/backuppc/lib/realindex.cgi
backuppc 1884 1386 0 16:31 ? 00:00:00 /usr/bin/perl
/usr/share/backuppc/lib/realindex.cgi
username 1947 1629 0 16:33 pts/0 00:00:00 grep --color=auto backuppc
If I kill all backuppc services then unmount the NAS and restart
backuppc service and GUI works again as expected.
I have tried searching the backuppc documentation and googled fairly
extensively however only hit I turned up with the above error was
someone using a QNAP NAS on which the firmware had been updated. Also
seeing several pointers to the Backuppc wiki but this does seems to only
contain a couple of screenshots.....
So my question is – what is the correct procedure to mount an external
NAS to the /var/lib/backuppc directory so that backuppc works as
expected? Am I missing something obvious here?
Cheers Kiweegie
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/