Jockes wrote:
The log below was from the host and the global log says:
2008-01-08 22:37:40 Reading hosts file
2008-01-08 22:37:40 BackupPC started, pid 12469
2008-01-08 22:37:40 Running BackupPC_trashClean (pid=12471)
2008-01-08 22:37:40 Next wakeup is 2008-01-08 23:00:00
2008-01-08 22:38:36 User backuppc requested backup of localhost
<http://admin.jarkeborn.se/backuppc/index.cgi?host=localhost> (localhost
<http://admin.jarkeborn.se/backuppc/index.cgi?host=localhost>)
2008-01-08 22:38:36 Started full backup on localhost
<http://admin.jarkeborn.se/backuppc/index.cgi?host=localhost> (pid=12488,
share=/etc)
2008-01-08 22:38:43 Started full backup on localhost
<http://admin.jarkeborn.se/backuppc/index.cgi?host=localhost> (pid=12488,
share=/home)
2008-01-08 22:38:48 Started full backup on localhost
<http://admin.jarkeborn.se/backuppc/index.cgi?host=localhost> (pid=12488,
share=/root)
2008-01-08 22:38:51 Started full backup on localhost
<http://admin.jarkeborn.se/backuppc/index.cgi?host=localhost> (pid=12488,
share=/usr/local/share/moin)
2008-01-08 22:38:53 Started full backup on localhost
<http://admin.jarkeborn.se/backuppc/index.cgi?host=localhost> (pid=12488,
share=/var/media/webroots)
2008-01-08 22:40:28 Started full backup on localhost
<http://admin.jarkeborn.se/backuppc/index.cgi?host=localhost> (pid=12488,
share=/var/media/svnroots)
2008-01-08 22:40:31 Started full backup on localhost
<http://admin.jarkeborn.se/backuppc/index.cgi?host=localhost> (pid=12488,
share=/var/media/shares)
2008-01-08 22:52:25 Started full backup on localhost
<http://admin.jarkeborn.se/backuppc/index.cgi?host=localhost> (pid=12488,
share=/var/vmail)
2008-01-08 22:52:32 Backup failed on localhost
<http://admin.jarkeborn.se/backuppc/index.cgi?host=localhost> (No files dumped
for share /var/vmail)
2008-01-08 22:52:32 Running BackupPC_link localhost
<http://admin.jarkeborn.se/backuppc/index.cgi?host=localhost> (pid=13995)
2008-01-08 22:52:33 BackupPC_link got error -4 when calling
MakeFileLink(/var/backup/pc/localhost
<http://admin.jarkeborn.se/backuppc/index.cgi?host=localhost>/1//attrib,
8de58cb1b78bf6770c112aff66aa9fd5, 1)
2008-01-08 22:52:33 BackupPC_link got error -3 when calling
MakeFileLink(/var/backup/pc/localhost
<http://admin.jarkeborn.se/backuppc/index.cgi?host=localhost>/1/f%2fetc/fsgml/fcatalog.old,
4cf92d43b69b23dded25a2c693eb7816, 1)
...and a LOT of these (similar to the last one)
Note that I have configured the TopDir to /var/backup which is on a larger disk
(backup-only disk).
Any idea?
BR / Jocke
Jockes wrote:
Hello,
I have started to use BackupPC and the first full run failed with the
following:
############################################
2008-01-08 20:46:54 full backup started for directory /etc
2008-01-08 20:46:58 full backup started for directory /home
2008-01-08 20:47:04 full backup started for directory /root
2008-01-08 20:47:07 full backup started for directory /usr/local/share/moin
2008-01-08 20:47:09 full backup started for directory /var/media/webroots
2008-01-08 20:48:43 full backup started for directory /var/media/svnroots
2008-01-08 20:48:47 full backup started for directory /var/media/shares
2008-01-08 20:59:31 full backup started for directory /var/vmail
2008-01-08 20:59:33 Got fatal error during xfer (No files dumped for share
/var/vmail)
2008-01-08 20:59:38 Backup aborted (No files dumped for share /var/vmail)
2008-01-08 20:59:38 Saved partial dump 0
############################################
The config looks like (/etc/backuppc/localhost.pl):
############################################
[EMAIL PROTECTED]:/var/backup# more /etc/backuppc/localhost.pl
#
# Local server backup of /etc as user backuppc
#
$Conf{XferMethod} = 'tar';
$Conf{TarShareName} = [
'/etc',
'/home',
'/root',
'/usr/local/share/moin',
'/var/media/webroots',
'/var/media/svnroots',
'/var/media/shares',
'/var/vmail',
'/var/backups'
];
$Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C $tarPath -c -v -f - -C $shareName'
. ' --totals';
# remove extra shell escapes ($fileList+ etc.) that are
# needed for remote backups but may break local ones
$Conf{TarFullArgs} = '$fileList';
$Conf{TarIncrArgs} = '--newer=$incrDate $fileList';
############################################
The content of /var/vmail is:
############################################
[EMAIL PROTECTED]:/var/backup# ls -al /var/vmail/
total 36
drwxrwx--- 6 vmail mail 4096 2007-07-06 09:31 .
drwxr-xr-x 20 root root 4096 2007-12-27 23:58 ..
drwx------ 4 vmail mail 4096 2007-07-06 09:33 domain1.se
drwx------ 4 vmail mail 4096 2007-07-06 09:37 domain2.se
-rw-r--r-- 1 vmail mail 220 2007-07-06 06:47 .bash_logout
-rw-r--r-- 1 vmail mail 2298 2007-07-06 06:47 .bashrc
drwx------ 13 vmail mail 4096 2007-10-30 22:18 domain3.se
drwx------ 6 vmail mail 4096 2007-07-06 09:49 domain4.se
-rw-r--r-- 1 vmail mail 566 2007-07-06 06:47 .profile
############################################
Do you have any idea why?
BR / Jocke
The errors was removed when running the backups to the default place
/var/lib/backuppc (TopDir)
Then I still have problems with /var/vmail directory and the extract
from the logs says:
########################
tarExtract: Done: 0 errors, 2461 filesExist, 0 sizeExist, 0 sizeExistComp,
47883 filesTotal, 13190814719 sizeTotal
Running: /usr/bin/env LC_ALL=C /bin/tar -c -v -f - -C /var/vmail --totals .
full backup started for directory /var/vmail
Xfer PIDs are now 30851,30850
/bin/tar: /var/vmail: Cannot chdir: Permission denied
/bin/tar: Error is not recoverable: exiting now
Tar exited with error 512 () status
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0
filesTotal, 0 sizeTotal
Got fatal error during xfer (No files dumped for share /var/vmail)
Backup aborted (No files dumped for share /var/vmail)
########################
I have a lot of permission errors n /etc as well...
How should backuppc be configured to resolve these "permission denied"
errors?
BR / Jocke
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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/