SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Restore not restoring some files
Author Message
Post Restore not restoring some files 
First off, let me say BackupPC is a great product. Thank you to
everyone involved.

This has only happened once, but I would like to figure out what could
be going wrong.

I was trying to restore a backup of a directory last night, but no
matter which backup I tried (1 full, 2 inc),
not all the files would restore. I tried through the GUI and tried
using BackupPC_tarCreate. Either
way some files would not restore.

If I run ls on the directory the files should be in, I see the missing
files in the Full backup, but not in the inc one.

When using the command line, here is the command I use:

su backuppc -c "$BupcPath/bin/BackupPC_tarCreate -h $Server -n $BuNum
-s / -r /home/virtual -p ./ /home/virtual/$Site | gzip >
$Tmp/$Domain.bupc.tgz"

When I try to view the tgz, here is what I see:

[root] < at > [server2] /home/backuppc/util # tar -tzvf
../extract/sitebackup.com.tgz | grep mivadata
tar: Skipping to next header
tar: Skipping to next header
tar: Skipping to next header
drwxr-xr-x 656/656 4096 2004-07-09 14:20:15
./site154/fst/var/www/mivadata/
drwxr-xr-x 656/656 4096 2004-05-10 15:08:29
./site154/fst/var/www/mivadata-4.22/
drwxr-xr-x 656/656 4096 2004-05-10 14:52:03
./site154/fst/var/www/mivadata.bak/
-rw-r--r-- 656/656 1014816 2002-08-30 01:32:15
./site154/fst/var/www/mivadata-4.22/MIVA_FUP00000001
tar: Skipping to next header
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Skipping to next header


This command works fiine for other backups, but I fear other files may
have the same issue
that I won't find untill I need them.

I'm running BackupPC 2.1.0 on Fedora c1

Here is my config file:

# Minimum period in days between full backups. A full dump will only be
$Conf{FullPeriod} = 32.97;
# Minimum period in days between incremental backups (a user requested
# incremental backup will be done anytime on demand).
$Conf{IncrPeriod} = 6.97;
# Number of full backups to keep. Must be >= 1.
$Conf{FullKeepCnt} = 1;
$Conf{FullKeepCntMin} = 1;
$Conf{FullAgeMax} = 62;
$Conf{IncrKeepCnt} = 2;
$Conf{IncrKeepCntMin} = 1;
$Conf{IncrAgeMax} = 33;
$Conf{IncrFill} = 0;
$Conf{RestoreInfoKeepCnt} = 10
$Conf{ArchiveInfoKeepCnt} = 10;
$Conf{BackupFilesOnly} = undef;
$Conf{BackupFilesExclude} = undef;
$Conf{BlackoutBadPingLimit} = 3;
$Conf{BlackoutGoodCnt} = 7;



--
Thanks,
Brandon E.


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Post Restore not restoring some files 
Brandon Evans writes:

This has only happened once, but I would like to figure out what could
be going wrong.

Me too.

I was trying to restore a backup of a directory last night, but no
matter which backup I tried (1 full, 2 inc),
not all the files would restore. I tried through the GUI and tried
using BackupPC_tarCreate. Either
way some files would not restore.

If I run ls on the directory the files should be in, I see the missing
files in the Full backup, but not in the inc one.

When using the command line, here is the command I use:

su backuppc -c "$BupcPath/bin/BackupPC_tarCreate -h $Server -n $BuNum
-s / -r /home/virtual -p ./ /home/virtual/$Site | gzip >
$Tmp/$Domain.bupc.tgz"

When I try to view the tgz, here is what I see:

[root] < at > [server2] /home/backuppc/util # tar -tzvf
../extract/sitebackup.com.tgz | grep mivadata
tar: Skipping to next header
tar: Skipping to next header
tar: Skipping to next header
drwxr-xr-x 656/656 4096 2004-07-09 14:20:15
./site154/fst/var/www/mivadata/
drwxr-xr-x 656/656 4096 2004-05-10 15:08:29
./site154/fst/var/www/mivadata-4.22/
drwxr-xr-x 656/656 4096 2004-05-10 14:52:03
./site154/fst/var/www/mivadata.bak/
-rw-r--r-- 656/656 1014816 2002-08-30 01:32:15
./site154/fst/var/www/mivadata-4.22/MIVA_FUP00000001
tar: Skipping to next header
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Skipping to next header

The tar file looks corrupted. Are there special kinds of files
in or below this directory? Are there very large files (>2GB)?

How large is the tar file - if it's reasonable can you email it to me
(off list)? Or can you create a smaller tar file that demonstrates the
problem and send that?

Craig


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Post Restore not restoring some files 
Craig Barratt wrote:
Brandon Evans writes:


The tar file looks corrupted. Are there special kinds of files
in or below this directory? Are there very large files (>2GB)?

How large is the tar file - if it's reasonable can you email it to me
(off list)? Or can you create a smaller tar file that demonstrates the
problem and send that?

Craig

There are no large files in this directory. No special files either.
The tar file is only 1.8 megs, I'll email you a link so you can download it.

A little more information. I'm doing the backups over rsync + ssh and sudo.

The source server is running rsync-2.5.7-5.fc1 and the backuppx server
has rsync-2.5.7-2.



--
Thanks,
Brandon E.

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB