Re: [BackupPC-users] When will backuppc begin pooling?
that worked like a charm! i created a symlink to my array where my backups are stored and backuppc is pooling like it should be now. Thanks to everyone who helped me solve this! On Thu, Feb 12, 2009 at 11:50 PM, Adam Goryachev mailingli...@websitemanagers.com.au wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Woodworth wrote: That's unfortunate. I can't just mount my array there as it is basically my NAS that use to store all of my media. It sounds like I will have to go without pooling if I want to back up to another location other than /var/lib/backuppc Actually, not quite, any of the following should work: 1) mkdir /media/backups;chown backuppc.backuppc /media/backups;mv /var/lib/backuppc/* /media/backups/;ln -s /media/backups /var/lib/backuppc This will put the pool, pc, etc dirs onto /media/backups, and then symlink /var/lib/backuppc to /media/backups. This should work, without needing to modify TopDir/etc... put them all back as they were. Just be careful when upgrading the package it doesn't remove the symlink in the future. 2) http://linux.die.net/man/8/mount [quote] Since Linux 2.4.0 it is possible to remount part of the file hierarchy somewhere else. The call is mount --bind olddir newdir In your case: mount --bind /media/backups /var/lib/backuppc I'm sure there are other methods as well, just search the mailing list, the wiki, etc for TopDir Hope that helps. Regards, Adam - -- Adam Goryachev Website Managers www.websitemanagers.com.au -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmVJk0ACgkQGyoxogrTyiWRDgCgrwzvxPl2LfbrgS2xgirZqtLK +6wAoLKlAeiP/EFkKehT3Lj1h/7wz/jU =+EHm -END PGP SIGNATURE- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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/ -- Brian Woodworth bwoodwo...@gmail.com -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ 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] When will backuppc begin pooling?
i haven't been following this thread at all, so apologies if you tried it already, but there are a number of suggestions on how to change the top level directory at the wiki: http://backuppc.wiki.sourceforge.net/change+archive+directory i am a noob and managed to do the one titled Changing the name of the archive directory without any trouble to my RAID0 array. As far as i can tell this would work for any pool location that supports hard links... good luck and ignore if this was already suggested. evets On Fri, Feb 13, 2009 at 12:08 AM, Brian Woodworth bwoodwo...@gmail.com wrote: That's unfortunate. I can't just mount my array there as it is basically my NAS that use to store all of my media. It sounds like I will have to go without pooling if I want to back up to another location other than /var/lib/backuppc thanks to everyone who responded On Thu, Feb 12, 2009 at 7:43 PM, Adam Goryachev mailingli...@websitemanagers.com.au wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Woodworth wrote: yes. it is different than the install directory. I configured backuppc to use my RAID 6 array to store the backups, not the system drive. The full and incremental backups work fine. It just looks like the links aren't being made properly. Correct, because this is not a supported method of changing the location for backups. You should revert (undo) the changes you made so that the pool is configured for the default /var/lib/backuppc and then mount your raid 6 array at /var/lib/backuppc. This will solve the problems you are having, and from your next backup, pooling will start to be used. Regards, Adam - -- Adam Goryachev Website Managers www.websitemanagers.com.au -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmU7G8ACgkQGyoxogrTyiUpowCbBp+kLz4KkuAr7Tog2zrEVCu3 vcMAoJxBRVmpqx17I7VrW6YPhF7ICGVN =5DtO -END PGP SIGNATURE- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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/ -- Brian Woodworth bwoodwo...@gmail.com -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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/ -- It turns out there is considerable overlap between the smartest bears and the dumbest tourists. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] When will backuppc begin pooling?
On Fri, Feb 13, 2009 at 3:08 AM, Brian Woodworth bwoodwo...@gmail.com wrote: that worked like a charm! i created a symlink to my array where my backups are stored and backuppc is pooling like it should be now. Thanks to everyone who helped me solve this! If you install backuppc from scratch using the code from sourceforge you get your choice about where to install it, but during the install step the location in configured within the code. The packaged versions already have this step completed, so if you want to use a different filesystem you must make it appear in the expected location. -- Les Mikesell lesmikes...@gmail.com -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] When will backuppc begin pooling?
I would really like to get the pooling to work. Do i need to install IO::Dirent first? If so, how do I do that? I looked around a bit and could not really find much about it. I am running Ubuntu Server 8.10. On Thu, Jan 29, 2009 at 11:27 PM, Craig Barratt cbarr...@users.sourceforge.net wrote: Brian writes: * 0 pending backup requests from last scheduled wakeup, * 0 pending user backup requests, * 0 pending command requests, * Pool is 0.00GB comprising 0 files and 0 directories (as of 1/29 01:00), * Pool hashing gives 0 repeated files with longest chain 0, * Nightly cleanup removed 0 files of size 0.00GB (around 1/29 01:00), * Pool file system was recently at 83% (1/29 18:59), today's max is 83% (1/29 17:08) and yesterday's max was 82%. It looks like BackupPC_nightly is failing to traverse the pool. This could be due to a bug in IO::Dirent that causes it to fail on certain file systems. There is a test in 3.1.0 to check if IO::Dirent works, but it checks ., not $TopDir. That bug is fixed in CVS. Do you have IO::Dirent installed and is your pool on XFS? If so, change this line in lib/BackupPC/Lib.pm: $IODirentOk = 1; to: $IODirentOk = 0; Craig -- Brian Woodworth bwoodwo...@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/
Re: [BackupPC-users] When will backuppc begin pooling?
Hi Brian, On Thu, Feb 12, 2009 at 11:06:33AM -0800, Brian Woodworth wrote: I would really like to get the pooling to work. Do i need to install IO::Dirent first? If so, how do I do that? I looked around a bit and could not really find much about it. I am running Ubuntu Server 8.10. Pooling is done by BackupPC_link which is invoked automatically after a successful backup. There's nothing you have to do but making backups complete. Do you have complete backups? Tino. * 0 pending backup requests from last scheduled wakeup, * 0 pending user backup requests, * 0 pending command requests, * Pool is 0.00GB comprising 0 files and 0 directories (as of 1/29 01:00), * Pool hashing gives 0 repeated files with longest chain 0, * Nightly cleanup removed 0 files of size 0.00GB (around 1/29 01:00), * Pool file system was recently at 83% (1/29 18:59), today's max is 83% (1/29 17:08) and yesterday's max was 82%. It looks like BackupPC_nightly is failing to traverse the pool. This could be due to a bug in IO::Dirent that causes it to fail on certain file systems. There is a test in 3.1.0 to check if IO::Dirent works, but it checks ., not $TopDir. That bug is fixed in CVS. Do you have IO::Dirent installed and is your pool on XFS? If so, change this line in lib/BackupPC/Lib.pm: $IODirentOk = 1; to: $IODirentOk = 0; Craig -- Brian Woodworth bwoodwo...@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/ -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.craniosacralzentrum.de -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] When will backuppc begin pooling?
Yes, I have complete backups. My problem appears to be a known bug as stated earlier in the thread. Craig was kind enough to post a solution, but the problem is I don't know how to go about following his instructions. thanks for the response On Thu, Feb 12, 2009 at 2:56 PM, Tino Schwarze backuppc.li...@tisc.dewrote: Hi Brian, On Thu, Feb 12, 2009 at 11:06:33AM -0800, Brian Woodworth wrote: I would really like to get the pooling to work. Do i need to install IO::Dirent first? If so, how do I do that? I looked around a bit and could not really find much about it. I am running Ubuntu Server 8.10. Pooling is done by BackupPC_link which is invoked automatically after a successful backup. There's nothing you have to do but making backups complete. Do you have complete backups? Tino. * 0 pending backup requests from last scheduled wakeup, * 0 pending user backup requests, * 0 pending command requests, * Pool is 0.00GB comprising 0 files and 0 directories (as of 1/29 01:00), * Pool hashing gives 0 repeated files with longest chain 0, * Nightly cleanup removed 0 files of size 0.00GB (around 1/29 01:00), * Pool file system was recently at 83% (1/29 18:59), today's max is 83% (1/29 17:08) and yesterday's max was 82%. It looks like BackupPC_nightly is failing to traverse the pool. This could be due to a bug in IO::Dirent that causes it to fail on certain file systems. There is a test in 3.1.0 to check if IO::Dirent works, but it checks ., not $TopDir. That bug is fixed in CVS. Do you have IO::Dirent installed and is your pool on XFS? If so, change this line in lib/BackupPC/Lib.pm: $IODirentOk = 1; to: $IODirentOk = 0; Craig -- Brian Woodworth bwoodwo...@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/ -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.craniosacralzentrum.de -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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/ -- Brian Woodworth bwoodwo...@gmail.com -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ 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] When will backuppc begin pooling?
Brian Woodworth wrote: Yes, I have complete backups. My problem appears to be a known bug as stated earlier in the thread. Craig was kind enough to post a solution, but the problem is I don't know how to go about following his instructions. thanks for the response First, try... perldoc IO::Dirent ...to see if you have the Dirent perl module installed. If you get something like... No documentation found for IO::Dirent. ...your problem probably lies elsewhere. If you get a documentation page, hit q to exit and run... locate Lib.pm ...to find all files with Lib.pm in their name on your system (hopefully your locatedb is up to date. If not updatedb will probably update it). You should find (at least) two... /some/path/lib/BackupPC/Lib.pm /some/path/lib/BackupPC/CGI/Lib.pm ...where /some/path is BackupPC's install path. If you have more than two, don't continue. Ask for further advise. If you just have two, we want to modify the one NOT in the CGI directory*. The following command (when run as root**, or the some other user authorized to modify the file) will update /some/path/lib/BackupPC/Lib.pm per Craig's instructions. You should probably back up the file before running it... sed -i -e 's/\$IODirentOk = 1;/$IODirentOk = 0;/' /some/path/lib/BackupPC/Lib.pm ...and you should probably consult with someone else to make sure I know what I'm talking about and am not about to break your system (inadvertently or otherwise). :o) Chris * The command I used won't do anything to the Lib.pm in the CGI directory, but sed is a very powerful tool and, as such, should be treated with the utmost respect. ** Running commands you get from the Internet as root is inadvisable. sudo is not really much better. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] When will backuppc begin pooling?
Brian Woodworth wrote: Yes, I have complete backups. My problem appears to be a known bug as stated earlier in the thread. Craig was kind enough to post a solution, but the problem is I don't know how to go about following his instructions. I believe his fix only applied to systems installed on XFS file systems. Is that what you are using? It looks like BackupPC_nightly is failing to traverse the pool. This could be due to a bug in IO::Dirent that causes it to fail on certain file systems. There is a test in 3.1.0 to check if IO::Dirent works, but it checks ., not $TopDir. That bug is fixed in CVS. Do you have IO::Dirent installed and is your pool on XFS? If so, change this line in lib/BackupPC/Lib.pm: $IODirentOk = 1; to: $IODirentOk = 0; Just use a text editor to change that line and restart backuppc. If you have a packaged install and don't know where the lib directory is, the command 'locate BackupPC/Lib.pm' should find the file. -- Les Mikesell lesmikes...@gmail.com -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] When will backuppc begin pooling?
The file system with the backups is ext3 On Thu, Feb 12, 2009 at 3:37 PM, Les Mikesell lesmikes...@gmail.com wrote: Brian Woodworth wrote: Yes, I have complete backups. My problem appears to be a known bug as stated earlier in the thread. Craig was kind enough to post a solution, but the problem is I don't know how to go about following his instructions. I believe his fix only applied to systems installed on XFS file systems. Is that what you are using? It looks like BackupPC_nightly is failing to traverse the pool. This could be due to a bug in IO::Dirent that causes it to fail on certain file systems. There is a test in 3.1.0 to check if IO::Dirent works, but it checks ., not $TopDir. That bug is fixed in CVS. Do you have IO::Dirent installed and is your pool on XFS? If so, change this line in lib/BackupPC/Lib.pm: $IODirentOk = 1; to: $IODirentOk = 0; Just use a text editor to change that line and restart backuppc. If you have a packaged install and don't know where the lib directory is, the command 'locate BackupPC/Lib.pm' should find the file. -- Les Mikesell lesmikes...@gmail.com -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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/ -- Brian Woodworth bwoodwo...@gmail.com -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ 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] When will backuppc begin pooling?
Thank you so much for your very informative response. When I run the command: perldoc IO::Dirent, i get No documentation found for IO::Dirent so it seems it is not installed? On Thu, Feb 12, 2009 at 3:41 PM, Chris Robertson crobert...@gci.net wrote: Brian Woodworth wrote: Yes, I have complete backups. My problem appears to be a known bug as stated earlier in the thread. Craig was kind enough to post a solution, but the problem is I don't know how to go about following his instructions. thanks for the response First, try... perldoc IO::Dirent ...to see if you have the Dirent perl module installed. If you get something like... No documentation found for IO::Dirent. ...your problem probably lies elsewhere. If you get a documentation page, hit q to exit and run... locate Lib.pm ...to find all files with Lib.pm in their name on your system (hopefully your locatedb is up to date. If not updatedb will probably update it). You should find (at least) two... /some/path/lib/BackupPC/Lib.pm /some/path/lib/BackupPC/CGI/Lib.pm ...where /some/path is BackupPC's install path. If you have more than two, don't continue. Ask for further advise. If you just have two, we want to modify the one NOT in the CGI directory*. The following command (when run as root**, or the some other user authorized to modify the file) will update /some/path/lib/BackupPC/Lib.pm per Craig's instructions. You should probably back up the file before running it... sed -i -e 's/\$IODirentOk = 1;/$IODirentOk = 0;/' /some/path/lib/BackupPC/Lib.pm ...and you should probably consult with someone else to make sure I know what I'm talking about and am not about to break your system (inadvertently or otherwise). :o) Chris * The command I used won't do anything to the Lib.pm in the CGI directory, but sed is a very powerful tool and, as such, should be treated with the utmost respect. ** Running commands you get from the Internet as root is inadvisable. sudo is not really much better. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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/ -- Brian Woodworth bwoodwo...@gmail.com -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ 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] When will backuppc begin pooling?
Brian Woodworth wrote: The file system with the backups is ext3 I think you have some other problem, then. Is this a ubuntu-package install or did you install it yourself from sourceforge? -- Les Mikesell lesmikes...@gmail.com -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] When will backuppc begin pooling?
On Thu, Feb 12, 2009 at 06:14:00PM -0600, Les Mikesell wrote: Brian Woodworth wrote: The file system with the backups is ext3 I think you have some other problem, then. Is this a ubuntu-package install or did you install it yourself from sourceforge? Next question: What's in BackupPC's log file? Tino. -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.craniosacralzentrum.de -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] When will backuppc begin pooling?
It was an ubuntu package install. The log file contains this error for what seems like every file backed up: 2009-02-12 01:00:11 Running BackupPC_link localhost http://hedgewig/backuppc/index.cgi?host=localhost (pid=25713) 2009-02-12 01:00:11 BackupPC_link got error -4 when calling MakeFileLink(/media/array/backuppc/pc/localhost http://hedgewig/backuppc/index.cgi?host=localhost/3//attrib, 94cb73220b92105a18967289b38bfc94, 1) On Thu, Feb 12, 2009 at 5:22 PM, Tino Schwarze backuppc.li...@tisc.dewrote: On Thu, Feb 12, 2009 at 06:14:00PM -0600, Les Mikesell wrote: Brian Woodworth wrote: The file system with the backups is ext3 I think you have some other problem, then. Is this a ubuntu-package install or did you install it yourself from sourceforge? Next question: What's in BackupPC's log file? Tino. -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.craniosacralzentrum.de -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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/ -- Brian Woodworth bwoodwo...@gmail.com -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ 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] When will backuppc begin pooling?
Brian Woodworth wrote: It was an ubuntu package install. The log file contains this error for what seems like every file backed up: 2009-02-12 01:00:11 Running BackupPC_link localhost http://hedgewig/backuppc/index.cgi?host=localhost (pid=25713) 2009-02-12 01:00:11 BackupPC_link got error -4 when calling MakeFileLink(/media/array/backuppc/pc/localhost http://hedgewig/backuppc/index.cgi?host=localhost/3//attrib, 94cb73220b92105a18967289b38bfc94, 1) Ubuntu wouldn't have installed on /media/array/... Is that a different filesystem? -- Les Mikesell lesmikes...@gmail.com -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] When will backuppc begin pooling?
yes. it is different than the install directory. I configured backuppc to use my RAID 6 array to store the backups, not the system drive. The full and incremental backups work fine. It just looks like the links aren't being made properly. On Thu, Feb 12, 2009 at 7:24 PM, Les Mikesell lesmikes...@gmail.com wrote: Brian Woodworth wrote: It was an ubuntu package install. The log file contains this error for what seems like every file backed up: 2009-02-12 01:00:11 Running BackupPC_link localhost http://hedgewig/backuppc/index.cgi?host=localhost (pid=25713) 2009-02-12 01:00:11 BackupPC_link got error -4 when calling MakeFileLink(/media/array/backuppc/pc/localhost http://hedgewig/backuppc/index.cgi?host=localhost/3//attrib, 94cb73220b92105a18967289b38bfc94, 1) Ubuntu wouldn't have installed on /media/array/... Is that a different filesystem? -- Les Mikesell lesmikes...@gmail.com -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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/ -- Brian Woodworth bwoodwo...@gmail.com -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ 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] When will backuppc begin pooling?
That's unfortunate. I can't just mount my array there as it is basically my NAS that use to store all of my media. It sounds like I will have to go without pooling if I want to back up to another location other than /var/lib/backuppc thanks to everyone who responded On Thu, Feb 12, 2009 at 7:43 PM, Adam Goryachev mailingli...@websitemanagers.com.au wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Woodworth wrote: yes. it is different than the install directory. I configured backuppc to use my RAID 6 array to store the backups, not the system drive. The full and incremental backups work fine. It just looks like the links aren't being made properly. Correct, because this is not a supported method of changing the location for backups. You should revert (undo) the changes you made so that the pool is configured for the default /var/lib/backuppc and then mount your raid 6 array at /var/lib/backuppc. This will solve the problems you are having, and from your next backup, pooling will start to be used. Regards, Adam - -- Adam Goryachev Website Managers www.websitemanagers.com.au -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmU7G8ACgkQGyoxogrTyiUpowCbBp+kLz4KkuAr7Tog2zrEVCu3 vcMAoJxBRVmpqx17I7VrW6YPhF7ICGVN =5DtO -END PGP SIGNATURE- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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/ -- Brian Woodworth bwoodwo...@gmail.com -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ 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] When will backuppc begin pooling?
Brian Woodworth wrote: That's unfortunate. I can't just mount my array there as it is basically my NAS that use to store all of my media. It sounds like I will have to go without pooling if I want to back up to another location other than /var/lib/backuppc You can bind mount your array on /var/lib/backuppc or use a symlink. Nils Breunese. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] When will backuppc begin pooling?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Woodworth wrote: That's unfortunate. I can't just mount my array there as it is basically my NAS that use to store all of my media. It sounds like I will have to go without pooling if I want to back up to another location other than /var/lib/backuppc Actually, not quite, any of the following should work: 1) mkdir /media/backups;chown backuppc.backuppc /media/backups;mv /var/lib/backuppc/* /media/backups/;ln -s /media/backups /var/lib/backuppc This will put the pool, pc, etc dirs onto /media/backups, and then symlink /var/lib/backuppc to /media/backups. This should work, without needing to modify TopDir/etc... put them all back as they were. Just be careful when upgrading the package it doesn't remove the symlink in the future. 2) http://linux.die.net/man/8/mount [quote] Since Linux 2.4.0 it is possible to remount part of the file hierarchy somewhere else. The call is mount --bind olddir newdir In your case: mount --bind /media/backups /var/lib/backuppc I'm sure there are other methods as well, just search the mailing list, the wiki, etc for TopDir Hope that helps. Regards, Adam - -- Adam Goryachev Website Managers www.websitemanagers.com.au -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmVJk0ACgkQGyoxogrTyiWRDgCgrwzvxPl2LfbrgS2xgirZqtLK +6wAoLKlAeiP/EFkKehT3Lj1h/7wz/jU =+EHm -END PGP SIGNATURE- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ 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] When will backuppc begin pooling?
I installed backuppc a week ago and currently have 2 full backups and 6 incremental backups for 2 Windows machines and one full backup for another windows machine. I have not seen and pooling happen yet. on the Status page it says this: Other info: - 0 pending backup requests from last scheduled wakeup, - 0 pending user backup requests, - 0 pending command requests, - Pool is 0.00GB comprising 0 files and 0 directories (as of 1/29 01:00), - Pool hashing gives 0 repeated files with longest chain 0, - Nightly cleanup removed 0 files of size 0.00GB (around 1/29 01:00), - Pool file system was recently at 83% (1/29 18:59), today's max is 83% (1/29 17:08) and yesterday's max was 82%. Is there a configuration I need in order to enable pooling or is it because I have don't have enough backups yet? i left most of the config as default. Any info would be appreciated. -- Brian Woodworth bwoodwo...@gmail.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] When will backuppc begin pooling?
Brian Woodworth wrote: I installed backuppc a week ago and currently have 2 full backups and 6 incremental backups for 2 Windows machines and one full backup for another windows machine. I have not seen and pooling happen yet. on the Status page it says this: All duplicate files should be pooled even if found in the first run. Do you have the cpool and pc directories on the same filesystem? Are there link errors in the logs for the backup runs? -- Les Mikesell lesmikes...@gmail.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] When will backuppc begin pooling?
cpool and pc directories are on the same file system. The only errors in the Xfer log is Device or Resource Busy (16) for some files. On Thu, Jan 29, 2009 at 7:23 PM, Les Mikesell lesmikes...@gmail.com wrote: Brian Woodworth wrote: I installed backuppc a week ago and currently have 2 full backups and 6 incremental backups for 2 Windows machines and one full backup for another windows machine. I have not seen and pooling happen yet. on the Status page it says this: All duplicate files should be pooled even if found in the first run. Do you have the cpool and pc directories on the same filesystem? Are there link errors in the logs for the backup runs? -- Les Mikesell lesmikes...@gmail.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/ -- Brian Woodworth bwoodwo...@gmail.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] When will backuppc begin pooling?
Brian Woodworth wrote: cpool and pc directories are on the same file system. The only errors in the Xfer log is Device or Resource Busy (16) for some files. Are files showing up at all in cpool? What is the link count on files you know are duplicated? ls -l will show it, and it should be the number of duplicates plus one for the hashed name under cpool. Does the file system type support hard links, and does it have free inodes (df -i)? -- Les Mikesell lesmikes...@gmail.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] When will backuppc begin pooling?
Brian Woodworth wrote: the cpool directory is completely empty. ls -l returns 'total 0'. The file system type is ext3 and only 1% of inodes are in use. If you have compression off you could be using pool instead of cpool, but the directory should at least be populated with several levels of subdirectories that are used to speed the lookup of the hashed filenames. Perhaps something went wrong during the install. Does the backuppc user have write access everywhere - and is SELinux involved? -- Les Mikesell lesmikes...@gmail.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] When will backuppc begin pooling?
Brian writes: * 0 pending backup requests from last scheduled wakeup, * 0 pending user backup requests, * 0 pending command requests, * Pool is 0.00GB comprising 0 files and 0 directories (as of 1/29 01:00), * Pool hashing gives 0 repeated files with longest chain 0, * Nightly cleanup removed 0 files of size 0.00GB (around 1/29 01:00), * Pool file system was recently at 83% (1/29 18:59), today's max is 83% (1/29 17:08) and yesterday's max was 82%. It looks like BackupPC_nightly is failing to traverse the pool. This could be due to a bug in IO::Dirent that causes it to fail on certain file systems. There is a test in 3.1.0 to check if IO::Dirent works, but it checks ., not $TopDir. That bug is fixed in CVS. Do you have IO::Dirent installed and is your pool on XFS? If so, change this line in lib/BackupPC/Lib.pm: $IODirentOk = 1; to: $IODirentOk = 0; Craig -- 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] When will backuppc begin pooling?
Maybe I am blind, but I can't find the Lib.pm file anywhere. I even did a find on my whole system for Lib.pm and came up with nothing. On Thu, Jan 29, 2009 at 11:27 PM, Craig Barratt cbarr...@users.sourceforge.net wrote: Brian writes: * 0 pending backup requests from last scheduled wakeup, * 0 pending user backup requests, * 0 pending command requests, * Pool is 0.00GB comprising 0 files and 0 directories (as of 1/29 01:00), * Pool hashing gives 0 repeated files with longest chain 0, * Nightly cleanup removed 0 files of size 0.00GB (around 1/29 01:00), * Pool file system was recently at 83% (1/29 18:59), today's max is 83% (1/29 17:08) and yesterday's max was 82%. It looks like BackupPC_nightly is failing to traverse the pool. This could be due to a bug in IO::Dirent that causes it to fail on certain file systems. There is a test in 3.1.0 to check if IO::Dirent works, but it checks ., not $TopDir. That bug is fixed in CVS. Do you have IO::Dirent installed and is your pool on XFS? If so, change this line in lib/BackupPC/Lib.pm: $IODirentOk = 1; to: $IODirentOk = 0; Craig -- Brian Woodworth bwoodwo...@gmail.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/