Brian Ott | 25 Sep 16:16 2014
Picon

Every backup I do gets error "BackupPC_link got error -3 when calling MakeFileLink"

Hello, 

Hopefully someone can help me out with this. I've looked this error up and came across this old posting: http://adsm.org/lists/html/BackupPC-users/2009-08/msg00115.html

However there was no luck there as it seems my issue may be different. What I've observed is that I receive
this error in the log file for every host I backup. 

After some investigation I believe this to be related to symbolic links. When I check the symbolic links are
not in the "f" directories. Here is an example: 

2014-09-25 08:47:10 BackupPC_link got error -3 when calling
MakeFileLink(/var/lib/backuppc/pc/pfy.res.oicr.on.ca/0/f%2f/fsbin/flvchange,
adcd7bc3e2583e93ed4e4a0e7ae055d1, 1)

Checking for the file, it is not there. 

backuppc <at> backstage:~/pc/pfy.res.oicr.on.ca/0/f%2f/fsbin$ ls -lh | grep change
backuppc <at> backstage:~/pc/pfy.res.oicr.on.ca/0/f%2f/fsbin$

and checking on the host it's a symbolic link 

pfy:/sbin
$ ls -lh | grep change
lrwxrwxrwx 1 root root      3 Jan 27  2014 lvchange -> lvm

when I check in the backuppc webpage for the host, and browse directory 'sbin' I don't see this symbolic link
there, however I do see other 'symlinks' mentioned. (For example /sbin/stop)

Here is the log file for those two: 

(Continue reading)

Tom Fallon | 24 Sep 18:16 2014
Picon

Mounting synology NAS breaks Backuppc

Recently I had to rebuild a backuppc server I’ve inherited from previous admin. Running Ubuntu 14.04 server and Backuppc version 3.2.1 installed from repositories. The backups are stored on a Synology NAS (RS3413XS+ running DSM 4.3) which I’ve mounted using NFS.

 

If I mount the NAS (mount <NAS IP>:/volume5/LinuxBackups /var/lib/backuppc) I can see the backups on the NAS and can do a “touch test.txt” and modify contents so permissions seem ok. And the backuppc web GUI is accessible however I get the following error.

 

Error: Unable to connect to BackupPC server

This CGI script (/backuppc/index.cgi) is unable to connect to the BackupPC server on <Servername> port -1.
The error was: unix connect: Connection refused.
Perhaps the BackupPC server is not running or there is a configuration error. Please report this to your Sys Admin.

If I try and unmount the NAS I get error that mount is in use (makes sense) but when I try and stop backuppc I get another error

 

No process in pidfile '/var/run/backuppc/BackupPC.pid' found running; none killed.

 

A ps –eg | grep backuppc shows

 

username <at> servername~$ ps -ef | grep backuppc

backuppc  1874     1  0 16:26 ?        00:00:00 /usr/bin/perl /usr/share/backuppc/bin/BackupPC -d

backuppc  1877  1386  0 16:27 ?        00:00:00 /usr/bin/perl /usr/share/backuppc/lib/realindex.cgi

backuppc  1878  1386  0 16:27 ?        00:00:00 /usr/bin/perl /usr/share/backuppc/lib/realindex.cgi

backuppc  1884  1386  0 16:31 ?        00:00:00 /usr/bin/perl /usr/share/backuppc/lib/realindex.cgi

username  1947  1629  0 16:33 pts/0    00:00:00 grep --color=auto backuppc

 

If I kill all backuppc services then unmount the NAS and restart backuppc service and GUI works again as expected.

 

I have tried searching the backuppc documentation and googled fairly extensively however only hit I turned up with the above error was someone using a QNAP NAS on which the firmware had been updated. Also seeing several pointers to the Backuppc wiki but this does seems to only contain a couple of screenshots.....

 

So my question is – what is the correct procedure to mount an external NAS to the /var/lib/backuppc directory so that backuppc works as expected? Am I missing something obvious here?

 

Cheers Kiweegie

<!-- /* Font Definitions */ <at> font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-536870145 1107305727 0 0 415 0;} <at> font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-536870145 1073786111 1 0 415 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman";} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} <at> page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.WordSection1 {page:WordSection1;} -->
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
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/
xpac | 23 Sep 20:50 2014

Easiest way to delete test backups?

Hi, I'm fairly new to Linux, and brand new to BackupPC (I've dealt with Netbackup/BackupExec/Commvault in
the past in mostly Windows centric environments) - I've recently installed it and started generating
some test backups so I can work out any issues, and so far so good.

However, these are not backup jobs that I would like to keep, I don't see an easy way to delete them through the
web interface, so what's the easiest solution (without screwing anything up)?

+----------------------------------------------------------------------
|This was sent by phiii <at> hotmail.com via Backup Central.
|Forward SPAM to abuse <at> backupcentral.com.
+----------------------------------------------------------------------

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
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/

Lord Sporkton | 19 Sep 02:53 2014
Picon

file sizes on windows

Regarding the limitations page at http://backuppc.sourceforge.net/faq/limitations.html 
It indicates that smbclient is limited to 4gig, what happens over that?
I noticed a few servers with much larger files and Im curious about what exactly happens because they dont seem to be throwing any errors. However that limit also happens to be due to smbclient, not backuppc so if they fixed that in smbclient it should be resolved overall right?

THanks
Lawrence

------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
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 | 17 Sep 19:55 2014

QNX 4.23A

Hi,

I've been tasked with backing up an old QNX 4.23A system.  From what I 
can see, the box doesn't have ssh, ftp, rsync (or rsyncd), or smb.

Is anyone backing something like this up?  If so, how.

Gerald

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
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/

Russell R Poyner | 17 Sep 16:51 2014
Picon

rsync 3.09 fails on windows symlinkd

I've been using a powershell script to create shadow copies and link 
them to the filesystem in order to expose them to rsyncd. This works 
with my oldish copy of DeltaCopy rsync, but when I use the current 
cygwin-rsync package from the BackupPC web site I'm not able to follow 
the link.

If I tell it to follow the link:
  rsync -r -L rsyncuser <at> host::shadow
symlink has no referent: "C" (in shadow)
drwxr-xr-x           0 2014/09/17 11:32:30 .
rsync error: some files/attrs were not transferred (see previous errors) 
(code 23) at main.c(1538) [generator=3.0.9]

If I don't tell it to follow the link:
  rsync -r 
behdadrsync <at> cbe-win7amd64.che.wisc.edu::shadowdrwxr-xr-x           0 
2014/09/17 11:37:30 .
lrwxrwxrwx          54 2014/09/17 11:37:30 C

On the windows side:
dir c:\shadow

09/17/2014  09:27 AM   <SYMLINKD>     C 
[\\?\GLOBALROOT\Device\HarddiskVolume....

I have use "chroot = no" in rsyncd.conf

I've also tried a variety of links related switches on the rsync client.

Googling "symlink has no referent: windows"
turns up a few other people with this problem

Anyone been able to solve this one?

Thanks
Russ Poyner

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
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/

Nicola Scattolin | 17 Sep 11:18 2014

very slow backup on windows

Hi,
i have backuppc backing up a couple of linux machines of 30/40 GB each 
and a windows shared folder of 1.1 TB.
Usually it takes one day and a half to backup the windows folder with a 
speed around 7 mbit/s but now the speed has decreased to 5 and it takes 
up ot 3 days to make full backup.
I have already tried to reboot the server but speed remain the same.
so some details, the backup server is proxmox virtualized, 2.5 Gb of ram 
and 2 processors (seems enaught since never reach more than 80% when 
making backup) 10/100 eth integrated port.
The windows system is a windows server 2003, also proxmox virtualized, 1 
processor.
Backup is make on local environment, at night so lan traffic is very low 
or null.
host configuration on backuppc is:
XderMethod:smb
ClientCharsetLegacy:iso-8859-1
SmbClientFullCmd: $smbClientPath \\$host\$shareName $I_option -U 
$userName -E -d 1 -c tarmode\ full -Tc$X_option - $fileList
SmbClientIncrCmd: $smbClientPath \\$host\$shareName $I_option -U 
$userName -E -d 1 -c tarmode\ full -TcN$X_option $timeStampFile - $fileList
compresslevel:3 (maybe i can reduce compression to save time, IF the 
problem is backuppc server speed)

how can i speed up my backups? also on linux machine max speed is 11 
mbit/s, so not so much.
thank yuo

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
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/

Evaristo Calatravita | 15 Sep 22:27 2014
Picon

first copy on slow line

Hi,

I'm testing bakckuppc during las months but is the first problem/question I have: I'm testing to backup various  2TB-filesystems with relativelly lower daily changes (about 10-30Mb)

The problem is that the line between these hosts  and backuppc server is terribly slow :-(, but I have the possibility of make initial backup moving info in a harddisk or similar.

The question is: there is some function or hack to copy first backup manually to the backuppc server?


Thanks everyone
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
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/
strowi | 9 Sep 12:42 2014
Picon

Long-Term Backups/Rotation

Hi everyone,

i am currently trying to setup a long-term backup-solution with 
backuppc.

But it seems i am struggling with the KeepCnt- Values..

I would like to do daily incremental backups -> weekly full backups so 
far so good..

But furthermore keep 1 full backup of each month for a year and 1 full 
backup of each year for 10 years.

Is there some way to accomplish this with backuppc?

greetings,
Roman

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
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 | 8 Sep 16:09 2014

Best Appoach for MySQL Backups

What would be a good approach for backing up MySQL databases on hosts with BackupPC?
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
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 | 5 Sep 14:45 2014

Admin and Admin1 host? Is it maintenance?

I have this showing on the dashboard this morning. Not sure what i means?

Currently Running Jobs

Host Type User Start Time Command PID Xfer PID
admin 9/5 01:00 BackupPC_nightly -m 0 127 6156
admin1 9/5 01:00 BackupPC_nightly 128 255 6157

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
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