Re: [BackupPC-users] Integration with SNMP for monitoring backups?
Colin Yates wrote: How are people monitoring their backup servers? I use nagios (actually zabbix) and it would be great if there was some integration between them? Ideally, an SNMP event if backup failed, for example? I'm not using SNMP, but I am using this plugin across NRPE. It works great for me. http://n-backuppc.sourceforge.net/ Regards, Max -- ___ 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] BPC-wiki on CentOS site that moved
Sorin Srbu wrote: Yeah, speaking of which, I had a look at the CentOS-wiki and it seems you have to apply for membership and whatnot to be able to add and maintain a wiki-page there. I don't know how the BPC-wiki is with regard to this, ie if it's simpler. For now the howto will remain at the previously mentioned url on my own server. The process for contributing to the CentOS wiki is difficult, along with a community of admins that differ very much on what's considered on-topic and off-topic to post. Not only that, you have to go through a submission process for everything on a page-by-page basis. So, basically if you wanted to post something, you have to ask permission to have a page created and give you write access to that page. Once you contribute awhile, you're given some more rights, but you still feel compelled to ask permission before you just start creating pages. Given they have no set of standards for what they want authors and contributors to follow, you get folks criticizing of what should or should not be posted, leaving the author confused as to what he/she should be doing. Maybe you'll have better luck than I did there, but this is exactly why I left helping them out. Until they put some standards together for what they feel is on-topic articles, and get all their team members on board, to me it's not worth it. Many people have left the CentOS wiki project over the last year. Regards, Max -- ___ 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] BPC-wiki on CentOS site that moved
Sorin Srbu wrote: A guy called Max wrote some time ago; I don't maintain those pages any longer on the CentOS wiki due to some issues I had there with interactions. You can find the most recent page at my website. http://www.maxsworld.org/index.php/how-tos/backuppc-on-centos; Is this above wiki still maintained, as I get a 404 when I try to go there. No, I'm no longer maintaining the website. Anyone that would like to take over the guide, feel free to contact me. I no longer have time to maintain things. The CentOS wiki article should be just fine to work off of. Thanks, Max -- ___ 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] pre-backup encryption? user wants files to be inaccessible even to me :-)
Frank J. Gómez wrote: Our conversation centered around the importance of being able to recover any given employee's files in the event of their death (which is why encrypting the files pre-backup in such a way that the IT Department could not read them was not acceptable). Well, what about me? I'm the only IT person on staff, and I'm the only one with numerous credentials (logins to numerous servers, etc) that the org would need in order to continue to function without me. Currently, I'm keeping a plain-text password file on an encrypted partition of my hard drive. No one else has access to these passwords because no one else needs them in the course of their day-to-day activities. If I get hit by a bus, they are going to be in a bit of trouble. What measures do y'all have in place to ensure your employer can continue on without you? I keep all important passwords and information in our inventory software that I use GLPI. Only three admins have access to this software. I'm just an assistant, but at least others can gain access to things in case something happens. We just had to go through a pandemic type deal for backup plans not too long ago. My boss was forced to write down where we store all passwords, and give an admin username and password to access the inventory software to the VPs. This is stored and locked then in the VPs office, from what I understand. Basically, as long as they know they have access, or can at least get access, there are no issues then in case the IT department vanishes. Regards, Max -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] pre-backup encryption? user wants files to be inaccessible even to me :-)
Frank J. Gómez wrote: I have an interesting situation here. One of my users refuses to participate in the system of backups because she's concerned about the security of her files. She agreed to participate if I can make the system work such that even I am unable to see the contents of her files. She's running Windows -- XP Home, I believe. A little Googling and some brainstorming leads me to consider three courses of action. 1. Use a pre-dump command to encrypt the files before BackupPC reads her files. I've not used pre-dump commands before, so I'm not entirely sure how they work, but I imagine I could tell BackupPC to read only c:\foo, but, prior to doing that, run a script which takes the files in c:\my\sensitive\junk and creates an encrypted archive in c:\foo. I assume the pre-dump script would live in the cygwin environment, which is probably better for me anyway, since I don't know anything about Windows scripting. If this were a Linux system, I'd tar the files up and then pass the tar to gnupg, but I don't know if this is possible in a cygwin environment. Then, post-dump, I'd shred (or rm, if shred is unavailable) the temporary file in c:\foo. 2. Some post I read somewhere suggested you could simply change your compression method or transfer method to a script that does the encryption before writing to disk. Nice thing about this idea is I can do all the configuration on the server. Does sound a little scary though! 3. Use scheduled tasks (or whatever the Windows equivalent of cron is) to periodically create/delete encrypted archives, independent of BackupPC scheduling. How would you do it? What encryption software would you use? My entire backup partition is encrypted, so if someone steals the server, we're protected at least from that standpoint. I'm just using LUKS, so after it boots up I have to manually mount the partition and provide the passphrase for the encrypted device. So, if anyone did take the server, nothing is automounted with the backups either. It remains in a locked room then, with no mouse or keyboard either, and the building is alarmed. Once it's online then, online two administrators, myself and my boss, are able to view the backups threw BackupPC's web interface. The user seems awfully demanding. Is there items in her files that you are not allowed to see by policy of your company? I guess I'm just wondering why you would have to go jump through all these hoops, if the user is demanding it and not management. Regards, Max -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] pre-backup encryption? user wants files to be inaccessible even to me :-)
Max Hetrick wrote: It remains in a locked room then, with no mouse or keyboard either, and the building is alarmed. Once it's online then, online two administrators, myself and my boss, are able to view the backups threw BackupPC's web interface. ... through not threw. My typing and thinking skills aren't on par today. :) -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Trouble setting up backup to a Windows host
Les Mikesell wrote: This should work with smbclient - not sure about the kernel cifs module. If you aren't able to make smb authentication work, you might try cwrsync - I think in the latest versions running rsync under sshd actually works. I'm mounting shares inside a domain just fine, but I'm also mounting these shares at home on a Windows machine where I have no domain running. I'm just passing the local administrator username and password from BackupPC. The only issue I had was the Windows firewall not allowing this traffic to pass. Regards, Max -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Trouble setting up backup to a Windows host
Sorin Srbu wrote: Same settings as before, but tried your mount.cifs-command instead. Something interesting is happening; I now get a question for password, I assume it's the one in /etc/.autofs.smbpasswd, right? So I enter it and get an error 13, Permission denied. If it's not the same password pre-entered in /etc/.autofs.smbpasswd, which one is it?? Sorin, I just made some corrections on my personal website regarding that page. I was having issues using a credentials file last month, perhaps it's the same issue you are having. All my backups started failing where a credentials file was being used. I don't know if it's a bug with autofs, or something else wrong within CentOS. I did away with using the credentials file, and instead passed the username and password in the autofs file itself. Everything started working again, and I just haven't had time to investigate what caused the issue. I don't maintain those pages any longer on the CentOS wiki due to some issues I had there with interactions. You can find the most recent page at my website. http://www.maxsworld.org/index.php/how-tos/backuppc-on-centos Did you try passing the username and password directly in the autofs entry? machinename -fstype=cifs,ro,username=$username,password=$password ://machinename/C\$ Regards, Max -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Trouble setting up backup to a Windows host
Sorin Srbu wrote: The mount works, but when I cd to /windows/Starforge, I still get -bash: cd: /windows/Starforge/: No such file or directory I'll take a look at your site. Thanks for the info /Sorin Unmount /windows/Starforge, stop autofs service, and then delete the Starforge directory. Then start autofs back up. Starforge should be re-created then. Try to cd to it after it appears back in the /windows directory. Perhaps with all the messing around, something was corrupted with the directory on the Linux side. Regards, Max -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] ext3 filesystem limitations
Huw Wyn Jones wrote: Hi people, OK I've tried swapping out hardware. I found an identical server, known to be working, and moved the RAID controller and the five drives over to that. In a stroke that meant different memory, cpu, power supply and motherboard. The result though stays the same :-( Kernel panic within a few seconds of reaching the login prompt. Interactive boot with no services running seems to be fine. Has anyone on this list come across a similar issue? This is new to me so I'd appreciate any words of wisdom. I'd say you have an issue with one of the drives and/or the RAID controller then... Check with the drive manufacturer, usually they have utilities to check for bad drives. The ones I've use in the past you boot from a CD and then go through a scan process to check the drives. You've ruled out all the other hardware except the drives and controller. Regards, Max -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-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] Distro choice
John Hudak wrote: Thanks for posting the pointer. After reading thorough it, I strongly disagree with the statement Easiest choice for WinXXEasiest is a matter of perspective, and trying to figure out XP/Win7 file protection protocols so that it will play nice with Samba, is more than a little challenging. Finding out the file protection mechanisms is one thing, and then figuring out how in Windoz to modify them is another. From my perspective the problems I've been having could be mitigated with stronger documentation in the BackupPC doc about how Samba and XP should be configured. In retrospect, what is implied in the BackupPC doc is 'if you already are running a samba server and talking to Xp machines, then using SMB protocol is quite easy' Your mileage may vary John This section actually comes out of the BackupPC documentation, and not my own. This section was just copied and pasted from BackupPC's docs to my doc to explain the various methods. You are correct, this is the easiest method if you are already running a Samba domain, which I am at work. However, I'm not at home. But, I'm also using autofs to mount across Samba to back up a Windows machine or two on my home network, and I'm NOT running Samba as a domain, I'm simply mounting the file systems as CIFS/SMB using the appropriate local LOCAL_COMPUTER\USERNAME account on the Windows boxes. I had very little effort and trouble doing so myself. My autofs line looks something similar to this to pass the correct credentials. -fstype=cifs,ro,username=Administrator,password=mypassword Again, this is all local and I'm not running a domain admin account or anything at home. Max -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-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] Distro choice
John Hudak wrote: Hmmm would you detail the steps needed to do this?: But, I'm also using autofs to mount across Samba to back up a Windows machine or two on my home network, and I'm NOT running Samba as a domain, I'm simply mounting the file systems as CIFS/SMB using the appropriate local LOCAL_COMPUTER\USERNAME account on the Windows boxes. I had very little effort and trouble doing so myself. It is documented in my guide under the Configure autofs section... Max -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-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] Distro choice
John Hudak wrote: Hmmm would you detail the steps needed to do this?: But, I'm also using autofs to mount across Samba to back up a Windows machine or two on my home network, and I'm NOT running Samba as a domain, I'm simply mounting the file systems as CIFS/SMB using the appropriate local LOCAL_COMPUTER\USERNAME account on the Windows boxes. I had very little effort and trouble doing so myself. Just substitute DOMAIN\user with LOCALCOMPUTER\user is all I did to make it work. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-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] ext3 filesystem limitations
Huw Wyn Jones wrote: Has anyone experienced BackupPC crashing? I'm trying to recover our backup server. I can log-in with all the services switched off (interactive boot) but a normal start causes full blown kernel panics :( The server was running for about two years before this started to happen. Has anyone had any similar experiences? I'm trying to figure out what might be going on! The OS is CentOS 4.4, the system log files shown nothing untoward and the /backup/data directory has about 950Gb of data in it. Any updates to packages recently that you can think of? Max -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-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] ext3 filesystem limitations
Max Hetrick wrote: Any updates to packages recently that you can think of? Often times, and not allows, kernel panics are caused by some sort of hardware starting to fail or get funky. Is there any hardware you can start shutting off or disconnecting to test that? Regards, Max -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-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] Backup local machine?
bubbagump wrote: How do I do a simple backup of the local machine? I want to bypass SSH completely and just use rsync. Any ideas? I would start here. http://backuppc.sourceforge.net/faq/localhost.html Careful as it suggests to not backup the backuppc pool and files, or you'll get into space issues and a double backup. Regards, Max -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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] Problem with $Conf{BackupFilesExclude}
Nick Bright wrote: In my /etc/BackupPC/pc/host.pl file, I have the $Conf{BackupFilesExclude} directive configured as: $Conf{BackupFilesExclude} = { '/usr/local/vpopmail/domains' = [ '' ], '/usr/local/MPP/working' = [ '' ], '/proc' = [ '' ], '/var/qmail/queue' = [ '' ], '/backup' = [ '' ] }; This was configured through the web interface, on BackupPC v3.1.0. Backup method is rsync. The backup runs, but it disregards my exclude directives and backs up the directories I'm telling it not to back up. Unfortunately, because of the first exclude line not being excluded, this is making the backup take about 20 hours to run! Any thoughts as to why these directories aren't being excluded? Perhaps I have my understanding of of BackupPC's exclude files, but I have mine as follows, and I think things are relative to the path, or something of the sort. I had problems with mine too when I had /var/cache on one line. When I made it look like the following, it worked. $Conf{BackupFilesExclude} = { '/var' = [ '/cache' ] }; So, perhaps try: $Conf{BackupFilesExclude} = { '/usr/local/vpopmail' = [ '/domains' ], '/usr/local/MPP/' = [ '/working' ], '/proc' = [ '' ], '/var/qmail' = [ '/queue' ], '/backup' = [ '' ] }; Regards, Max -- 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] Change target directory
Renke Brausse wrote: the directory is hard coded, you can only change it at compile time. The easiest solution is to bind mount /var/lib/backuppc to a directory of your choice. If you've installed with RPMs, say on CentOS or RHEL, then it's not hard coded. Or if you've installed it with Debian packages, you can change the path. From the web GUI: Edit Config - Server - Install Path - TopDir From the config.pl file: $Conf{TopDir} = '/path/to/location'; Only thing I've heard is there is a bug with the RHEL/CentOS package where the pool directory remains in /var/lib/backuppc if you've installed from the RPMs. Regards, Max -- 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/