BackupPC-users

Re: [BackupPC-users] Can't locate BackupPC/Lib.pm on Centos5.6 x86_64

2011-08-03 21:32:14
Subject: Re: [BackupPC-users] Can't locate BackupPC/Lib.pm on Centos5.6 x86_64
From: Kris Lou <klou AT themusiclink DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 3 Aug 2011 18:07:11 -0700
Here's a more "updated" (but not really recent) version of the CentOS HowTo:


(Credit to Max Hetrick for writing both original and updated versions, and Sorin Srbu for currently hosting - did this ever make it to the wiki?)

Also, see the note about 64-bit CentOS below (but you might be better off going Richard's way):

Personal notes and gotcha's

  • When installing BackupPC (BPC) using the C5-Testing repo, the default installation location will be in /var/lib/backuppc. This is also where the backup-files will be stored. It is likely you won't have the space to store the backup data on the main system harddrive, or you may feel this is not appropriate. So, if you like me have a separate raid-array for storing the backup data, the files and folders from /var/lib/backuppc need to be moved to this new location. It's easiest to take care of this before you start the actual backups (less data to move around).
    • Assuming raid array is mounted on /bak.
    • Move the contents of /var/lib/backuppc to a suitable place.
    • Remove the backuppc-folder. # rmdir /var/lib/backuppc # cd /var/lib # ln -s /bak backuppc
    • Move the contents to /bak.

  • With CentOS v5.x the documentation-links in the web-GUI aren't in the expected location. Solve this by following the procedure outlined below.
      # cd /usr
      # ln -s /usr/share/backuppc/html/doc doc
      

  • Courtesy of Martin Jeppesen: On 64bit CentOS, the admin has to change
    use lib "/usr/lib";
    
    to
    
    use lib "/usr/bin/BackupPC";
    
    in /usr/bin/BackupPC.
    
    Note from Martin: "Note that you will need to change *all* BackupPC scripts (unless the others have the correct value ...), i.e. BackupPC, BackupPC_archive, BackupPC_archiveHost, BackupPC_archiveStart ... let's hope they're all still named as they should be ;-)." Source: http://www.mail-archive.com/backuppc-users AT lists.sourceforge DOT net/msg11285.html


Kris
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
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/