BackupPC-users

Re: [BackupPC-users] Tar exited with error 512, localhost on Ubuntu 12.10 [SOLVED]

2013-01-30 03:59:50
Subject: Re: [BackupPC-users] Tar exited with error 512, localhost on Ubuntu 12.10 [SOLVED]
From: Magnus Larsson <magnus AT vista DOT se>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 30 Jan 2013 09:58:00 +0100
Hi!

Thanks. I've been experimenting a lot, and now seems to have solved it.

What I did was to include the .gvfs in the exclude dirs, but it did not work with /home/magnus/.gvfs, but finally with ./magnus/.gvfs. Which makes me curious about your exclude-list, that utilizes the full paths, despite the -C $shareName that would make all paths relative to $shareName, or do I misunderstand it?

Best,


Magnus


On 2013-01-30 03:59, entilza wrote:
Last summer when I was setting this up I could have swore I was getting these 512 errors.  Here is my config for my tar backup setup:

Note the small changes.   Good luck.  Check out the filelist.

# Local server backup of /etc as user backuppc
#
$Conf{XferMethod} = 'tar';

$Conf{TarShareName} = [
  '/'
];

$Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C sudo $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';
$Conf{TarClientRestoreCmd} = '/usr/bin/env LC_ALL=C sudo $tarPath -x -p --numeric-owner --same-owner -v -f - -C $shareName+';

$Conf{IncrKeepCnt} = '10';
$Conf{BackupFilesExclude} = {
  '/' => [
    'gamma',
    'mnt',
    'proc',
    'media',
    'lost+found',
    'media',
    'sys'
  ]
};

+----------------------------------------------------------------------
|This was sent by mpalenik AT outlook DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
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/

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
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/
<Prev in Thread] Current Thread [Next in Thread>