Wayne L Andersen wrote:
> Here are the steps I took, straight from my bash history:
>
> 313 yum update
> 314 yum install backuppc
If you install a packaged version, the configuration step that allows
you to specify alternate locations has already been done and you can't
change it.
> 315 mkfs.ext4 /dev/sdc1
> 316 mount /dev/sdc1 /mnt/usb/
> 317 vi /etc/BackupPC/config.pl
>
> # I changed the line $Conf{TopDir} = '/var/lib/BackupPC/';
> # to $Conf{TopDir} = '/mnt/usb/BackupPC/';
>
> 318 cd /var/lib/
> 319 mv BackupPC /mnt/usb/
You might be OK if you undo your config change and
ln -s /mnt/usb/BackupPC /var/lib/BackupPC.
> 320 vi /etc/httpd/conf.d/BackupPC.conf
> 321 htpasswd -c /etc/BackupPC/apache.users waynea
> 322 chkconfig backuppc on
> 323 service backuppc restart
> 324 service httpd restart
> 325 cat /var/log/messages
>
> At this point I went to the web inerface added my host and started backing
> up.
>
> It is my understanding that mv preserves hardlinks so this should have
> worked.
There aren't any hardlinks starting out.
> Just as a general understanding of how BackupPC works in a normal scenario
> what hard links are created during the initial install?
None, but the target must be in the expected place and on the same
filesytem as the pc dirs.
> Is cpool or pool a hardlink to pc?
No, every file stored under pc gets a hardlink in pool or cpool
(depending on compression) that is based on a hash of it's content, so
all matching files (with some tests for hash collisions) end up as links
to one instance.
--
Les Mikesell
[email protected]
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
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/