abel elenas | 23 Jun 13:03 2014
Picon

Error: directory is empty ... on cgi/website

hi,

 

trying to restore a backup recently i've got this message on the backup website :

 

Erreur: Le répertoire /var/lib/BackupPC//pc/pr033070.ietr.univ-rennes1.fr/65 est vide

which can be translatte by error : the folder /var/lib/BackupPC//pc/toto/65 is empty

 

indeed the folder is not empty , and i can restore some file by command line but well none of my undreed of computer

are easily restorable now. The basic rights thing are ok , and i have allready try to chmod a+r on none accessible backup

without doesn't change much.

 

thing that can be instersting is :

 

ls 65 :

 

backupInfo  fd$

 

yep no attrib file there ... i will found one in fd$ ...

 

si if anyone have any clue tips on how to reallow my website to see my backup...

all advice will be most welcome

 

best regards



Abel
Artiste en herbe,musicien , informaticien, roliste , tout et son contraire
Blog Perso
karel-de-macil <at> wanadoo.fr

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
Francisco Suarez | 20 Jun 17:20 2014

Dificulties

Hello there,

I'm having much difficulties getting backuppc to open the web interface.


The webserver has been configured and when I request the url on the browser it downloads what I believe is a cgi.

Using Ubuntu 14 & Xampp lamp distro.

Could you help?

Thanks Much, Francisco
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
Fabio Muzzi | 20 Jun 00:32 2014

A restore issue creates a tar file that can damage the system

Hi everybody.

I have experienced an issue while restoring a directory with backuppc 
version 3.1.0 from Debian.  I know that it's an old version, but I have 
not been able to find anything about this issue, so I suppose it exists 
also in newer versions.

I have a server that does a local backup (and restore) using tar.

I was trying  to restore a local directory  using a restore in place on 
the system itself.

I went to the web interface, browsed the backups, found that the 
directory I wanted to restore seemed to exist in the latest backup (it 
does not, in fact, but more on this later) and so selected the checkbox 
for it, and went on to restore it.

I don' know why, but the directory did NOT exist in that backup, but 
only in the previous one. I still don't understand how can it be that 
the web interface shows it also in the latest backup, but this is not 
the real issue.

The real issue is that the backuppc_tarCreate command issued from the 
web interface, not finding the directory I wanted to restore, generated 
a tar file that contains something very wrong, while it sould have 
simply failed with an error.

Here is the log of the failed restore:

====================================================================
Running: /usr/bin/env LC_ALL=C /usr/bin/sudo /bin/tar -x -p 
--numeric-owner --same-owner -v -f - -C /
Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 1391 
-s / -t -r /var/vmail/geldue.it/valentina.tomba -p 
/var/vmail/geldue.it/valentina.tomba/ 
/var/vmail/geldue.it/valentina.tomba/.AAA\ -Spedizionieri.schenker
Xfer PIDs are now 7844,7845
./
tarCreate: Done: 0 files, 0 bytes, 1 dirs, 0 specials, 0 errors
=====================================================================

And here is the content of the generated tar file, that got restored by 
tar (I have run the same command by hand and redirected its output to a 
test file to get this output).

======================================================================
$ tar tvf test.tar
drwx------ mail/mail         0 2014-06-12 16:43 ./
======================================================================

As you can see, instead of the expected directory (and files), owned in 
fact by mail.mail, all I got was "./" owned by mail.mail and with mode 0700.

Restoring that tar on the system made the root directory owned by 
mail.mail and with 0700 permission, which is WAY TOO WRONG.

I lost one hour trying to understand what happened to the server, and 
another one trying to reproduce the error, which I did.

Here we've got 2 issues: the first is an error in some index that shows 
a directory in backup 1391, while that directory is in fact in backup 
1390 only. The second is that by restoring such directory from backup 
1391 generates that damaging tar file, instead of an error and no output 
file as it should. (restoring from 1390 generates a proper tar file).

I believe that BackupPC_tarCreate should absolutely be failsafe, and 
should NOT generate a tar file when it cannot find the data that I ask 
it to extract, instead of generating such a wrong tar file.

-- 

Fabio Muzzi

  Consulenza informatica
  Sistemi Linux - Sicurezza informatica - Sistemi VoIP
  Integrazione Windows/Linux

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Francisco Suarez | 20 Jun 00:23 2014

Error

Hello Guys,

I'm getting this apache2 error when accessing web console, new install::

[Thu Jun 19 22:19:43.021099 2014] [:error] [pid 3598] Unrecognized character \\x7F; marked by <-- HERE after index.cgi\n<-- HERE near column 194 at /usr/share/backuppc/cgi-bin/index.cgi line 1.\n

Ubuntu 14.04 64bit

Any ideas?

Thanks much, Francisco 
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
Benoit Audette | 19 Jun 23:04 2014

Backuppc and nfsv4 symlink problem

I try to install backuppc with a nfs mount under /var/lib/backuppc
At the end of the install I have the error

[....] Starting backuppc...2014-06-19 15:01:43 Can't create a test 
hardlink between a file in /var/lib/backuppc/pc and 
/var/lib/backuppc/cpool.  Either these are different file systems, or 
this file system doesn't support hardlinks, or these directories don't 
exist, or there is a permissions problem, or the file system is out of 
inodes or full.  Use df, df -i, and ls -ld to check each of these 
possibilities. Quitting...

first I don't see any file under /pc , maybe the script create the file 
try the hardlink and delete the file.

hardlink are working

root <at> backuppc:/var/lib/backuppc/pc/localhost# ln test 
/var/lib/backuppc/cpool/test
root <at> backuppc:/var/lib/backuppc/pc/localhost# ls -l /var/lib/backuppc/cpool/
total 0
-rw-r--r-- 2 root root 0 Jun 19  2014 test

My backuppc server is Debian wheezy and the nfs server is Centos 6

any help or hint will be welcome

Ben

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Francisco Suarez | 19 Jun 22:37 2014

Error, New Install

Hello Guys,

I'm getting this apache2 error when accessing web console, new install::

[Thu Jun 19 22:19:43.021099 2014] [:error] [pid 3598] Unrecognized character \\x7F; marked by <-- HERE after index.cgi\n<-- HERE near column 194 at /usr/share/backuppc/cgi-bin/index.cgi line 1.\n

Ubuntu 14.04 64bit

Any ideas?
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
Lasse R | 19 Jun 06:08 2014

rsync_bpc segfault with BackupPC 4.0.0alpha3

Hi all,

Having used BackupPC 3 for years I've recently been trialling BackupPC 
4.0.0alpha3 and seem to keep hitting an issue with rsync_bpc segfaulting 
while backing up. BackupPC is running on a fresh up to date Centos 6.5 
x86_64 machine with base install. BackupPC is installed using instructions 
found in the readme. This is a fresh install and not an upgrade, starting 
off with an empty pool and the last run before triggering the problem on 
the machine managed to back up 5GB of data before the segfault.

The issue is not related to a specific host, but obviously manifests
itself more often for hosts that have more data to backup. I have
encountered the issue several times while backing up a small host (1GB) as 
well as a bigger one (1TB). The config file is left pretty much at default 
settings save from rsync excludes.

The segfault message is always similar. In dmesg I get:
rsync_bpc[23851]: segfault at 7ff491592aa8 ip 0000000000448203 sp
00007fff12fa0790 error 4 in rsync_bpc[400000+74000]

>From another machine:
rsync_bpc[3361]: segfault at 7fbbe909eaa8 ip 0000000000448203 sp 
00007fff01c71e00 error 4 in rsync_bpc[400000+74000]

XferLog:

XferLOG file /data/BackupPC/pc/app01/XferLOG.0.z created 2014-06-19
10:39:30
Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0,
newBkupNum = 0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx =  (FillCycle
= 3, noFillCnt = )
Running: /usr/local/bin/rsync_bpc --bpc-top-dir /data/BackupPC
--bpc-host-name app01 --bpc-share-name / --bpc-bkup-num 0 --bpc-bkup-comp
4 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 1
--bpc-log-level 1 -e /usr/bin/ssh -l root --rsync-path=/usr/bin/rsync
--super --recursive --protect-args --numeric-ids --perms --owner --group
-D --times --links --hard-links --delete --partial --log-format=log: %o %i
%B %8U,%8G %9l %f%L --stats --checksum --exclude=/dev
--exclude=/lost+found --exclude=/media --exclude=/mnt --exclude=/proc
--exclude=/sys --exclude=/tmp --exclude=/home app01:/ /
full backup started for directory /
Xfer PIDs are now 23849
This is the rsync child about to exec /usr/local/bin/rsync_bpc

--- snip ---
(here is where the segfault occurs)
rsync_bpc: connection unexpectedly closed (308 bytes received so far)
[generator]
DoneGen: 0 errors, 523 filesExist, 139437 sizeExist, 72459 sizeExistComp,
509481 filesTotal, 14872527935 sizeTotal, 118 filesNew, 3595 sizeNew, 4389
sizeNewComp, 113016 inode
rsync error: error in rsync protocol data stream (code 12) at io.c(629)
[generator=3.0.9.3]
rsync_bpc exited with fatal status 12 (3072) (rsync error: error in rsync
protocol data stream (code 12) at io.c(629) [generator=3.0.9.3])
Xfer PIDs are now
Got fatal error during xfer (rsync error: error in rsync protocol data
stream (code 12) at io.c(629) [generator=3.0.9.3])
Backup aborted (rsync error: error in rsync protocol data stream (code 12)
at io.c(629) [generator=3.0.9.3])

---

Possible hardware and disk issues have been eliminated by having to swap
servers and filesystems (not due to BackuPC). Both servers have had fresh 
Centos 6.5 installed either with xfs or ext4 as the pool filesystem. I 
might have to try another distro to see if this is Centos specific.

Anyway, I'm wondering if anyone else has ran into this and any ideas how 
to further diagnose the problem?

Thank you for your time.

Cheers,
Lasse

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

HAL9000 | 18 Jun 16:40 2014

Cannot edit configuration using the web interface

while working on getting backuppc up and running I've run 
into a major snag. 

I have set the password for the following command:

htpasswd -c /etc/BackupPC/apache.users backuppc

I've also double checked and the backuppc user is indeed in 
/etc/BackupPC/apache.users file as it should be. The config.pl file in 
that same directory is also correct as far as I can tell. The /etc/httpd/conf/httpd.conf file also 
appears to be configured correctly.

Still when I log into the web interface by entering backuppc as the user 
and the password I set using htpasswd I'm not seeing any "Edit Config" 
tab on the left side of the page. I've attached a screen shot so you can 
see what I'm looking at. Any guidance you have to offer here would be 
greatly appreciated.

Thanks
 (http://postimg.org/image/7gapx184r/)

+----------------------------------------------------------------------
|This was sent by spamcatcher <at> safe-mail.net via Backup Central.
|Forward SPAM to abuse <at> backupcentral.com.
+----------------------------------------------------------------------

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Gerald Brandt | 15 Jun 17:41 2014

rsync failing on one file

Hi,

I'm getting an rsync failure backing up and Exchange database.  The file 
is about 60GB in size.  Any know work arounds for this issue?

Exchange/MDBDATA/priv1.edb: md4 doesn't match: will retry in phase 1; file removed

Remote[1]: rsync: read errors mapping "/cygdrive/c/shadow/d/Exchange/MDBDATA/priv1.edb": File too
large (27)

-- 
Gerald Brandt
Majentis Technologies
204-229-6595
gbr <at> majentis.com

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

support | 14 Jun 03:43 2014
Picon

hangs

Hi
 
I have the latest backuppc installed and trying to run the first full backup on few machines.

one machine has 246GB and the backup has been running almost 2 days.

the other machine is 300gb over wifi and after few hours it gets stuck one one file and it doesn’t continue.
the count is stuck at 16600 and it never progresses. I guess it is because the wifi was interrupted at some point and backuppc doesn’t restore the backup process from where it left.
<!-- a {text-decoration:none} img {border:none} --> <!-- a {text-decoration:none; color:#3a66d5} a:visited { color:#3a66d5} body {font-family:verdana, arial, helvetica, sans-serif ; color:#3a66d5} -->
What information do you need to troubleshoot the speed issue and the freezing ?

Kind Regards Chris


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
Jürgen Depicker | 12 Jun 23:18 2014
Picon

Troubles with different encodings of filenames

Good evening,

I'm struggling backing up some windows fileservers.  I'm using DeltaCopy Server v1.3 on Windows Server
2008R2 to share some rsyncd modules which I'm pulling in using BackupPC version 3.2.1 running on Ubuntu 12.04.4LTS.

The web interface transfer errors log shows the filenames in different encoding.
ClientCharset 	(default, nothing filled in)
ClientCharsetLegacy iso-8859-1

Some examples:
(Polish I believe; TęznikA.pdf) error:
Remote[2]: file has vanished: "TeznikA.pdf" (in P2)

(Poznań 017.jpg) error:
Remote[2]: file has vanished: "Poznan 017.jpg" (in Users)

(Russian I believe; GMDAT_Размеры машин.xls) error:
Remote[2]: file has vanished: "Kaliningrad/GMDAT_??????? ?????.xls" (in Users)


Any clue to what I'm doing wrong?

Kind regards, Jürgen

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
BackupPC-users mailing list
BackupPC-users <at> lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Gmane