Re: [BackupPC-users] Discrepant file size reports of backups
Hi, Are you using the backuppc deb from ubuntu? If so, you seem to have modified topdir incorrectly. You're right, that's the case. I did not install it myself and didn't notice the directory was moved. the pool, cpool and pc directories *must* all reside on the same filesystem. Also, you can't simply change topdir in the config file. See https://sourceforge.net/apps/mediawiki/backuppc/index.php?title=Change_archive_directory for details. Both directories are in the same filesystem and the path was most likely changed right after the installation. I don't fully understand why the changed path is a problem in this case, but I can try to move the directory back to the default path (thanks for the link). regards Stefan -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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] Discrepant file size reports of backups
Hi, s...@pm7.ch wrote on 2009-10-16 02:05:07 -0700 [Re: [BackupPC-users] Discrepant file size reports of backups]: [...] Both directories are in the same filesystem and the path was most likely changed right after the installation. /var/lib/backuppc and /usr/share/backuppc/data ? That would be the root file system. It's not really a good idea to put your pool on the rootfs. I don't fully understand why the changed path is a problem in this case, Neither do I, but I remember that it *is* a problem. You can have a link for $TopDir (i.e. $TopDir = '/var/lib/backuppc' and /var/lib/backuppc is a softlink to somewhere), but softlinks below $TopDir don't seem to work (whatever the reason was), even if they remain within one file system. but I can try to move the directory back to the default path (thanks for the link). That case is not really covered on the wiki page, because it really depends on what you did and thus need to revert. I was hoping the wiki page will explain some of the background. If you need more help, we'd need to know a bit more about your filesystem layout (i.e. 'df', any softlinks involved, layout below /usr/share/backuppc/data, ...). If it's really all just one FS, you probably just need to 'mv' some things around, though that won't re-establish pooling if it wasn't working. Also note that backup expiration is *not* done by BackupPC_nightly but by BackupPC_dump. Changing the number of backups to keep and running BackupPC_nightly (via the daemon, hopefully? :) will do exactly nothing. You need to run a backup to expire old backups, and if pooling isn't working (not sure from the info so far), you won't even need BackupPC_nightly to get back some space. On the other hand, moving things back into place just might make BackupPC_nightly clean out the complete pool (because nothing has more than the one pool link) without the need to expire any backups. That would however mean that your existing backups do not participate in pooling (I believe Jeffrey has scripts to fix that, but I'm not sure if it's worthwhile for you). If you don't need to keep your backup history (as your attempt of reducing the number of kept backups suggests), you might be best off to simply start over with a new pool (and keep the old one around as long as you need it). Consider putting this on a separate partition (or better yet: set of disks) from your OS installation. But that matter is explained on the wiki page :). Regards, Holger -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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] Discrepant file size reports of backups
Holger Parplies wrote: Both directories are in the same filesystem and the path was most likely changed right after the installation. /var/lib/backuppc and /usr/share/backuppc/data ? That would be the root file system. It's not really a good idea to put your pool on the rootfs. I don't fully understand why the changed path is a problem in this case, Neither do I, but I remember that it *is* a problem. You can have a link for $TopDir (i.e. $TopDir = '/var/lib/backuppc' and /var/lib/backuppc is a softlink to somewhere), but softlinks below $TopDir don't seem to work (whatever the reason was), even if they remain within one file system. If you install from source from the sourceforge code, there is an install step that modifies something in the code with the location you choose for the directory. However, packaged installs (.deb/.rpm) have already done this step so you can't alter the location. But I thought this was changed in the latest version. Regardless, the easy approach is to mount the filesystem you want to use at /var/lib/backuppc before installing the package. -- Les Mikesell lesmikes...@gmail.com -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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] Discrepant file size reports of backups
El 16/10/2009, a las 13:22, Holger Parplies escribió: Hi, s...@pm7.ch wrote on 2009-10-16 02:05:07 -0700 [Re: [BackupPC-users] Discrepant file size reports of backups]: [...] Both directories are in the same filesystem and the path was most likely changed right after the installation. /var/lib/backuppc and /usr/share/backuppc/data ? That would be the root file system. It's not really a good idea to put your pool on the rootfs. I don't fully understand why the changed path is a problem in this case, Neither do I, but I remember that it *is* a problem. You can have a link for $TopDir (i.e. $TopDir = '/var/lib/backuppc' and /var/lib/backuppc is a softlink to somewhere), but softlinks below $TopDir don't seem to work (whatever the reason was), even if they remain within one file system. I've been using softlink to store BackupPC's storage on other disks and partitions for years with no problems at all. What are the problems you're talking about (I'm curious just in case I'm having problems I didn't notice)...? -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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] Discrepant file size reports of backups
On Fri, Oct 16, 2009 at 05:16:57PM +0200, Cesar Kawar wrote: s...@pm7.ch wrote on 2009-10-16 02:05:07 -0700 [Re: [BackupPC-users] Discrepant file size reports of backups]: [...] Both directories are in the same filesystem and the path was most likely changed right after the installation. /var/lib/backuppc and /usr/share/backuppc/data ? That would be the root file system. It's not really a good idea to put your pool on the rootfs. I don't fully understand why the changed path is a problem in this case, Neither do I, but I remember that it *is* a problem. You can have a link for $TopDir (i.e. $TopDir = '/var/lib/backuppc' and /var/lib/backuppc is a softlink to somewhere), but softlinks below $TopDir don't seem to work (whatever the reason was), even if they remain within one file system. I've been using softlink to store BackupPC's storage on other disks and partitions for years with no problems at all. Note the very important detail: It is SAFE to softlink $TopDir directly, e.g. have a softlink /var/lib/backuppc which points to /mnt/somewhere/else. The actual requirement is: everything below $TopDir needs to be on the same file system so hardlinks work. HTH, Tino. -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.tisc.de -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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] Discrepant file size reports of backups
Thanks for the clarification Enviado desde mi iPhone El 16/10/2009, a las 17:33, Tino Schwarze backuppc.li...@tisc.de escribió: On Fri, Oct 16, 2009 at 05:16:57PM +0200, Cesar Kawar wrote: s...@pm7.ch wrote on 2009-10-16 02:05:07 -0700 [Re: [BackupPC-users] Discrepant file size reports of backups]: [...] Both directories are in the same filesystem and the path was most likely changed right after the installation. /var/lib/backuppc and /usr/share/backuppc/data ? That would be the root file system. It's not really a good idea to put your pool on the rootfs. I don't fully understand why the changed path is a problem in this case, Neither do I, but I remember that it *is* a problem. You can have a link for $TopDir (i.e. $TopDir = '/var/lib/backuppc' and /var/lib/backuppc is a softlink to somewhere), but softlinks below $TopDir don't seem to work (whatever the reason was), even if they remain within one file system. I've been using softlink to store BackupPC's storage on other disks and partitions for years with no problems at all. Note the very important detail: It is SAFE to softlink $TopDir directly, e.g. have a softlink /var/lib/backuppc which points to /mnt/somewhere/else. The actual requirement is: everything below $TopDir needs to be on the same file system so hardlinks work. HTH, Tino. -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.tisc.de --- --- --- - Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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/ -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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] Discrepant file size reports of backups
Hi, we have a problem with our backuppc server. The disk is almost full, but the reported size of the backups is much less. Additionally, the pool is reported to be empty in the CGI. I tried to set all backups (full and incremental) to a minimum and maximum number of one and run a nightly cleanup. No data is deleted at all, the pool is reported to be emtpy. Can someone explain why the reported sizes (see below) are that different? Is there orphaned data in the pool directory and how can I clean it? Any other ideas? OS: Ubuntu Server 8.04 LTS Backuppc 3.0.0 $Conf{TopDir} = '/usr/share/backuppc/data'; $Conf{ConfDir} = '/etc/backuppc'; $Conf{LogDir} = ''; $Conf{InstallDir} = '/usr/share/backuppc'; $Conf{CgiDir} = '/usr/share/backuppc/cgi-bin'; This is what the host summary shows on top: * 19 full backups of total size 274.58GB (prior to pooling and compression), * 13 incr backups of total size 24.86GB (prior to pooling and compression). r...@server:/var/lib/backuppc# du -h --max-depth=1 4.0K./.ssh 8.7M./pc 96K ./log 1.2T./pool 4.0K./cpool 4.0K./trash 1.2T r...@server:/usr/share/backuppc# du -h --max-depth=1 4.0K./doc 176K./image 332K./bin 964K./lib 169G./data 8.0K./cgi-bin 169G. regards Stefan signature.asc Description: Dies ist ein digital signierter Nachrichtenteil -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ 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] Discrepant file size reports of backups
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefan Dürrenberger wrote: $Conf{TopDir} = '/usr/share/backuppc/data'; r...@server:/var/lib/backuppc# du -h --max-depth=1 r...@server:/usr/share/backuppc# du -h --max-depth=1 Are you using the backuppc deb from ubuntu? If so, you seem to have modified topdir incorrectly. the pool, cpool and pc directories *must* all reside on the same filesystem. Also, you can't simply change topdir in the config file. Regards, Adam -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrW8ywACgkQGyoxogrTyiWovgCcDBWDihYLUM95+6BHmM/6okPZ uu8An1dV1T0aAq5hS3gFluSz6FOAnHnX =L3k1 -END PGP SIGNATURE- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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] Discrepant file size reports of backups
Hi, Adam Goryachev wrote on 2009-10-15 21:02:24 +1100 [Re: [BackupPC-users] Discrepant file size reports of backups]: Stefan Dürrenberger wrote: $Conf{TopDir} = '/usr/share/backuppc/data'; r...@server:/var/lib/backuppc# du -h --max-depth=1 r...@server:/usr/share/backuppc# du -h --max-depth=1 Are you using the backuppc deb from ubuntu? If so, you seem to have modified topdir incorrectly. that seems to be the case, judging from the du output. the pool, cpool and pc directories *must* all reside on the same filesystem. Also, you can't simply change topdir in the config file. See https://sourceforge.net/apps/mediawiki/backuppc/index.php?title=Change_archive_directory for details. Regards, Holger -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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/