Bug 443816

Summary: BackupPC backup data directory
Product: [Fedora] Fedora Reporter: romiras <romiras_spb>
Component: BackupPCAssignee: Johan Cwiklinski <fedora>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-27 23:15:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description romiras 2008-04-23 14:43:47 UTC
Hello.
Sorry i'am bad speak english. Defaults installation backuppc with yum make data
dir path /var/lib/BackupPC. Then i'am change path from this dir or mount hdd
this path server start and work, but web GUI don't show log file ("can't log
file") and backups session. If download distrib backuppc from offical web site
and install, server starting. but web GUI show "Error: Unable to connect to
BackupPC server". Sorry for my english))) Then i'am install backuppc on PC with
RedHat 8 that's ok. Change backup data dir is work.Help plz, it's Fedora Core
bugs? How health?

Distrib Fedora Core 8, BackupPC Version 3.1.0 released on November 25th, 2007.
perl v5.8.8

Comment 1 Johan Cwiklinski 2008-07-27 23:15:44 UTC
To change backups direcotry dir, you have to remove the old one, and then put a
symlink to the new one : 

# ln -s /var/lib/BackupPC /path/to/you/new/dir/

Check that backuppc user is the owner of you new dir : 
# chown -R backuppc:backuppc /path/to/you/new/dir/

If you have SELinux active, you should probably put right context on the new dir :
# chcon -R -t var_lib_t /path/to/you/new/dir/

If you wish to install from upstream packages, consider reading their FAQ, and
be aware of your logs (both httpd and auditd).