[BackupPC-users] Thanks ---problem backing up hosts
Benedict simon wrote: Thanks and appreciate your reply. actually i solved the problem let me expalin how actually my backuppc server was on 172.16.2.0/24 nwtwork and i was backin up a host on 172.16.3.0/24 . these 2 networks hav a firewall.( im using shoreline firewall) now from backuppc server i could ping the client and also when i ran the command ssh -l root kmdns1 whoami ( where kmdns1) is my hostname it prints root but the backup was not staring . i jus moved the backuppc server on 172.16.3.0/24 newtork and it worked like a charm any good links how to backup clients on another network or a different subnet thanks and regards If you have working routes and DNS, and pings and ssh are not firewalled between the networks, everything should just work. The only things that might cause problems is that there is a ping test with a short timeout to determine network availability and you might have problems with netbios lookups of DHCP hosts if WINS is not properly configured - but neither of those seems likely in your case. -- Les Mikesell lesmikes...@gmail.com Thanks and really apprecite your quick reply . i will check it out again to backup client on a different network with a firewall between regards simon -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- Network ADMIN - KUWAIT MUNICIPALITY: -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ 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] Programatically identifying errors in the log file
Hi, John Rouillard wrote on 2009-06-09 04:49:40 + [Re: [BackupPC-users] Programatically identifying errors in the log file]: On Tue, Jun 09, 2009 at 02:21:28AM +0200, Holger Parplies wrote: John Rouillard wrote on 2009-06-08 21:27:11 + [[BackupPC-users] Programatically identifying errors in the log file]: I am modifying a plugin for nagios to scan the backup logs and verify that the backups completed successfully. [...] I need to count the errors while filtering out certain known (and acceptable) classes of errors. [...] Is there a better way of identifying true errors in the log files? Can't you use the error count values from the 'backups' file? Nope, because the error count values are counting things that are acceptable errors in our environment: i.e. the files deleted while backuppc is running. So I have 49 errors reported for one of the backups. It's 49 temporary files removed from under backuppc, so the backup really completed fine as far as we are concerned. It is missing some files, but that is an acceptable loss. I can't just exclude the log files as I do want as many of them as it can get, but if some get removed while backuppc is running that is ok. then how about counting acceptable errors in the log file and subtracting those from the error count in the 'backups' file? It should be far easier to identify acceptable errors - you are obviously doing that already, if you are distinguishing between removed log files and other removed files. Matching known error messages is unlikely to falsely match other output. Failing to match acceptable errors (changed error messages, newly appearing errors that are acceptable to you) will only point you to the fact that you need to extend your regexp - no harm done. However if other files are getting removed while backuppc is running then there is a problem that I have to address, Is there really? If your backup would have been taken slightly later, the files would already have been gone (i.e. also not have been backed up). True, you might have an inconsistent state if the missing files closely relate to some newly appeared or otherwise changed files, but you can't *rely* on disappearing files to notice that. You'd need to back up a snapshot to avoid it. If you already are backing up a snapshot, then disappearing files probably mean something is going seriously wrong, but that is true for log files just as much as any other files :). so commenting out the code that reports removed files isn't really a solution (and is also not something that would be an upstream compatible patch AFAIAC). I agree. Also, keeping the lines in the log might be helpful when tracing down some issue, even if you don't consider them errors. Regards, Holger -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ 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] Change Archive Directory
Hi, Filipe Brandenburger wrote on 2009-06-08 23:36:33 -0400 [Re: [BackupPC-users] Change Archive Directory]: On Wed, Jun 3, 2009 at 22:25, jbkj...@mail2.gis.net wrote: [...] What I am not seeing is any pooled data. I am using the Fedora distribution (10) binary of Backuppc. When I originally set up the archive directory I pointed it to an external usb disk that is mounted in a location that is not in the original topdir path. BackupPC-3.1.0-4.fc10 has a patch that fixes this exact issue. From the changelog: * Sat Apr 11 2009 Johan Cwiklinski johan AT x-tnd DOT be 3.1.0-4 - Fix TopDir change (bug #473944) If you upgrade, you might not need to change mountpoints or use bind mounts, your configuration file might start working as supposed to then. yes, but however you fix it, you should be aware that you won't get pooling for already completed backups. Until they expire, they will contain independent copies of files. What's worse, rsync backups will hardlink 'same' files to the reference backup file (which will be outside the pool as long as it remains unchanged). A simple example: If you backup /lib on 10 machines, you will have 10 independent copies of all those files to start with. As new files appear or existing ones are changed (which is probably only if you install new packages or update existing ones that have files there), these will be placed in the pool and shared among machines (and with possible other occurrences of the same content). Unchanged files will remain outside the pool and unshared even when all now existing backups have expired and been replaced by new backups. An even better example might be a source file tree where you have many - at this point unshared - occurrences of CVS/Root and CVS/Repository. These are typically never changed, so they will remain unshared forever, even if the actual source code enters the pool over time. Again, that applies to *rsync(d)* backups only. tar/smb have no notion of a 'same' file (meaning unchanged since the reference backup) [well, incrementals don't transfer unchanged files as per timestamp, but full backups will transfer everything], so everything actually transferred will be put into the pool, regardless of where it was in earlier backups. To sum it up: nothing will get worse than it is now, but not everything will get fixed either - if you are using rsync, not even eventually. This may or may not be a problem for you (it will only waste disk space, nothing worse). If you have the bandwidth, you might consider changing to tar (or smb) Xfer for one full backup. Or, of course, consider things messed up and start with a fresh pool. These thoughts appear courtesy of recent reiserfs corruption :-|. Regards, Holger -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ 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] Change Archive Directory
Hi, On Tue, Jun 9, 2009 at 06:44, Holger Parplieswb...@parplies.de wrote: yes, but however you fix it, you should be aware that you won't get pooling for already completed backups. Until they expire, they will contain independent copies of files. What's worse, rsync backups will hardlink 'same' files to the reference backup file (which will be outside the pool as long as it remains unchanged). Can you use a script such as hardlink.py to create hardlinks out of identical files in the BackupPC repository? Would that fix that issue without the need to start over? http://code.google.com/p/hardlinkpy/ Cheers, Filipe -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ 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] Change Archive Directory
Filipe Brandenburger wrote: Hi, On Tue, Jun 9, 2009 at 06:44, Holger Parplieswb...@parplies.de wrote: yes, but however you fix it, you should be aware that you won't get pooling for already completed backups. Until they expire, they will contain independent copies of files. What's worse, rsync backups will hardlink 'same' files to the reference backup file (which will be outside the pool as long as it remains unchanged). Can you use a script such as hardlink.py to create hardlinks out of identical files in the BackupPC repository? Would that fix that issue without the need to start over? http://code.google.com/p/hardlinkpy/ That might help regain some space, but you need an additional link in the pool or cpool directory with a name that is a hash of the file contents to be used to match up subsequent duplicate copies. -- Les Mikesell lesmikes...@gmail.com -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ 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] Change Archive Directory
On Tue, 9 Jun 2009, Filipe Brandenburger wrote: Hi, On Tue, Jun 9, 2009 at 06:44, Holger Parplieswb...@parplies.de wrote: yes, but however you fix it, you should be aware that you won't get pooling for already completed backups. Until they expire, they will contain independent copies of files. What's worse, rsync backups will hardlink 'same' files to the reference backup file (which will be outside the pool as long as it remains unchanged). Can you use a script such as hardlink.py to create hardlinks out of identical files in the BackupPC repository? Would that fix that issue without the need to start over? http://code.google.com/p/hardlinkpy/ This only will work for files with identical copies already in the pool. I don't have experience with hardlinkpy, but fslint http://www.pixelbeat.org/fslint does the same (and more). Cheers, Michael -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ 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] backups not working - backupdisable picking up incorrectly
Hi, I've run in to a bit of a strange issue. We have a large number of backups running on backuppc and up until recently they have all been working fine. Now I see everything as Idle with aging last backups Now, when I attempt to kick backups off manually I get the usual: Reply from server was: ok: requested backup of hostname message No errors appear in the log other than: 2009-06-09 15:54:17 User backuppc requested backup of hostname (hostname) Going through some debugging steps, I ran this:- backu...@backupbox:/usr/share/backuppc/bin$ ./BackupPC_dump -v -f hostname Exiting because backups are disabled with $Conf{BackupsDisable} = 2 nothing to do This is however incorrect, as the config file clearly says:- $Conf{BackupsDisable} = '0'; Any pointers on further steps for diagnosing this problem? Regards, - Steve -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ 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] backups not working - backupdisable picking up incorrectly
Steve Redmond wrote: Hi, I've run in to a bit of a strange issue. We have a large number of backups running on backuppc and up until recently they have all been working fine. Now I see everything as Idle with aging last backups Now, when I attempt to kick backups off manually I get the usual: Reply from server was: ok: requested backup of hostname message No errors appear in the log other than: 2009-06-09 15:54:17 User backuppc requested backup of hostname (hostname) Going through some debugging steps, I ran this:- backu...@backupbox:/usr/share/backuppc/bin$ ./BackupPC_dump -v -f hostname Exiting because backups are disabled with $Conf{BackupsDisable} = 2 nothing to do This is however incorrect, as the config file clearly says:- $Conf{BackupsDisable} = '0'; I assume this means the main config file. There are also per-host config files that will override the main one. Other alternatives are you aren't looking at the same config file that BackupPC is, or $Conf{BackupsDisable} is set twice in the main config file. Any pointers on further steps for diagnosing this problem? Regards, - Steve Chris -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ 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] backups not working - backupdisable picking up incorrectly
Steve Redmond wrote: Hiya, Thanks for your reply. I assume this means the main config file. There are also per-host config files that will override the main one. Correct. I have checked that there were no overriding settings in other configuration files. Did a grep on the entire configuration directory to be sure and nothing turned up. Other alternatives are you aren't looking at the same config file that BackupPC is, or $Conf{BackupsDisable} is set twice in the main config file. It's not set twice, that much is certain How certain? ;o) - there's only one config file in place for it to use. Fair enough, but is it possible that $Conf{BackupsDisable} is set twice in this one file? When you performed your grep, you stated nothing turned up. Does that mean that nothing UNEXPECTED showed up, or nothing at all? What were the options you passed to grep to perform this search? To be clear, I don't intend to insult your intelligence, or your troubleshooting skills. I'm just proposing possibilities to explain the data given. Thanks, - Steve Chris -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ 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] backups not working - backupdisable picking up incorrectly
On Jun 09, Chris Robertson wrote: How certain? ;o) 100% ;-) Fair enough, but is it possible that $Conf{BackupsDisable} is set twice in this one file? When you performed your grep, you stated nothing turned up. Does that mean that nothing UNEXPECTED showed up, or nothing at all? What were the options you passed to grep to perform this search? grep -iR BackupsDisa * To be clear, I don't intend to insult your intelligence, or your troubleshooting skills. I'm just proposing possibilities to explain the data given. No offence taken. It's good to go over all the necessary steps. I have been through the files myself in less to see if this was the case and it isn't. Regards, - Steve -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ 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] backups not working - backupdisable picking up incorrectly
Steve Redmond wrote: On Jun 09, Chris Robertson wrote: How certain? ;o) 100% ;-) Fair enough, but is it possible that $Conf{BackupsDisable} is set twice in this one file? When you performed your grep, you stated nothing turned up. Does that mean that nothing UNEXPECTED showed up, or nothing at all? What were the options you passed to grep to perform this search? grep -iR BackupsDisa * There are an assortment of places where the per-pc config files might live depending on how you installed, upgraded, and made changes. You should see the setting in the web interface for the host under 'schedule', though. -- Les Mikesell lesmikes...@gmail.com -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ 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] Upgrading from etch to lenny
I have two etch BackupPC servers and two lenny BackupPC servers. All were built at the OS level currently running. I like the new BackupPC interface a lot and would like to upgrade the etch servers to lenny and therefore BackupPC. How smoothly is this likely to go? Any HOWTOs or READMEs or gotchas I can study beforehand? Thanks, James smime.p7s Description: S/MIME cryptographic signature -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ 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/