BackupPC-users

Re: [BackupPC-users] Start Backuppc on boot

2013-05-16 22:57:44
Subject: Re: [BackupPC-users] Start Backuppc on boot
From: Norman Goldstein <normvcr AT telus DOT net>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 16 May 2013 19:56:14 -0700
I don't know what OS you are running backuppc on, but, at least on fedora,
the auto-startup of backuppc may need some help, by editing

/usr/lib/systemd/system/backuppc.service

(more details of this "bug" in https://bugzilla.redhat.com/show_bug.cgi?id=959309)

In a nutshell, on the "After=" line, add the service(s) that you need backuppc to wait for. In my case, it is httpd.service. On my previous installation, I needed to add remote-fs.target

Norm


On 05/16/2013 03:39 PM, Michael Stowe wrote:
Hi all,

I just installed a new 1TB drive and partitioned it into 2 500GB
partitions. I have a Debian Wheezy system. One of the partitions is
mounted /media/backuppc. This partition contains a directory /backuppc
The program resides on another disk drive along with the OS. I pointed
backuppc's  TopDir to /media/backuppc/backuppc. Upon boot, BackupPC
doesn't start and puts entries in the /var/log/backuppc of:
      /bin/df: " /var/lib/backuppc": No such file or directory (Well yes,
I removed it So why is it still around?)
      /bin/dif: no file systems processed.
It would appear that the hard disk is not mounted before backuppc runs
df. Since all of the disks  (including the boot disk) are started by
fstab, this doesn't make sense. Also where did /var/lib/backuppc come
from. This was the old setup.

Please help

Gary R
We'll start with the fact that you can't just change TopDir and expect
everything to work (it won't, see the archives for details) -- but you can
put it back the way it was and create a symbolic link from
/var/lib/backuppc to wherever you want the files to be.

Given that, you're unlikely to be correct about BackupPC being started
before your hard drive is mounted, especially since the error is pretty
clear about where it's looking for the directory.

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
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/



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
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/