[BackupPC-users] BlackoutPeriods seemingly ignored
Hello, I have a few hosts that should only be backed up between 23:00 and 7:00, i.e. when the network is not used much. Hence, I set BlackoutPeriod for them to $Conf{BlackoutPeriods} = [ { 'hourEnd' => '23', 'weekDays' => [ '1', '2', '3', '4', '5', '6', '7' ], 'hourBegin' => '7' } ]; which I can verify in the web interface (see attached image). However, all the PCs ended up being queued at 09:00 this morning, and their last backup was yesterday between 17:00 and 19:00 o'clock. It seems almost like BackupPC is just ignoring BlackoutPeriods, but I doubt that this is the case. Any idea what I might be doing wrong? -- martin | http://madduck.net/ | http://two.sentenc.es/ "now, bring me that horizon." -- captain jack sparrow spamtraps: madduck.bo...@madduck.net <> digital_signature_gpg.asc Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current) -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay___ 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] ping failures: dhcp clients and different subnets
On 17.05.2011 20:17, Tobias Mayer wrote: >> Hi, >> >> I'm running into problems by using backuppc with dhcp clients which are >> using a different subnet then the backuppc server. >> (It's not possible to use backuppc server and clients in the same subnet >> in this case. DNS Server doesn't accept DynamicDNS entries.) >> >> Error: >> Backup Process don't start because of ping fails. >> "Pings to sec43-dyn27 have failed 550 consecutive times." >> >> I have customize the NmbLookupFindHostCmd variable in config.pl and >> using the program nbtscan to get netbiosnames. >> $Conf{NmbLookupFindHostCmd} = >> '/usr/local/BackupPC/bin/BackupPC_get_HostIP $host'; >> >> content: >> #!/bin/sh >> test ! -z "$1" || { echo "keinen HOST angegeben" ;exit 1;} >> SEARCH="$1" >> FILE='/tmp/pclist.txt' >> /usr/sbin/nbtscan -s : subnet1>$FILE >> /usr/sbin/nbtscan -s : subnet2>> $FILE >> /usr/sbin/nbtscan -s : subnet3>> $FILE >> /usr/sbin/nbtscan -s : subnet4>> $FILE >> IP=`grep -i $SEARCH $FILE | cut -d ":" -f1` >> echo "$IP $SEARCH" >> >> output is (example): >> 192.168.1.1 sec43-dyn27 >> >> >> If I start a backup from the console as backuppc user> sec43-dyn27> then everything is fine. But if I perform a backup from the >> webfrontend then nothing happens besides the increasing of ping failure >> counter. >> >> Any suggestions?? Which programs will be startet in which order when I >> perform the backup from the webfrontend??? >> >> Thanks in advance. >> Heiko >> >> btw: If I set the variable "PingCmd" to $Conf{PingCmd} = '/bin/true' >> then I got the same failure. >> >> > Hi Heiko! > > I seem to have the same problem as you, without the client PCs being on a > different subnet, so it's a little easier for me. But i do not think this > actually matters. > > After looking at the code of the main "BackupPC" script for a while, > - and adding a lot of additional logging output - > i noticed that the sub(routine) "QueueOnePC" does not put the Task into > the queue if the specified host is a dhcp one. To circumvent this, i simply > removed the "else {" from line 1718. > Also, the BackupPC_dump script exits with return code 1 if given the > IP-address > instead of the hostname, so i changed the lines containg the > "unshift"-commands > to fill the "host"-variable with "$host" instead of "$hostIP" in lines 1733, > 1740 and 1748. > > with these changes, BackupPC_dump is called correctly, but i don't know if i > broke something else in the process. > rsync is still running on my client, so i'm waiting for the incremental backup > to succeed or fail. > > also, i'm not sure that this will fix scheduled backups as well. > I hope i can spend some more time on this tomorrow, and will report on my > progress > as soon as i make some. > > > Best regards, > Tobias Mayer > after leaving BackupPC running with my changes it seems to work for my Windows 7 Client. (both manual and scheduled jobs) Unfortunately I can not test this on linux/*nix clients right now, since we simply don't have any. So my changes are likely to break something in other configurations. Can anyone with knowledge of the code please have a look at this? Thanks, Tobias -- tobias.ma...@hhi.fraunhofer.de Tel +49 30 314-28691 Fraunhofer Heinrich Hertz Institute / Technische Universität Berlin Einsteinufer 17, 10587 Berlin, Germany www.hhi.fraunhofer.de -- Visit us at SID Display Week 2011 / May 15-20 / Los Angeles, CA, USA / booth 1019-4 (German Pavilion) www.hhi.fraunhofer.de/sid Compound Semiconductor Week 2011 / May 22-26 / Berlin, Germany / Maritim proArte Hotel http://conference.vde.com/csw2011/pages/homepage.aspx >From Data Collection to Display - Technology Conference and Exhibition University of California, Berkeley, USA / May 26 http://www.hhi.fraunhofer.de/ucberkeley -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay ___ 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] Best NAS device to run BackupPC ?
On Tue, 2011-05-17 at 13:02 -0400, Phil K. wrote: > > I've been happily running backuppc on a dlink dns-321 with only minor > issues (RRDtool wants the nolock option for some reason). NFS has been > quite stable and tweakable for oue use. I'm running a Thecus, N4200 as my Home NAS and it's NFS mounted from my PC grade linux server and seems fine. The only issue I've found is the RRD graphs don't update. Now I've read this, I'm going to see where I set the nolock and see if it fixes my last remaining problem. Peter. -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay___ 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] Not able to use the backuppc account in freebsd
> From: "Michael Stowe" > > The FreeBSD equivalent would be > > su -m backuppc -c /bin/sh > > > From: "Jeffrey J. Kosowsky" > > Personally, I use 'sudo' -- as in: > sudo -u backuppc > Not sure though if sudo is a standard package with freebsd... > > su -m backuppc is sufficient in FreeBSD alpha# su -m backuppc alpha# id uid=300(backuppc) gid=300(backuppc) groups=300(backuppc) Also sudo is available from ports: security/sudo alpha# sudo -u backuppc id uid=300(backuppc) gid=300(backuppc) groups=300(backuppc) -- Alexander Moisseev -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay ___ 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] Schedule Example Request
Hi, I would ask if you can help me to make a good schedule . The principles are: - A monthly full backup - 12 month of stored full backup - A daily incremental backup - 30 daily of stored incremental bkp I'm able to set that parameter myself but what parameter for level, compression and other advanced option? Obviously I want to keep as minimum hard-disk volume as possible. I have 2 servers and five/six workstation. The two server follows the above rules, the workstation keep a full backup every 3 month and daily incremental. I hope I've been clear. Thx Vitello -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay___ 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] Backup windows xp/wind7/vista
For the life of me I cannot figure out how to backup only one dir on a Windows box. I followed many instructions, which were pretty much the same and have not accomplished anything. I simply choose smb as xfer method and then made the smbsharename c$ and added under backupfilesony \temp as a test. Errors are either no files exist or it backsup the whole c drive. can someone please point me to some working docs about backing up windows boxes? All my linux boxes work like a charm.. Here is my config file for the PC in question $Conf{SmbShareName} = [ 'c$' ]; $Conf{BackupFilesOnly} = { 'c$' => [ '\\temp' ] }; Thanks.. Rob Morin Systems Administrator Infinity Labs Inc. (514) 387-0638 Ext: 207 ilabs-email-sig <>-- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay___ 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 windows xp/wind7/vista
I use the setting below for about 25 Windows XP computers...it probably has extra entries which are not required. $Conf{SmbShareName} = [ 'C$' ]; $Conf{BackupFilesExclude} = { '*' => [ '\\TEMP\\*', '\\temp\\*', '\\WINDOWS\\*', '\\Program Files\\*', '\\pagefile.sys', '\\System Volume Information\\*', '*.ost', '\\Documents and Settings\\*\\Local Settings\\Temporary Internet Files\\*', '\\hiberfil.sys', 'Thumbs.db', 'IconCache.db', '?ache*', '\\RECYCLER\\*', '\\Documents and Settings\\*\\ntuser.dat*', '\\Documents and Settings\\*\\NTUSER.DAT*', '\\Documents and Settings\\*\\Cookies', '\\MSOCache', '\\Documents and Settings\\*\\Local Settings\\Temp\\*', '*.lock', '*.vmdk', '*.vmem', '*.tmp', '\\Documents and Settings\\*\\Application Data\\*', '*.wma', '*.mp3' ] }; Marcelino Marcelino Mata Engineering Technology Specialist Multimatic Technical Centre 85 Valleywood Drive Markham, ON Canada L3R 5E5 Tel. +1 905 470 0025 CONFIDENTIALITY NOTE: This email (and attachments, if any) contain(s) information that is PRIVATE and CONFIDENTIAL, and may be LEGALLY PRIVILEGED or otherwise exempt from disclosure under applicable law. All copyright is reserved, and no right or license is granted to duplicate or publish the content of this email or to forward it to third parties, without, in each case, specific permission. If you have received this email in error, you must not copy, distribute, retain or use this email or the information contained in it for any purpose (other than to notify the sender). If you believe that you are not the intended recipient of this email, please contact the sender immediately and delete this email from your computer system (including any archive or other storage facilities). Thank you. -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay ___ 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/