[BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
On Thu, Feb 28, 2013 at 10:41 AM, jdurand backuppc-forum at backupcentral.com wrote: I have read the Wiki suggestions for this problem. My backups are on a different disk /mnt/sdb1/backuppc than Backuppc installation so I symlinked /data/backuppc to /mnt/sdb1/backuppc and am still receiving the error only now it states BackupPC_link got error -4 when calling MakeFileLink(/data/BackupPC/pc/hostname...). Can anyone give any suggestions on the resolution? Also, lately a backup has taken 4 days to complete full (many many subdirs in folder it is backing up, but incremental takes 20 mins, also it is around 70Gigs total). If you installed from the sourceforge tarball you should be able to specify where you want the archive. If you used a .deb/.rpm packaged version, /data/backuppc doesn't sound like the right place. Try making one of the links that are failing in the logs manually as the backuppc user - you may get a better error message. As for timing - fulls do a complete read on the data on the target side for a block checksum comparison. Incrementals skip anything where the previous full has the same timestamp and file length. Our BackupPC was installed via source. I tried to mkdir /data/BackupPC/pc/test and got permission denied. The full backup that is taking 4 days to complete is only 69Gigs/230k files, using tar, and the systems do not seem to be working very hard. [/img] +-- |This was sent by jdur...@hrsg.ca via Backup Central. |Forward SPAM to ab...@backupcentral.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_feb ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
On Thu, Feb 28, 2013 at 10:41 AM, jdurand backuppc-forum at backupcentral.com wrote: I have read the Wiki suggestions for this problem. My backups are on a different disk /mnt/sdb1/backuppc than Backuppc installation so I symlinked /data/backuppc to /mnt/sdb1/backuppc and am still receiving the error only now it states BackupPC_link got error -4 when calling MakeFileLink(/data/BackupPC/pc/hostname...). Can anyone give any suggestions on the resolution? Also, lately a backup has taken 4 days to complete full (many many subdirs in folder it is backing up, but incremental takes 20 mins, also it is around 70Gigs total). If you installed from the sourceforge tarball you should be able to specify where you want the archive. If you used a .deb/.rpm packaged version, /data/backuppc doesn't sound like the right place. Try making one of the links that are failing in the logs manually as the backuppc user - you may get a better error message. As for timing - fulls do a complete read on the data on the target side for a block checksum comparison. Incrementals skip anything where the previous full has the same timestamp and file length. Our BackupPC was installed via source. I tried to mkdir /data/BackupPC/pc/test and got permission denied. The full backup that is taking 4 days to complete is only 69Gigs/230k files, using tar, and the systems do not seem to be working very hard. Sorry a quick clarification, BackupPC is being run as daemon, so I was wrong about the permissions. As well, I was able to confirm that the source install is using configure.pl:--data-dir /data/BackupPC although config files sit in /etc/BackupPC/. +-- |This was sent by jdur...@hrsg.ca via Backup Central. |Forward SPAM to ab...@backupcentral.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_feb ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
Our BackupPC was installed via source. I tried to mkdir /data/BackupPC/pc/test and got permission denied. The full backup that is taking 4 days to complete is only 69Gigs/230k files, using tar, and the systems do not seem to be working very hard. +-- |This was sent by jdur...@hrsg.ca via Backup Central. |Forward SPAM to ab...@backupcentral.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_feb ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
On Fri, Mar 1, 2013 at 8:41 AM, jdurand backuppc-fo...@backupcentral.com wrote: Our BackupPC was installed via source. I tried to mkdir /data/BackupPC/pc/test and got permission denied. The full backup that is taking 4 days to complete is only 69Gigs/230k files, using tar, and the systems do not seem to be working very hard. Sorry a quick clarification, BackupPC is being run as daemon, so I was wrong about the permissions. As well, I was able to confirm that the source install is using configure.pl:--data-dir /data/BackupPC although config files sit in /etc/BackupPC/. What error do you get when running as the backuppc user (or whatever id the daemon is using when the link fails)?Also, is the target disk formatted with a linux filesystem that supports hardlinks?Tar backups should run about as fast as the server is able to write the data to disk - but it does have to write it all on a full run. If the links are failing you probably have a lot of clutter with additional copies filling your disk. -- Les Mikesell lesmikes...@gmail.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_feb ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
I have read the Wiki suggestions for this problem. My backups are on a different disk /mnt/sdb1/backuppc than Backuppc installation so I symlinked /data/backuppc to /mnt/sdb1/backuppc and am still receiving the error only now it states BackupPC_link got error -4 when calling MakeFileLink(/data/BackupPC/pc/hostname...). Can anyone give any suggestions on the resolution? Also, lately a backup has taken 4 days to complete full (many many subdirs in folder it is backing up, but incremental takes 20 mins, also it is around 70Gigs total). Thanks! +-- |This was sent by jdur...@hrsg.ca via Backup Central. |Forward SPAM to ab...@backupcentral.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_feb ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
On Thu, Feb 28, 2013 at 10:41 AM, jdurand backuppc-fo...@backupcentral.com wrote: I have read the Wiki suggestions for this problem. My backups are on a different disk /mnt/sdb1/backuppc than Backuppc installation so I symlinked /data/backuppc to /mnt/sdb1/backuppc and am still receiving the error only now it states BackupPC_link got error -4 when calling MakeFileLink(/data/BackupPC/pc/hostname...). Can anyone give any suggestions on the resolution? Also, lately a backup has taken 4 days to complete full (many many subdirs in folder it is backing up, but incremental takes 20 mins, also it is around 70Gigs total). If you installed from the sourceforge tarball you should be able to specify where you want the archive. If you used a .deb/.rpm packaged version, /data/backuppc doesn't sound like the right place. Try making one of the links that are failing in the logs manually as the backuppc user - you may get a better error message. As for timing - fulls do a complete read on the data on the target side for a block checksum comparison. Incrementals skip anything where the previous full has the same timestamp and file length. -- Les Mikesell lesmikes...@gmail.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_feb ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
Hello, I have just installed Backuppc on Ubuntu 8.10; it seems to be running but each log is filled with this message 1000's of times: BackupPC_link got error -4 when calling MakeFileLink(/home/backup/backuppc/pc/localhost/28/f%2f/fboot/attrib, 5dd1f66af621eb4c63dbc966a0744886, 1) with just the specific file name path changing. Obviously something is wrong. I'll be happy to post or send any information or complete logs but don't want to flood the list with useless things; please let me know what info would be helpful in debugging this. Thanks, -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC_link got error -4 when callingMakeFileLink
Hi, How did you change the path for backuppc ? Did you change it in config or during installation ? This usually happens when your backuppc storage directory is not setup properly; atleast that's what I found out while using it. I then used the sf.net version (instead of distro packaged version) and through configure process changed the storage directory. Try and see if that resolves your problem. -- Thanks and Regards, Anand -Original Message- From: Steve lepe...@gmail.com Date: Fri, 16 Jan 2009 11:37:00 To: backuppc-users@lists.sourceforge.net Subject: [BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink Hello, I have just installed Backuppc on Ubuntu 8.10; it seems to be running but each log is filled with this message 1000's of times: BackupPC_link got error -4 when calling MakeFileLink(/home/backup/backuppc/pc/localhost/28/f%2f/fboot/attrib, 5dd1f66af621eb4c63dbc966a0744886, 1) with just the specific file name path changing. Obviously something is wrong. I'll be happy to post or send any information or complete logs but don't want to flood the list with useless things; please let me know what info would be helpful in debugging this. Thanks, -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC_link got error -4 when callingMakeFileLink
I just found the wiki page: http://backuppc.wiki.sourceforge.net/change+archive+directory I am going to try this advice and see if it works; I had changed the TopDir in the config file. Thanks for the quick reply. On Fri, Jan 16, 2009 at 11:59 AM, anand...@gmail.com wrote: Hi, How did you change the path for backuppc ? Did you change it in config or during installation ? This usually happens when your backuppc storage directory is not setup properly; atleast that's what I found out while using it. I then used the sf.net version (instead of distro packaged version) and through configure process changed the storage directory. Try and see if that resolves your problem. -- Thanks and Regards, Anand -Original Message- From: Steve lepe...@gmail.com Date: Fri, 16 Jan 2009 11:37:00 To: backuppc-users@lists.sourceforge.net Subject: [BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink Hello, I have just installed Backuppc on Ubuntu 8.10; it seems to be running but each log is filled with this message 1000's of times: BackupPC_link got error -4 when calling MakeFileLink(/home/backup/backuppc/pc/localhost/28/f%2f/fboot/attrib, 5dd1f66af621eb4c63dbc966a0744886, 1) with just the specific file name path changing. Obviously something is wrong. I'll be happy to post or send any information or complete logs but don't want to flood the list with useless things; please let me know what info would be helpful in debugging this. Thanks, -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- eWhatever. - eAnonymous -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
Mount was bad. Good mount: /var/lib/backuppc Bad mount: /var/lib/backuppc/pc Thanks +-- |This was sent by hirleve...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
Hi Tagore, tagore wrote: Hi! Is there a result? We have similar problem. Thanks +-- |This was sent by hirleve...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- It would be a better idea next time to quote the message from the forum (since you use backupcentral forums), it will help users on the mailing list to help you. I am replying to your mail, because i was the one who started the thread about BackupPC_link got error -4 when callingMakeFileLink. Here are some explanations and details 1. I used an rpm to install backuppc which has its path for installation and backup location embeded in it. 2. Due to less knowledge about how backuppc works, i tried to change the path, and thus resulted in the errors which were posted by me. 3. Eventually with the help of list users, i was able to resolve the issue. To make sure you don't mess up things the way i did, i would advise you to install the version from sf.net website. The install allows you to customize the paths all at the configuration/ installation time. Doing this, the errors disappeared for me atleast. Hope this helps you in resolving your problem -- Thanks and Regards, Anand -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
Hi! Is there a result? We have similar problem. Thanks +-- |This was sent by hirleve...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
Hi mailing list, hi Backup Central forum user, tagore wrote on 2009-01-08 09:21:05 -0500 [[BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink]: Hi! Is there a result? We have similar problem. Thanks from the complete details you are giving (no in-reply-to or references headers, no quote), I'd say, I have no idea what you are talking about. Your subject suggests that the correct answer to your query is yes, though. It's often been asked, it's often been answered. You'll need to search. Regards, Holger -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
I do not recommend one solution or the other, both work. I prefer (2). The configuration is easier to read if you find the mount-point of file-systems directly under /. And, according to the man-pages, --bind is not obsolete, -o bind might be. This documentation comes with the kernel, I consider it official Linux documentation. Thanks, I will change the group ownership of the topDir directory to root (and keep backuppc as owner - backuppc in fact does add directories, it added pool in addition to the already existing cpool and pc directories during the night after my original install). Indeed the wiki is the second place where I look for information - looks like that is part of the general problem of how to find. -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
Nils Breunese (Lemonbit) wrote: I read that a new release (3.1.1) of backuppc is being prepared - short of fixing this problem, it might be a good idea to add a couple of words to the documentation, warning about this restriction in the configurability of the topDir variable. There isn't a restriction if you do the install yourself. What solution are you proposing exactly? AFAIK BackupPC doesn't care if topDir is on another filesystem or not and how it is mounted. Just make sure the filesystem it's on supports hardlinks and that your backuppc user can access topDir and it should just work. It did for me. If you install backuppc from the sourceforge tarball, you can choose your own topdir during the install procedure and everything is adjusted to use it. In packaged versions already configured to a linux distribution's conventions this step is already done and even though there is a variable setting for it, not everything observes a run-time change correctly - but it may be possible to fix that. -- Les Mikesell lesmikes...@gmail.com -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
While looking at a log, i found the below, several hundred lines with the below error. 2008-12-27 01:14:51 BackupPC_link got error -4 when calling MakeFileLink(/backup/backups/pc/comp-076/1/fcdrive/fXilinx/f10.1/attrib, 8494a28f3472201156c68e7470fdd8b9, 1) 2008-12-27 01:14:51 BackupPC_link got error -4 when calling MakeFileLink(/backup/backups/pc/comp-076/1/fcdrive/fXilinx/f10.1/fISE/f.xinstall/f.cache/attrib, 8375fe55c3ecd7e3e0003e2109ba6091, 1) 2008-12-27 01:14:51 BackupPC_link got error -4 when calling MakeFileLink(/backup/backups/pc/comp-076/1/fcdrive/fXilinx/f10.1/fISE/attrib, 599b385dcfb43645333cc9580669570c, 1) 2008-12-27 01:14:51 BackupPC_link got error -4 when calling MakeFileLink(/backup/backups/pc/comp-076/1/fcdrive/fXilinx/attrib, bb28683a4b5944c4b03fa173ecf23845, 1) 2008-12-27 01:14:51 BackupPC_link got error -4 when calling MakeFileLink(/backup/backups/pc/comp-076/1/fcdrive/frsyncd/frsyncd.log, 07d31abf1321dcf66c45495b0a3ae54b, 1) 2008-12-27 01:14:51 BackupPC_link got error -4 when calling MakeFileLink(/backup/backups/pc/comp-076/1/fcdrive/frsyncd/attrib, 144d16df2b7b959139f778cf79c9e530, 1) 2008-12-27 01:14:51 BackupPC_link got error -4 when calling MakeFileLink(/backup/backups/pc/comp-076/1/fcdrive/attrib, 15a92da55d8a7f731afe80fb4214b63b, 1) 2008-12-27 01:14:51 BackupPC_link got error -4 when calling MakeFileLink(/backup/backups/pc/comp-076/1/attrib, 47e9c843d93fb13fecf434ea1c18fc69, 1) 2008-12-27 01:14:51 Finished comp-076 (BackupPC_link comp-076) When i looked this up, i found this could be because of one of the below reasons. 1. Lack of inodes. Used df -i to check. The disk is a 4T Raid 5 array, and has lot of inodes FilesystemInodes IUsed IFree IUse% Mounted on /dev/sdc13538578592 9990036 35285885561% /backup 2. File system not supporting hard links. Checked, by creating them. It works. Besides i use the same volume to backup certain data with rsnapshot and that also uses hard links. 3. Directory Permissions. I changed the backuppc home directory from /var/lib/backuppc to /backup/backups. The /backup drive is actually mounted on a Raid5 disk array, which is were i wish to keep all the backups. ls -al /backup/backups/ total 12 drwxr-xr-x 8 backuppc backuppc 64 Dec 25 14:51 . drwxr-xr-x 6 root root 32 Dec 21 01:18 .. -rw--- 1 backuppc backuppc 1348 Dec 27 01:16 .bash_history drwxr-x--- 2 backuppc backuppc1 Dec 27 01:29 cpool -rw--- 1 backuppc backuppc 35 Dec 27 01:29 .lesshst drwxr-x--- 2 backuppc backuppc 16 Dec 21 01:06 passwd drwxr-x--- 5 backuppc backuppc 48 Dec 26 19:03 pc drwxr-x--- 2 backuppc backuppc1 Mar 16 2008 pool drwx-- 2 backuppc backuppc 48 Dec 21 01:15 .ssh drwxr-x--- 2 backuppc backuppc1 Dec 26 18:55 trash Any other ideas why this error could be appearing ? -- Thanks and Regards, Anand -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
I fought these messages yesterday. In my case the reason is that topDir - the directory where the backup data is stored - is a separate file-system, and that BackupPC has problems dealing with that situation. Googling provided 2 alternative solutions (there appears to be quite an epidemy of people suffering from this problem): 1. Make /var/lib/backuppc an empty directory (if currently you have data there, start by saving it elsewhere), and than mount your topDir file-system at /var/lib/backuppc (also documented in http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html). 2. Use the --bind option of mount (the Google reference suggests -o bind, I guess another and probably obsolete flavour of --bind, not documented on my Mandriva platform). I start by mounting my file system for backup data quite traditionally at the mount point /backup, but after that I add an additional mount instruction: mount --bind /backup /var/lib/backuppc That acts like a hard link between /backup and /var/lib/backuppc - you see the same data through either mount point (and, evidently, you must again start by saving any data at /var/lib/backuppc) - and BackupPC appears to be happy, no more error messages. You will probably want to avoid the explicit mount --bind ... instruction: this is done by adding to your /etc/fstab - I placed it directly after the mount /dev/xxx /backup ... instruction - the following line: /backup /var/lib/backuppc none rw,bind 0 0 with the result that the 2 mount points get mounted at boot time. I also changed owner and group of /backup to the backup user - but there I am less sure how correct or imperative that is. I read that a new release (3.1.1) of backuppc is being prepared - short of fixing this problem, it might be a good idea to add a couple of words to the documentation, warning about this restriction in the configurability of the topDir variable. Good luck! ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
Juergen Harms wrote: I fought these messages yesterday. In my case the reason is that topDir - the directory where the backup data is stored - is a separate file-system, and that BackupPC has problems dealing with that situation. Having topDir on a separate filesystem is actually recommended for performance (you can mount it noatime for instance). BackupPC had no problems whatsoever with this situation in my case. Googling provided 2 alternative solutions (there appears to be quite an epidemy of people suffering from this problem): 1. Make /var/lib/backuppc an empty directory (if currently you have data there, start by saving it elsewhere), and than mount your topDir file-system at /var/lib/backuppc (also documented in http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html). 2. Use the --bind option of mount (the Google reference suggests -o bind, I guess another and probably obsolete flavour of --bind, not documented on my Mandriva platform). I start by mounting my file system for backup data quite traditionally at the mount point /backup, but after that I add an additional mount instruction: mount --bind /backup /var/lib/backuppc That acts like a hard link between /backup and /var/lib/backuppc - you see the same data through either mount point (and, evidently, you must again start by saving any data at /var/lib/backuppc) - and BackupPC appears to be happy, no more error messages. You will probably want to avoid the explicit mount --bind ... instruction: this is done by adding to your /etc/fstab - I placed it directly after the mount /dev/xxx /backup ... instruction - the following line: /backup /var/lib/backuppc none rw,bind 0 0 with the result that the 2 mount points get mounted at boot time. I also changed owner and group of /backup to the backup user - but there I am less sure how correct or imperative that is. I read that a new release (3.1.1) of backuppc is being prepared - short of fixing this problem, it might be a good idea to add a couple of words to the documentation, warning about this restriction in the configurability of the topDir variable. What solution are you proposing exactly? AFAIK BackupPC doesn't care if topDir is on another filesystem or not and how it is mounted. Just make sure the filesystem it's on supports hardlinks and that your backuppc user can access topDir and it should just work. It did for me. Nils Breunese. -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
Hi, Juergen Harms wrote on 2008-12-26 23:46:55 +0100 [Re: [BackupPC-users] BackupPC_link got error -4 when calling?MakeFileLink]: I fought these messages yesterday. In my case the reason is that topDir - the directory where the backup data is stored - is a separate file-system, and that BackupPC has problems dealing with that situation. as Nils said, that is not true. BackupPC has problems with incorrectly changing TopDir. Googling provided 2 alternative solutions It might not be obvious, but the BackupPC wiki goes into some detail on this topic: http://backuppc.wiki.sourceforge.net/change+archive+directory (there appears to be quite an epidemy of people suffering from this problem): There appears to be quite an epidemy of people not consulting the wiki. 2. Use the --bind option of mount (the Google reference suggests -o bind, I guess another and probably obsolete flavour of --bind, not documented on my Mandriva platform). [...] this is done by adding to your /etc/fstab - I placed it directly after the mount /dev/xxx /backup ... instruction - the following line: /backup /var/lib/backuppc none rw,bind 0 0 This is actually an example of the probably obsolete flavour of --bind, not documented on my Mandrive platform. But it's correct and will hopefully continue to be so. with the result that the 2 mount points get mounted at boot time. I also changed owner and group of /backup to the backup user - but there I am less sure how correct or imperative that is. Well, you can't change the group to the backup user ;-), but it's correct and I'd say at least recommended too. Once the directories under $TopDir are in place, the backuppc user should not need to create any, but you never know what directories future versions of BackupPC might want to put there. I read that a new release (3.1.1) of backuppc is being prepared - short of fixing this problem, it might be a good idea to add a couple of words to the documentation, warning about this restriction in the configurability of the topDir variable. I believe there *is* a warning in the documentation (though I admit I can't find it right now), and I believe it *will be* fixed in 3.1.1, of which I haven't heard that it is being prepared, though. Regards, Holger -- ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
Hallo, I installed BackupPC 3.1.0 on a Debian Etch machine and then moved the Topdir to a directory in /mnt/... Now, if I do backups, I get these errors such as: 2008-03-27 09:14:21 BackupPC_link got error -4 when calling MakeFileLink(/mnt/backup/medium1/pc/schlepptop.test/0 /f%2fhome%2fsven/f.Tribler/fbsddb/attrib, 89acbd9cfc3dc5c21977ee0dcca44e08, 1) How does this error affect my backups ? Is it a serious error ? How can I fix it ? Thank you very much MastaYogi = Gatlinburg, TN Cozy Cabin Rentals Escape from the city to relaxing romantic getaway, a family vacation or a business retreat. We're confident you'll be pleased with Parkside Cabin Rentals in beautiful Gatlinburg, TN. http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=357f0db813ef2dd897d75db9a31418ef -- Powered by Outblaze - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
Masta Yogi wrote: I installed BackupPC 3.1.0 on a Debian Etch machine and then moved the Topdir to a directory in /mnt/... Now, if I do backups, I get these errors such as: 2008-03-27 09:14:21 BackupPC_link got error -4 when calling MakeFileLink(/mnt/backup/medium1/pc/schlepptop.test/0 /f%2fhome%2fsven/f.Tribler/fbsddb/attrib, 89acbd9cfc3dc5c21977ee0dcca44e08, 1) How does this error affect my backups ? Is it a serious error ? How can I fix it ? It is not recommended to change the value of TopDir. Either mount your backup partition at the location used by the package (/var/lib/ backuppc in case of Debian I believe) or use a symlink or bind mount. And what filesystem do you use for your backups? It needs to support hardlinks or BackupPC won't be able to do its business. Nils Breunese. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
Hey Nils, thank you for your answer. I will change the mountpoint as soon as the currently running backup finishes and see if these error messages show up again. I'm using a ext3 file system on this external usb drive. Yogi - Original Message - From: Nils Breunese (Lemonbit) [EMAIL PROTECTED] To: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink Date: Thu, 27 Mar 2008 13:53:04 +0100 Masta Yogi wrote: I installed BackupPC 3.1.0 on a Debian Etch machine and then moved the Topdir to a directory in /mnt/... Now, if I do backups, I get these errors such as: 2008-03-27 09:14:21 BackupPC_link got error -4 when calling MakeFileLink(/mnt/backup/medium1/pc/schlepptop.test/0 /f%2fhome%2fsven/f.Tribler/fbsddb/attrib, 89acbd9cfc3dc5c21977ee0dcca44e08, 1) How does this error affect my backups ? Is it a serious error ? How can I fix it ? It is not recommended to change the value of TopDir. Either mount your backup partition at the location used by the package (/var/lib/ backuppc in case of Debian I believe) or use a symlink or bind mount. And what filesystem do you use for your backups? It needs to support hardlinks or BackupPC won't be able to do its business. Nils Breunese. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ = Independent Security Consultants We are an independent security consultant and engineering firm. We can provide independent security evaluations and have the capabilities to offer complete system design. http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=a53f9d499c175b7c360431ff2d36533f -- Powered by Outblaze - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
It is not generally recommended to change the $TopDIR logical but on Debian it is not really even doable. Debian and Ubuntu have $TopDIR hardcoded to /var/lib/backuppc, just mount your target their either by directly mounting it or using bind. mount -o bind /target /var/lib/backuppc fstab /target /var/lib/backuppc bind 0 0 Nils Breunese (Lemonbit) wrote: Masta Yogi wrote: I installed BackupPC 3.1.0 on a Debian Etch machine and then moved the Topdir to a directory in /mnt/... Now, if I do backups, I get these errors such as: 2008-03-27 09:14:21 BackupPC_link got error -4 when calling MakeFileLink(/mnt/backup/medium1/pc/schlepptop.test/0 /f%2fhome%2fsven/f.Tribler/fbsddb/attrib, 89acbd9cfc3dc5c21977ee0dcca44e08, 1) How does this error affect my backups ? Is it a serious error ? How can I fix it ? It is not recommended to change the value of TopDir. Either mount your backup partition at the location used by the package (/var/lib/ backuppc in case of Debian I believe) or use a symlink or bind mount. And what filesystem do you use for your backups? It needs to support hardlinks or BackupPC won't be able to do its business. Nils Breunese. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
Hi to everybody, May anyone, please, help me with the following problem? After full localhost backup (many gigabyte) I got the following error: BackupPC_link got error -4 when calling MakeFileLink(/data/BackupPC/pc/localhost/1/f%2f/famule/fIncoming/attrib, cb5bab76b89c25b11c8f575a567b571a, 1) I checked the following facts: 1) /data/BackupPC/pc/localhost/1/f%2f/famule/fIncoming/attrib is in the same file system than /data/BackupPC/cpool 2) The directory cpool can be written by backuppc. On the other hand it is completely empty (no subdirectory /c/b/5) and the ln command cannot work because the subdirectory are not created ln /data/BackupPC/pc/localhost/1/f%2f/famule/fIncoming/attrib /data/BackupPC/cpool/c/b/5/cb5bab76b89c25b11c8f575a567b571a 3) The disk is new with many thousand of inode. Respectfully Gaetano - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
Gaetano writes: After full localhost backup (many gigabyte) I got the following error: BackupPC_link got error -4 when calling MakeFileLink(/data/BackupPC/pc/localhost/1/f%2f/famule/fIncoming/attrib, cb5bab76b89c25b11c8f575a567b571a, 1) I checked the following facts: 1) /data/BackupPC/pc/localhost/1/f%2f/famule/fIncoming/attrib is in the same file system than /data/BackupPC/cpool 2) The directory cpool can be written by backuppc. On the other hand it is completely empty (no subdirectory /c/b/5) and the ln command cannot work because the subdirectory are not created ln /data/BackupPC/pc/localhost/1/f%2f/famule/fIncoming/attrib /data/BackupPC/cpool/c/b/5/cb5bab76b89c25b11c8f575a567b571a 3) The disk is new with many thousand of inode. Looks like you have checked all the right things. I can't explain this. Here's the code: mkpath($newDir, 0, 0777) if ( !-d $newDir ); return -4 if ( !link($name, $rawFile) ); It creates the cpool path first and then adds the hardlink. Perhaps you can add some debug statements around this code to try to figure out why the mkpath doesn't work. Craig - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] BackupPC_link got error -4 when call ing MakeFileLink
when i backup using rsyncd from windows share I get these error on some files, not all though. What's so special about those files anyway ? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC_link got error -4
Ahhh, that would make sense (I guess as still learning Linux). I installed Debian on one smallish sized drive using ext3, tested backupPC, decided to go further but needed to add additional drive space. In doing so I ran across a couple comments somewhere about using ReiserFS instead of ext2 or ext3. I installed the second drive and formatted it with ReiserFS. I moved the /var/lib/backuppc/pc to the second drive and symbolic linked it. I will try moving the cpool to the same drive and symbolic link that one as well. I am open to any better suggestions or any thoughts about partition types to use. Luckily I have not gotten far so I can always redo things if necessary. Thanks Craig, I really appreciate your feedback and assistance on this. - Original Message - From: Craig Barratt [EMAIL PROTECTED] To: Mac Hamblin [EMAIL PROTECTED] Cc: backuppc-users@lists.sourceforge.net Sent: Monday, December 04, 2006 11:25 PM Subject: Re: [BackupPC-users] BackupPC_link got error -4 Mac writes: I have searched but can't find anything about this (hope I didn't miss it somewhere). I'm getting this error in my logs. Anyone know if this is good, bad, indifferent or if there is a way to fix it? I just installed BackupPC and currently have 3 Debian 3.1 Linux clients backing up to the server. I currently have 1 full and 2 incremental backups of each client. The server is also running Debian 3.1 Linux with BackupPC version 2.1.2pl1. BackupPC_link got error -4 when calling MakeFileLink(/var/lib/backuppc/pc/clientname/2/f%2f/fvar/fwww/fweb8/fweb/fmodules/fuseralbum/flocale/fru/attrib, 0aa64187c550d91c15265a9c7d0b971f, 1) This might mean you are out of hardlinks (use df -i to check) or that /var/lib/backuppc/pc/clientname is on a different filesystem than /var/lib/backuppc/cpool (use: df /var/lib/backuppc/pc/clientname df /var/lib/backuppc/cpool to check). Craig - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC_link got error -4
Mac writes: Ahhh, that would make sense (I guess as still learning Linux). I installed Debian on one smallish sized drive using ext3, tested backupPC, decided to go further but needed to add additional drive space. In doing so I ran across a couple comments somewhere about using ReiserFS instead of ext2 or ext3. I installed the second drive and formatted it with ReiserFS. I moved the /var/lib/backuppc/pc to the second drive and symbolic linked it. I will try moving the cpool to the same drive and symbolic link that one as well. I am open to any better suggestions or any thoughts about partition types to use. Luckily I have not gotten far so I can always redo things if necessary. Since you started with /var/lib/backuppc/pc and /var/lib/backuppc/cpool on different file systems, I recommend you just start over with everything on the new file system. Craig - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] BackupPC_link got error -4
I have searched but can't find anything about this (hope I didn't miss it somewhere). I'm getting this error in my logs. Anyone know if this is good, bad, indifferent or if there is a way to fix it? I just installed BackupPC and currently have 3 Debian 3.1 Linux clients backing up to the server. I currently have 1 full and 2 incremental backups of each client. The server is also running Debian 3.1 Linux with BackupPC version 2.1.2pl1. BackupPC_link got error -4 when calling MakeFileLink(/var/lib/backuppc/pc/clientname/2/f%2f/fvar/fwww/fweb8/fweb/fmodules/fuseralbum/flocale/fru/attrib, 0aa64187c550d91c15265a9c7d0b971f, 1) Thanks in advance.- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC_link got error -4
Mac writes: I have searched but can't find anything about this (hope I didn't miss it somewhere). I'm getting this error in my logs. Anyone know if this is good, bad, indifferent or if there is a way to fix it? I just installed BackupPC and currently have 3 Debian 3.1 Linux clients backing up to the server. I currently have 1 full and 2 incremental backups of each client. The server is also running Debian 3.1 Linux with BackupPC version 2.1.2pl1. BackupPC_link got error -4 when calling MakeFileLink(/var/lib/backuppc/pc/clientname/2/f%2f/fvar/fwww/fweb8/fweb/fmodules/fuseralbum/flocale/fru/attrib, 0aa64187c550d91c15265a9c7d0b971f, 1) This might mean you are out of hardlinks (use df -i to check) or that /var/lib/backuppc/pc/clientname is on a different filesystem than /var/lib/backuppc/cpool (use: df /var/lib/backuppc/pc/clientname df /var/lib/backuppc/cpool to check). Craig - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/