Admiral Beotch wrote:
> I recently installed BackupPC (BackupPC-3.1.0-3.el5) on a CentOS 5.3
> server from the epel repo.
>
> It appears that backups are occurring but I am unable to view host
> logs or browse backups.
>
> I can see the data being collected into the TOPDIR/pc directories, but
> I the statistics indicate there are no successful backups and I get
> the following errors when I try and view logs or browse backups:
>
> Error: Backup number for host fw does not exist.
> and
> Can't open log file
Does the log file in question exist?
>
> I'm not sure if this is related, but under the TOPDIR/pc/<host>/
> directory, the only subdirectory there is listed as 'f%2f'. Under
> that, each subdirectory are prefixed with 'f'
>
>
> [root@localhost 1]# tree -L 2
> .
> |-- attrib
> |-- backupInfo
> `-- f%2f
> |-- attrib
> |-- fbackup
> |-- fbin
> |-- fboot
> |-- fdev
> |-- fetc
> |-- fhome
>
Are you SURE that's at "$TOPDIR/pc/<host>/"? That directory structure
should be in a numbered directory (corresponding to the backup number),
such as "$TOPDIR/pc/<host>/14/". Judging by the prompt, you are in a
numbered (1) sub-directory. If that's the case, this directory listing
is normal, and we are interested in the REAL contents of
"$TOPDIR/pc/<host>/" (including permissions).
>
> Under the host summary page, I have this information:
>
> * This status was generated at 6/24 16:02.
> * Pool file system was recently at 78% (6/24 16:01), today's
> max is 79% (6/24 11:31) and yesterday's max was 79%.
>
> Hosts with good Backups
>
> There are 0 hosts that have been backed up, for a total of:
>
> * 0 full backups of total size 0.00GB (prior to pooling and
> compression),
> * 0 incr backups of total size 0.00GB (prior to pooling and
> compression).
>
>
> Here's the output of the server logfile:
>
> 2009-06-24 01:00:01 Running 2 BackupPC_nightly jobs from 0..15 (out of
> 0..15)
> 2009-06-24 01:00:01 Running BackupPC_nightly -m 0 127 (pid=27004)
> 2009-06-24 01:00:01 Running BackupPC_nightly 128 255 (pid=27005)
>
> 2009-06-24 01:00:01 Next wakeup is 2009-06-24 02:00:00
> 2009-06-24 01:22:24 BackupPC_nightly now running BackupPC_sendEmail
> 2009-06-24 01:22:24 Finished admin1 (BackupPC_nightly 128 255)
> 2009-06-24 01:22:28 Finished admin (BackupPC_nightly -m 0 127)
>
> 2009-06-24 01:22:28 Pool nightly clean removed 0 files of size 0.00GB
> 2009-06-24 01:22:28 Pool is 0.00GB, 0 files (0 repeated, 0 max chain, 0
> max links), 1 directories
> 2009-06-24 01:22:28 Cpool nightly clean removed 0 files of size 0.00GB
>
> 2009-06-24 01:22:28 Cpool is 33.91GB, 686322 files (32 repeated, 2 max
> chain, 1511 max links), 4369 directories
> 2009-06-24 02:00:00 Next wakeup is 2009-06-24 03:00:00
> 2009-06-24 02:36:41 Finished full backup on host1
>
> 2009-06-24 02:36:41 Running BackupPC_link host1 (pid=27275)
> 2009-06-24 02:40:11 Finished host1 (BackupPC_link host1)
> 2009-06-24 03:00:01 Next wakeup is 2009-06-24 04:00:00
> ...
> 2009-06-24 10:00:00 Next wakeup is 2009-06-24 11:00:00
>
> 2009-06-24 10:00:01 Started incr backup on host2 (pid=785, share=/)
> 2009-06-24 10:00:01 Started incr backup on fw (pid=786, share=/)
> 2009-06-24 10:00:01 Started incr backup on host1 (pid=787, share=/)
> 2009-06-24 11:00:00 Next wakeup is 2009-06-24 12:00:00
>
> 2009-06-24 11:15:01 Finished incr backup on host1
> 2009-06-24 11:15:01 Running BackupPC_link host1 (pid=978)
> 2009-06-24 11:17:13 Finished host1 (BackupPC_link host1)
> 2009-06-24 11:33:35 Finished incr backup on fw
>
> 2009-06-24 11:33:36 Running BackupPC_link fw (pid=1059)
> 2009-06-24 11:35:57 Finished fw (BackupPC_link fw)
> 2009-06-24 11:41:21 Finished incr backup on host2
> 2009-06-24 11:41:21 Running BackupPC_link host2 (pid=1073)
>
> 2009-06-24 11:41:56 Finished host2 (BackupPC_link host2)
> 2009-06-24 12:00:00 Next wakeup is 2009-06-24 13:00:00
>
>
> Any ideas what might be causing my issues?
I'd guess either permissions or SELinux. What's the output of "getenforce"?
>
> Thanks in advance!
Chris
------------------------------------------------------------------------------
_______________________________________________
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/
|