Hi Andrew

On 9/3/05, Andrew Zbikowski <[EMAIL PROTECTED]> wrote:
> Worth noting, I use a Maxtor USB2 hard drive for BackupPC. Whenever my
> system gets rebooted, the hard drive doesn't automatically mount, and
> as a result backuppc can't find /var/lib/backuppc, so BackupPC doesn't
> start either.
>
> I think Ubuntu tries to mount hard drives before detecting USB
> devices. I haven't looked into it much yet though.

I have the same thing with Debian Sarge. My USB drive is not mounted at boot.
I just added the following to my backuppc init.d script under the start) line:

#check if the External USB drive is mounted and if not mount it
       if [ -z "`mount |grep backuppc`" ]
       then
               `mount /var/lib/backuppc`
               echo "mounted /var/lib/backuppc"
       else
               echo "/var/lib/backuppc already mounted"
       fi

so that way backuppc will always mount the USB hard drive before it starts.

cheers
John
>
> --
> Andrew S. Zbikowski | http://andy.zibnet.us
> SELECT * FROM users WHERE clue >0;
> 0 rows returned
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/
>


--
John Habermann
The Wilderness Society
www.wilderness.org.au


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to