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.
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?
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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