-> Is my issue about this covered in this FAQ page:
http://backuppc.sourceforge.net/faq/localhost.html
-> If so, no need to reply to this thread.
Here is the xferLOG for trial 2.
I was under the impression that backuppc had some form of root
control, thus it didn't have to bother with permission issues. Am I
wrong about this?
File /var/lib/backuppc/pc/localhost/XferLOG.bad.z
Running: /usr/bin/env LC_ALL=C /bin/tar -c -v -f - -C / --totals ./research
full backup started for directory /
Xfer PIDs are now 18099,18098
/bin/tar: ./research: Cannot open: Permission denied
Total bytes written: 10240 (10KiB, 89MiB/s)
/bin/tar: Error exit delayed from previous errors
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 /)
Backup aborted (No files dumped for share /)
Not saving this as a partial backup since it has fewer files than the
prior one (got 0 and 0 files versus 0)
On Mon, Apr 27, 2009 at 2:48 AM, Laurin d'Volts <email.port25 AT gmail DOT com>
wrote:
> I'm getting use to using backuppc, but it would appear a couple of
> partitions don't want to backup.
> I don't understand the situation, because one of the seperate
> partitions backed up.
> Two of them didn't. All of the seperate partitions I have are mounted.
> I don't think there is too much special about the partitions in terms
> of permissions, so maybe someone here can figure out the issue.
>
> The two folders that don't want to backup are /office and /research.
> It would appear the /wallpapers partition doesn't have problems with
> being backed up.
>
> Here is version 1 that I used:
>
> ####BEGIN localhost.pl
> #
> # Local server backup of /etc as user backuppc
> #
> $Conf{XferMethod} = 'tar';
>
> $Conf{TarShareName} = [
> '/'
> ];
>
> $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';
> $Conf{BackupFilesExclude} = {
> '*' => [
> '/home/*/music/**.MP3',
> '/home/*/music/**.mp3',
> '*.iso'
> ]
> };
> $Conf{BackupFilesOnly} = {
> '*' => [
> '/root',
> '/home',
> '/etc/dhcp3',
> '/usr/local/bin',
> '/usr/local/sbin',
> '/wallpapers',
> '/office',
> '/research'
> ]
> };
>
>
> Here is version two I used to see if it would simply backup /research:
>
> # Local server backup of /etc as user backuppc
> #
> $Conf{XferMethod} = 'tar';
>
> $Conf{TarShareName} = [
> '/'
> ];
>
> $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';
> $Conf{BackupFilesOnly} = {
> '*' => [
> '/research'
> ]
> };
>
>
> The error for the trial was this:
> 2009-04-27 02:40:34 full backup started for directory /
> 2009-04-27 02:40:35 Got fatal error during xfer (No files dumped for share /)
> It didn't give me an error when /research was part of the first configuration.
> There are files in /research
>
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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/
|