You need to find a way to give access to those directories (read exec) and
files (read) the backuppc user.
look for "How can client access as root be avoided?" in the FAQ
On Wednesday 27 June 2007 18:43, Rob Morin wrote:
> Never mind got it....
>
> I added to the backup /var/lib/postgrey
>
> here is an las of that dir
>
> joe:/var/lib/postgrey# ls -al
> total 10364
> drwx------ 2 postgrey postgrey 4096 2007-06-22 13:21 .
> drwxr-xr-x 41 root root 4096 2007-06-27 09:31 ..
> -rw------- 1 postgrey postgrey 24576 2007-06-22 13:21 __db.001
> -rw------- 1 postgrey postgrey 155648 2007-06-22 13:21 __db.002
> -rw------- 1 postgrey postgrey 270336 2007-06-22 13:21 __db.003
> -rw------- 1 postgrey postgrey 98304 2007-06-22 13:21 __db.004
> -rw------- 1 postgrey postgrey 16384 2007-06-22 13:21 __db.005
> -rw------- 1 postgrey postgrey 10485760 2007-06-27 13:44 log.0000000001
> -rw------- 1 postgrey postgrey 69632 2007-06-27 12:56
> postgrey_clients.db
> -rw------- 1 postgrey postgrey 942080 2007-06-27 13:44 postgrey.db
> -rw------- 1 postgrey postgrey 0 2007-05-30 16:23 postgrey.lock
>
> What should be done to get it to work, in a nice way?
>
> Rob Morin
> Dido InterNet Inc.
> Montreal, Canada
> Http://www.dido.ca
> 514-990-4444
>
> Rob Morin wrote:
> > Hello all... i started getting localhost backup errors...
> >
> > Log file is...
> >
> > 2007-06-27 13:10:29 incr backup started back to 2007-06-21 19:00:01 for
> > directory /etc 2007-06-27 13:11:45 incr backup started back to 2007-06-21
> > 19:00:01 for directory /var/www 2007-06-27 13:12:06 incr backup started
> > back to 2007-06-21 19:00:01 for directory /var/lib/mysql 2007-06-27
> > 13:12:06 incr backup started back to 2007-06-21 19:00:01 for directory
> > /var/lib/amavis 2007-06-27 13:12:07 incr backup started back to
> > 2007-06-21 19:00:01 for directory /var/lib/spamassassin 2007-06-27
> > 13:12:07 incr backup started back to 2007-06-21 19:00:01 for directory
> > /var/lib/clamav 2007-06-27 13:12:08 incr backup started back to
> > 2007-06-21 19:00:01 for directory /var/lib/mdadm 2007-06-27 13:12:08 incr
> > backup started back to 2007-06-21 19:00:01 for directory
> > /var/lib/postgrey 2007-06-27 13:12:10 Got fatal error during xfer (Tar
> > exited with error 512 () status) 2007-06-27 13:12:15 Backup aborted (Tar
> > exited with error 512 () status)
> >
> > It started on the 22nd of June, however all other hosts are fine....
> >
> > My localhost .pl is as follows
> > I am on a Debian etch system
> > backuppc version version 2.1.2pl1
> >
> > Thanks to all in advance
> >
> >
> >
> >
> > #
> > # Local server backup of /etc as user backuppc
> > #
> > $Conf{XferMethod} = 'tar';
> >
> > $Conf{TarShareName} =
> > ['/etc','/var/www','/var/lib/mysql','/var/lib/amavis','/var/lib/spamassas
> >sin','/var/lib/clamav','/var/lib/mdadm','/var/lib/postgrey','/var/mail'];
> >
> > $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';
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/
--
Ali
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/