Maybe sounds familiar?

Try:

cp -R /var/lib/BackupPC /BackupDriveLoc
chown -R backuppc:backuppc /BackupDriveLoc
rm -rf /var/lib/BackupPC
ln -s /BackupDriveLoc /var/lib/BackupPC
chcon system_u:object_r:var_lib_t:s0 /var/lib/BackupPC
chcon -R system_u:object_r:var_lib_t:s0 /var/lib/BackupPC/*

Thanks,

Greg Harris

On Oct 28, 2020, at 4:43 PM, Robert E. Wooden 
<b...@donelsontrophy.com<mailto:b...@donelsontrophy.com>> wrote:

On 10/28/2020 3:09 PM, Richard Shaw wrote:

Copied or moved? If you unmount dataR6 do you still the the directories in 
/var/lib/BackupPC? Not that it should matter, since mounting will mask any 
files left in the directory :) Symbolic links should work but I've always 
preferred bind mounting.

If you log in as the backuppc user can you create files in /var/lib/BackupPC?

# su -l backuppc -s /bin/bash
$ touch /var/lib/BackupPC/test

Or something like that. Also, look at both the BackupPC logs and the apache 
logs.

Thanks,
Richard

So, I have realized that I could rebuild (again) and I will not be "out much" 
but, what I would do differently this time is the installation sequence.

Previously, I had installed the OS, installed BackupPC (it ran but 
/var/lib/BackupPC was storing on the OS hdd and not the raid array.) After I'd 
gotten BackupPC to run, then I created the raid array. My problems began to 
mount.

This install, I would OS first, setup the array and create the symlink and 
then, install BackupPC. The BackupPC install should simply follow the symlink 
(think it is the /var/lib/BackupPC directory it's looking for) and place backup 
files and directories onto the array, like I want.

I will need to change my install sequence and that should solve my problem  . . 
. I think.

(Learn as you go, sometimes.)

--
Bob Wooden

_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net<mailto:BackupPC-users@lists.sourceforge.net>
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to