Re: [BackupPC-users] How to run a manual backup.
Thanks, Les and Iosif for the headsup on that link. It explained the problem OK. So my plan now is rather than changing the crypto used, is to convert my small home network to use ECDSA keys over the weekend. Hope things go Ok. Regards, Tony On Wed, 6 Mar 2024 at 17:04, Iosif Fettich wrote: > > Thanks, yes the real problem is with the configuration of sshd on CS-9. > It seems to be slightly different than on CS-8. So I don't have ssh working > on the CS-9 box yet. I get the > > following error when I try to ssh between accounts even on the laptop > box itself. > > > > sshd[2608]: refusing RSA key: Invalid key length [preauth] > > sshd[2608]: Accepted password for root from 192.168.1.8 port 35958 > ssh2 > > > > So I was hoping for the test of BackupPC that running a manual backup > when the ssh login failed that it would fall back and ask for a password. > This is just a test laptop and I > > wanted to make sure all the services I regularly use were working on it > before I upgraded my home network. > > > > So it's back to sorting out sshd. > > Have a look for that on > > > https://serverfault.com/questions/1095898/how-can-i-use-a-legacy-ssh-rsa-key-on-centos-9-stream > > Maybe it helps. > > Iosif Fettich___ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > List:https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki:https://github.com/backuppc/backuppc/wiki > Project: https://backuppc.github.io/backuppc/ > ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/
Re: [BackupPC-users] How to run a manual backup.
Thanks, yes the real problem is with the configuration of sshd on CS-9. It seems to be slightly different than on CS-8. So I don't have ssh working on the CS-9 box yet. I get the following error when I try to ssh between accounts even on the laptop box itself. sshd[2608]: refusing RSA key: Invalid key length [preauth] sshd[2608]: Accepted password for root from 192.168.1.8 port 35958 ssh2 So I was hoping for the test of BackupPC that running a manual backup when the ssh login failed that it would fall back and ask for a password. This is just a test laptop and I wanted to make sure all the services I regularly use were working on it before I upgraded my home network. So it's back to sorting out sshd. Regards, Tony On Mon, 4 Mar 2024 at 17:08, Mike Hughes wrote: > Hi Tony, > > If you're stuck at the ssh part, you won't be successful running a backup > as making the connection is the first step. > What happens when you try to ssh to this client from the backuppc account > on the backup server? Assume you've already tried ssh-copy-id but it's > failing. I'm having trouble imagining what part of an upgrade would have > broken a functional ssh key pairing unless the IP address changed. > > As for a local backup you could use rsync to copy home to another > partition: > > rsync -a dir1/ dir2 > > > https://www.digitalocean.com/community/tutorials/how-to-use-rsync-to-sync-local-and-remote-directories > -- > *From:* Tony Molloy > *Sent:* Sunday, March 3, 2024 9:42 AM > *To:* backuppc-users@lists.sourceforge.net < > backuppc-users@lists.sourceforge.net>; Tony Molloy > > *Subject:* [BackupPC-users] How to run a manual backup. > > Is it possible to run a backup of a share from the command line. I've > checked the manual and can't seem to find it. > > I've several CentOS-Stream-8 boxes backing up without problems. I > upgraded one box to CentOS-Stream-9 and I'm having trouble configuring sshd > to get rsync for backuppc working. I'd just like to do a full backup of the > home directories until I get sshd working. > > Thanks, > Tony. > ___ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > List:https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki:https://github.com/backuppc/backuppc/wiki > Project: https://backuppc.github.io/backuppc/ > ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/
[BackupPC-users] How to run a manual backup.
Is it possible to run a backup of a share from the command line. I've checked the manual and can't seem to find it. I've several CentOS-Stream-8 boxes backing up without problems. I upgraded one box to CentOS-Stream-9 and I'm having trouble configuring sshd to get rsync for backuppc working. I'd just like to do a full backup of the home directories until I get sshd working. Thanks, Tony. ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/
Re: [BackupPC-users] Per host host.pl not found on new CentOS 6.3 install
On Friday 21 September 2012 13:17:26 Daniel J. Doughty wrote: Hi, I've got BackupPC running and backing up linux boxes fine. I'm now trying to back up a Windows 2003 box. I've got the SMB shared out and now want to set the password in backuppc but just want to do it for this host. So I went searching for the CONFDIR/pc/ subdir and couldn't find it. All I can find is my TOPDIR/pc/ subdir. Any idea what I'm missing here? Incredible I am just doing the same thing myself. Installing BackupPC-3.2 on a CentOS-6.3 box replacing 3.1 on an old CentOS-5.8 box and was just about to ask the same question. I'm just running a test now. I created the /etc/BackupPC/pc directory and put a per-host config file there so I'll see if the backup kicks off in a few minutes and let you know. Tony -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ 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] Per host host.pl not found on new CentOS 6.3 install
On Friday 21 September 2012 16:11:26 Tony Molloy wrote: On Friday 21 September 2012 13:17:26 Daniel J. Doughty wrote: Hi, I've got BackupPC running and backing up linux boxes fine. I'm now trying to back up a Windows 2003 box. I've got the SMB shared out and now want to set the password in backuppc but just want to do it for this host. So I went searching for the CONFDIR/pc/ subdir and couldn't find it. All I can find is my TOPDIR/pc/ subdir. Any idea what I'm missing here? Incredible I am just doing the same thing myself. Installing BackupPC-3.2 on a CentOS-6.3 box replacing 3.1 on an old CentOS-5.8 box and was just about to ask the same question. I'm just running a test now. I created the /etc/BackupPC/pc directory and put a per-host config file there so I'll see if the backup kicks off in a few minutes and let you know. Tony Ok BackupPC seemed to find the per-host config file, just didn't do any backup. But that could be another problem ;-( It created the directory /var/lib/BackupPB/pc/host. So I assume that meant it found the config file and attempted a backup which failed. Just an empty LOG file and a LOCK file in the directory. Tony --- --- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ 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/ -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ 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] Per host host.pl not found on new CentOS 6.3 install
On Friday 21 September 2012 16:22:29 Tony Molloy wrote: On Friday 21 September 2012 16:11:26 Tony Molloy wrote: On Friday 21 September 2012 13:17:26 Daniel J. Doughty wrote: Hi, I've got BackupPC running and backing up linux boxes fine. I'm now trying to back up a Windows 2003 box. I've got the SMB shared out and now want to set the password in backuppc but just want to do it for this host. So I went searching for the CONFDIR/pc/ subdir and couldn't find it. All I can find is my TOPDIR/pc/ subdir. Any idea what I'm missing here? Incredible I am just doing the same thing myself. Installing BackupPC-3.2 on a CentOS-6.3 box replacing 3.1 on an old CentOS-5.8 box and was just about to ask the same question. I'm just running a test now. I created the /etc/BackupPC/pc directory and put a per-host config file there so I'll see if the backup kicks off in a few minutes and let you know. Tony That's it. Create the directory /etc/BackupPC/pc. owner backuppc:backuppc. Copy the per-host file into it, owner backuppc:backuppc, and away you go. Or you could go with Les's way and configure the web interface, which you'll probably want to do anyway. Thank's Les ;-) Tony Ok BackupPC seemed to find the per-host config file, just didn't do any backup. But that could be another problem ;-( It created the directory /var/lib/BackupPB/pc/host. So I assume that meant it found the config file and attempted a backup which failed. Just an empty LOG file and a LOCK file in the directory. Tony - -- --- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ 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/ --- --- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ 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/ -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ 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 Fails on Access Denied Warning
On Monday 10 September 2012 20:55:41 Les Mikesell wrote: On Mon, Sep 10, 2012 at 3:41 AM, gshergill backuppc-fo...@backupcentral.com wrote: By the Samba mail list, do you mean on Samba forums? Or does Backup Central have a Samba mail list? Forums, I guess - wherever the samba experts hang out... Mailing list sa...@lists.samba.org Regards Tony How do you set up a user with backup rights? At the moment I am just using the system Administrator (the only accounts on the Windows Server), would that be an issue? It seemed to work well using Administrator on Windows Server 2003. Windows has a backup operators account. I though conceptually that Administrators were allowed to do anything but sometimes have to take ownership of files (which shows in an audit log) before being able to access them, where backup operators are supposed to be able to make backups without changing ownership. Not sure if this means they get read access or if there is some magic about windows backups. There is also some weirdness about logging in with a password vs. using ssh keys, etc. that might be different in 2008. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Error Backing up Servers
On Tuesday 28 August 2012 15:28:43 gshergill wrote: Hi guys, I've added the following now; $Conf{BackupFilesOnly} = { 'C$$' = [ '*/Desktop/*' ] }; and still the same error; NT_STATUS_ACCESS_DENIED listing \Documents and Settings\* This backup will fail because: NT_STATUS_ACCESS_DENIED listing \\* NT_STATUS_ACCESS_DENIED listing \\* First that's a windoze share problem not a backuppc problem. Now I don't know diddly all about windows and I don't want to ;-) Wouldn't have that virus on any machine I'm responsible for. So Second 1. are you sure the folder C$$ and subfolders if necessary are shared properly from windows. 2. are you sure the backuppc UserName used to access the share has permission to access the share 3. are you sure the backuppc SharePasswd is correct. Tony Not even looking for that Hopefully something soon, really need to back up my servers urgently. Thank you. Kind Regards, gshergi -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Error Backing up Servers
On Friday 24 August 2012 13:27:18 gshergill wrote: Hi guys, The following is working; $Conf{BackupFilesExclude} = { 'c$$' = [ '\Boot\*' ] }; But now it fails on Documents and Settings. Adding the line for; $Conf{BackupFilesExclude} = { 'c$$' = [ '\Boot\*' '\Documents and Settings\*' ] }; You need a comma separator between each item $Conf{BackupFilesExclude} = { c$$' = [ '\Boot\*', '\Documents and Settings\*' ] }; Tony Isn't working, with / or \. It comes up with a failure to read the configuration file Any idea why that would cause a config file read error? Thank you. Kind Regards, gshergill +-- |This was sent by gasherg...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- --- --- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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/ -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Full and Incrementals Backup question
On Friday 09 April 2010 08:30:54 Inno wrote: Hello, I need some help about incremental and full backup in BackupPC. Imagine this : Full max : 2 Incremental max : 8 09/04/2010 : Full - weekend - 12/04/2010 : Incremental 13/04/2010 : Incremental 14/04/2010 : Incremental 15/04/2010 : Incremental 16/04/2010 : Full - weekend - 19/04/2010 : Incremental 20/04/2010 : Incremental 21/04/2010 : Incremental 22/04/2010 : Incremental 23/04/2010 : Full - weekend - But if I have 2 Full max, the full on 09/04/2010 is delete and incrementals of 12/04/2010 to 15/04/2010 their unusable ? If the incremental backup of 19/04/2010 have a problem, incrementals of 20/04/2010 to 22/04/2010 their unusable ? Doesn't work like that. A full backup is kept as long as any incremental backup depends on it. This is no matter what you have Full Max set to. So the full of 09/04/2010 would be kept until the incrememtal backup of 16/04/2010 is deleted. Then both the full of 09/04/2010 and the incremental of 16/04/2010 would be deleted together. Tony Thanks for your responses. Innop. Voila People a retrouvé les photos que les stars aimeraient oublier sur http://people.voila.fr/people/mediatheque/dossiers/ces-stars-pour-qui-le-t emps-a-bien-fait-les-choses.html --- --- 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/ -- Chief Technical Officer. Tel: +353 061-202778 Dept. of Comp. Sci. University of Limerick. -- 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] Testing the mail function from BackupPC
On Thursday 28 January 2010 10:18:24 Sorin Srbu wrote: Hi all, I wanted to test the mail function with BackupPC as described on http://webserveraddress/backuppc/html/doc/BackupPC.html#step_8__checking_em ail_delivery, but got the below error message. I installed BackupPC according to the CentOS-BackupPC wiki at http://wiki.centos.org/HowTos/BackupPC. Could anyone offer any insights on this? I though the backuppc-account was a nologin (or some such) account, thus a su isn't possible. r...@mach012 ~/ [0]# su backuppc Try su - backuppc to get backuppc's environment. Tony r...@mach012 ~/ [0]# /usr/bin/BackupPC_sendEmail -u sorin.s...@orgfarm.uu.se /usr/bin/BackupPC_sendEmail: Wrong user: my userid is 0, instead of 150 (backuppc) Please su backuppc first BackupPC::Lib-new failed r...@mach012 ~/ [0]# Thanks for any help or explanations. -- Chief Technical Officer. Tel: +353 061-202778 Dept. of Comp. Sci. University of Limerick. -- 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] Testing the mail function from BackupPC
On Thursday 28 January 2010 11:20:05 Sorin Srbu wrote: -Original Message- From: Pascal Bourdais [mailto:pbourd...@infagri.fr] Sent: Thursday, January 28, 2010 12:04 PM To: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] Testing the mail function from BackupPC su - backuppc Already tried that, same thing happens: r...@mach012 ~/ [0]# su - backuppc r...@mach012 ~/ [0]# /usr/bin/BackupPC_sendEmail -u You're still root!! sorin.s...@orgfarm.uu.se /usr/bin/BackupPC_sendEmail: Wrong user: my userid is 0, instead of 150 (backuppc) ^^ definately still root Please su backuppc first BackupPC::Lib-new failed r...@mach012 ~/ [0]# On my machine [r...@shannon ~]# [r...@shannon ~]# su - backuppc [backu...@shannon ~]$ see changed user to backuppc [backu...@shannon ~]$ /usr/local/BackupPC/bin/BackupPC_sendEmail -u moll...@mail.x.y.z Sending test email using /usr/sbin/sendmail -t -f backuppc [backu...@shannon ~]$ grep root /etc/passwd root:x:0:0:root:/root:/bin/bash [backu...@shannon ~]$ grep backuppc /etc/passwd backuppc:x:490:490: BackupPC User :/home/backuppc:/bin/bash I suspect your backuppc user is not set up correctly. In my case it's got a uid of 490 and is a login account Tony -- Chief Technical Officer. Tel: +353 061-202778 Dept. of Comp. Sci. University of Limerick. -- 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] Testing the mail function from BackupPC
On Thursday 28 January 2010 13:16:41 Sorin Srbu wrote: -Original Message- From: Tony Molloy [mailto:tony.mol...@ul.ie] Sent: Thursday, January 28, 2010 1:56 PM To: sorin.s...@orgfarm.uu.se; General list for user discussion, questions and support Subject: Re: [BackupPC-users] Testing the mail function from BackupPC On Thursday 28 January 2010 11:20:05 Sorin Srbu wrote: -Original Message- From: Pascal Bourdais [mailto:pbourd...@infagri.fr] Sent: Thursday, January 28, 2010 12:04 PM To: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] Testing the mail function from BackupPC su - backuppc Already tried that, same thing happens: r...@mach012 ~/ [0]# su - backuppc r...@mach012 ~/ [0]# /usr/bin/BackupPC_sendEmail -u You're still root!! sorin.s...@orgfarm.uu.se /usr/bin/BackupPC_sendEmail: Wrong user: my userid is 0, instead of 150 (backuppc) ^^ definately still root Please su backuppc first BackupPC::Lib-new failed r...@mach012 ~/ [0]# On my machine [r...@shannon ~]# [r...@shannon ~]# su - backuppc [backu...@shannon ~]$ see changed user to backuppc [backu...@shannon ~]$ /usr/local/BackupPC/bin/BackupPC_sendEmail -u moll...@mail.x.y.z Sending test email using /usr/sbin/sendmail -t -f backuppc [backu...@shannon ~]$ grep root /etc/passwd root:x:0:0:root:/root:/bin/bash [backu...@shannon ~]$ grep backuppc /etc/passwd backuppc:x:490:490: BackupPC User :/home/backuppc:/bin/bash I suspect your backuppc user is not set up correctly. In my case it's got a uid of 490 and is a login account The BackupPC installer sets the backuppc account up with nologin (no GUI login). In /etc/passwd the shell is /bin/false, so no GUI login allowed, but it should allow one to su in as backuppc. I solved that by adding the -s /bin/bash, as per the previous post. Now I can su properly to backuppc. The problem *now* is that /bin/mail doesn't understand the -t switch. As I mentioned, I can't find anything about this t parameter in man mail, but in the /usr/bin/BackupPC_SendEmail script the t parameter is mentioned as something that -t display the emails that would be sent, without sending them. To me this is rather cryptic, and I don't quite understand the why's, what's and where's of this alluring -t and how I fix this. Grateful for any help! Thanks. Ok I run backuppc on CentOS and man mail says ~tname ... Add the given names to the direct recipient list. So I'd just remove the -t and see what happens. Hope this helps, Tony -- Chief Technical Officer. Tel: +353 061-202778 Dept. of Comp. Sci. University of Limerick. -- 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] Testing the mail function from BackupPC
On Thursday 28 January 2010 13:31:28 Pascal Bourdais wrote: Le Thu, 28 Jan 2010 13:37:27 +0100, Sorin Srbu sorin.s...@orgfarm.uu.se a écrit : -Original Message- From: Sorin Srbu [mailto:sorin.s...@orgfarm.uu.se] Sent: Thursday, January 28, 2010 12:20 PM To: 'General list for user discussion, questions and support' Subject: Re: [BackupPC-users] Testing the mail function from BackupPC -Original Message- From: Pascal Bourdais [mailto:pbourd...@infagri.fr] Sent: Thursday, January 28, 2010 12:04 PM To: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] Testing the mail function from BackupPC su - backuppc Already tried that, same thing happens: r...@mach012 ~/ [0]# su - backuppc r...@mach012 ~/ [0]# /usr/bin/BackupPC_sendEmail -u sorin.s...@orgfarm.uu.se /usr/bin/BackupPC_sendEmail: Wrong user: my userid is 0, instead of 150 (backuppc) Please su backuppc first BackupPC::Lib-new failed r...@mach012 ~/ [0]# Did some thinking and got it working, sort of... r...@mach012 ~/ [0]# su -s /bin/bash - backuppc backu...@mach012 ~/ [0]$ whoami backuppc backu...@mach012 ~/ [0]$ /usr/bin/BackupPC_sendEmail -u sorin.s...@orgfarm.uu.se Sending test email using /bin/mail -t -f sorin.s...@orgfarm.uu.se You have to use sendmail, and not mail. In my config : $Conf{SendmailPath} = '/usr/sbin/sendmail' And sendmail : /usr/sbin/sendmail - /usr/local/exim/bin/exim In my config file it's also sendmail. I wonder what distro the OP uses Tony /bin/mail: invalid option -- t Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ... [-- sendmail-options ...] mail [-iInNv] -f [name] mail [-iInNv] [-u user] backu...@mach012 ~/ [0]$ Now what? I don't see any t mentioned in man mail... Or am I getting slightly blind here? 8-S -- Chief Technical Officer. Tel: +353 061-202778 Dept. of Comp. Sci. University of Limerick. -- 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] Exclude a directory.
On Thursday 26 November 2009 12:21:49 boulate wrote: Hi all ! First, please excuse me for my bad English, i'll try to do my best. I just have a problem with backuppc. I have to backup a server using SMB protocol, and everything work well. The problem is that I have to exclude a directory of the backup. I read the documentation and try to configure le folder to exclude from the web interface, but it doesn't work. So i tried to edit the /etc/backuppc/myhost.pl, and now it look like that : $Conf#123;SmbShareName#125; = #91; nbsp; 'commun' #93;; $Conf#123;SmbSharePasswd#125; = 'password'; $Conf#123;SmbShareUserName#125; = 'administrator'; $Conf#123;BackupFilesExclude#125; = #123; nbsp; 'commun' = #91;'/Commun/Informatique/Folder_to_exclude/', '/Commun/Informatique/Second_folder_to_exclude/'#93;, #125;; I tried with a * after the Folder_to_exclude/ and I still have the same problem. What did I'm doing wrong ? I looked at the documentation, and search on internet, and I still can't solve this problem ... help ! Here is an example of excluding a Windows directory from a backup. #$Conf{SmbShareName} = 'C$'; $Conf{SmbShareName} = 'D$'; $Conf{SmbShareUserName} = 'LRC-FILESRV\admin'; $Conf{SmbSharePasswd} = '**'; $Conf{BackupFilesExclude} = { 'D$' = ['\.metadata','\System Volume Information', '\RECYCLER'] }; You have to use back rather than forward slashes!! Hope this helps Tony -- Dept. of Comp. Sci. University of Limerick. -- 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] Multi Profiles
On Wednesday 18 November 2009 17:50:40 Steven J. Reilly wrote: Hi, Just started using backuppc and it is a great tool. I was wondering if it is possible to have multiple profiles for the one host. No problem. I have 10's of profiles for a particular file server. One for each user. So that I can allow individual users do their own restores. For example if you want to backup /home daily but only backup the system files (/etc, /boot etc.) on a weekly basis. This sounds like I would need two hostname.pl files but how would that be handled. Yep, two different hostname.pl files using the same $Con{ClientNameAlias} setting in each pointing to the actual hostname. Regards, Tony Regards, Steve -- Dept. of Comp. Sci. University of Limerick. -- 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] how to have 1 full backup + inc rementals forever?
On Tuesday 20 October 2009 17:10:51 Adam Williams wrote: I'm confused on what my configuration parameters should be then, to keep a full every other week, plus incrementals for that two week period, but retain forever. does this look correct? $Conf{FullKeepCnt} = ['0', '2']; $Conf{FullKeepCntMin} = '1'; $Conf{FullAgeMax} = '9'; $Conf{IncrKeepCnt} = '13'; $Conf{IncrKeepCntMin} = '1'; $Conf{IncrAgeMax} = '13'; $Conf{FullPeriod} = '13.97'; $Conf{IncrPeriod} = 1; $Conf{IncrLevels} = ['1','2','3','4','5','6','7','8','9','10','11','12','13']; Try something like the following #Full backup every 2 weeks $Conf{FullPeriod} = 13.67; #Keep 4 backups @ 2 weeks # 4 @ 4 weeks # 4 @ 8 weeks # 4 @ 16 weeks # 2 @ 32 weeks # 1 @ 64 weeks #Over 4 years backups ( 248 weeks ) $Conf{FullKeepCnt} = [4, 4, 4, 4, 2, 1]; #Incremental backup daily and keep 13 $Conf{IncrPeriod} = 0.67; $Conf{IncrKeepCnt} = 13; $Conf{IncrLevels} = [1, 3, 5]; Regards, Tony Michael Stowe wrote: Since files are pooled, there's really no downside to you doing full backups every 7 days and incrementals every night, and just increasing your retention periods to something you can live with. If you're going to keep all those incrementals, I wouldn't recommend doing full backups any less frequently than every two weeks or so, which is often the point at which they become as slow or slower than full backups. --- --- 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/ -- Dept. of Comp. Sci. University of Limerick. -- 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] Having Several Issues
On Friday 26 June 2009 01:04:50 Admiral Beotch wrote: I haven't finished reading the selinux/apache document, but while testing out the restore process with my previous chcon statement, I realized backuppc was unable to write some restore files to the TOPDIR filesystem so I changed the context again to: chcon -R -t httpd_sys_script_rw_t /BackupData and it can now prefectly restore files as expected. I love this software! I'll post an update later after I've had a chance to fully dig into the selinux/apache document. Just a thought going through my head... Since httpd is running as backuppc and this is a dedicated backup server, I think I'm gonna be ok with this r/w context on this mounted file system... Previously I've installed BackupPC from source and sorted out the SELinux problems by hand. Now I'm about to install an backup BackupPC server and want to use the EPEL rpm if possible on Centos-5.3. It would be really helpful if you could summarise the SELinux changes you made to get it working. Tony -- Dept. of Comp. Sci. University of Limerick. -- ___ 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] Having Several Issues
On Friday 26 June 2009 13:28:56 Les Mikesell wrote: Tony Molloy wrote: On Friday 26 June 2009 01:04:50 Admiral Beotch wrote: I haven't finished reading the selinux/apache document, but while testing out the restore process with my previous chcon statement, I realized backuppc was unable to write some restore files to the TOPDIR filesystem so I changed the context again to: chcon -R -t httpd_sys_script_rw_t /BackupData and it can now prefectly restore files as expected. I love this software! I'll post an update later after I've had a chance to fully dig into the selinux/apache document. Just a thought going through my head... Since httpd is running as backuppc and this is a dedicated backup server, I think I'm gonna be ok with this r/w context on this mounted file system... Previously I've installed BackupPC from source and sorted out the SELinux problems by hand. Now I'm about to install an backup BackupPC server and want to use the EPEL rpm if possible on Centos-5.3. It would be really helpful if you could summarise the SELinux changes you made to get it working. Also, did you have the mounted drive in place when the RPM was installed? If not, the RPM might have configured things by itself. No, it doesn't. I did a test install of the rpm a few days ago and got a lot of SELinux problems. Tony -- Dept. of Comp. Sci. University of Limerick. -- ___ 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] SELinux issue with BackupPC 3.1.0 on Fedora 6
On Tuesday 05 August 2008 23:36:02 you wrote: On 7/31/08, Tony Molloy [EMAIL PROTECTED] wrote: Make sure you have system-config-selinux installed. I think it's in the policycoreutils-gui rpm. Run system-config-selinux system-config-linux == Boolean == HTTPD Service Set the following option Disable selinux protection for HTTPD daemon This will just disable SELinux for httpd and leave it enabled for everything else. A similar process will work for the other daemons. Hope this helps Tony Hey, Tony, You are awesome. Thanks a lot for the help! Any time. I was able to follow that and I now have BackupPC running on CentOS with the policy from audit2allow. Small question, if you'd be so kind, I noticed the policy allows httpd to connect to unix streams and to unix socket files. Do you know how I can tighten that policy to only allow connection to the /var/log/BackupPC/BackupPC.sock socket/file? (Or what would be a good RTFM for that question?) Just edit the local.te file you generated and remove the following lines class unix_stream_socket connectto; allow httpd_t initrc_t:unix_stream_socket connectto; Then regenerate the policy module again. Not sure if that will work though, I haven't actually tried it. I did install the rpm from the testing repo on a test machine over the weekend and I got it working. How do we go about getting it into CentOS extras. Regards, Tony thanks again, Aleksey --- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] Backupstrategy for 1x Host with 2x Shares and different Backupperiods
On Friday 11 April 2008 09:24:58 Stefan Mosleitner wrote: Hi! If got the following situation: 1x Host to backup. 2x Different shares at this host. - Each of this shares should be backuped in different backupperiods (and after that probably archieved in different times...) If I am using per host configuration, I can only create one host only one time in the hostfile (/etc/backuppc/hosts) and if I create the hostfile (host.pl), its possible to list more than one shares but not different backupperiods? Are there any possibilites to create different backupperiods in the host.pl for each particular share or are there any workaround with different hostnames? You can use the ClientNameAlias feature to have 2 different config files for the same host. Then specify different BlackoutPeriods for each. Tony ___ Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=00 - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/java one ___ 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/ - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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] trying to understand Conf{FullKeepCnt}
On Wednesday 23 January 2008 12:47:36 Koen Linders wrote: There is a bit more info here: http://backuppc.wiki.sourceforge.net/keep_yearly_backups The documentation also explains another bit. Koen Linders -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens B. Cook Verzonden: woensdag 23 januari 2008 13:38 Aan: backuppc-users@lists.sourceforge.net Onderwerp: [BackupPC-users] trying to understand Conf{FullKeepCnt} Last night backuppc was a hero. We had a dell sata raid card drop an array, just 'cause :P anyway it was 11pm night last night restoring from backuppc (which went very nicely) after ssh keys were restored and such ;) anyway.. I noticed that the backups were only two weeks, and in reading in the manual how to increase the retention time.. I quickly became confused.. $Conf{FullKeepCnt} = [4, 2, 3]; this looks like (by the explanation) that this would be 16 weeks of backups, or 4 months.. would doubling that give it 8 months? and tripling it be a year? I am assuming it will still do nightly incrementals? I am not sure if it is confusing or I am tired.. but either way I would like to get an answer ;) Thanks in advance, From my own systems. #Full backup every week $Conf{FullPeriod} = 6.67; #Keep 4 backups @ 1 week # 4 @ 2 week # 3 @ 4 week # 1 @ 8 week # 2 @ 16 week #Over 1 years backups $Conf{FullKeepCnt} = [4, 4, 3, 1, 2]; Full backup every week. Keep the last 4 weekly backups. Keep another 4 backups before this at 2 weekly intervals. Keep another 3 backups before that again at 4 weekly intervals and so on. The period between the retained backups doubles each time. Hope this explains things, Tony - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] trashClean : Can't read /var/lib/backuppc/trash/.../fbackup: Permission denied
On Tuesday 29 January 2008 11:53:41 Alexander Lenz wrote: Dear Users of BackupPC, I asked about this before, but nobody had an idea how to stop it, so please allow me to explain this again : Backuppc has a trash directory with some 20 - 30 sub-dirs that go like 1199747634_27557_0, each of those containing fbackup as next-level lower dir, and from hence on, this directory fbackup and all its sub-directories are owned by 138:136. Trash directory should really be empty most of the time. Did you install backuppc as user 138:136 and forget about it, because on my server all backuppc files are owned by the user backuppc:backuppc Check the config file for $Conf{BackupPCUser} = 'backuppc'; Checking /etc/passwd, I didn't find any matching entry, the user backuppc has uid:gid 110:111 - therefore, the above error Permission Denied - this annoying message (see subject) pollutes my daily log at high frequency. Now the real problem is that the whole /pc hierarchy is affected too, every /pc/pcname/fbackup directory and all ist sub-contents are 138:136, which makes the restore mechanism fail ! Why on earth does backuppc create dirs/files with unknown arbitrary user id, so it cannot access or delete them later ? What might be wrong in the config and has to be changed ? It doesn't there is some config error. Btw, manually chown'ing the whole directory structure has proved useless, all new files are again created for 138:136. If that's happening then backuppc must be installed as that user. Still hoping somebody's got a clue... ? Tony Best Regards, Alexander Lenz (Newton) Metaversum GmbH Rungestr. 20 - 10179 Berlin - Germany Geschaeftsfuehrer: Jochen Hummel, Dr. Mirko Caspar, Dietrich Charisius Amtsgericht Berlin Charlottenburg HRB 99412 B CONFIDENTIALITY NOTICE: The information contained in this communication is confidential to the sender, and is intended only for the use of the addressee. Unauthorized use, disclosure or copying is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately at the contact numbers or addresses noted herein. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] trying to understand Conf{FullKeepCnt}
On Wednesday 23 January 2008 12:38:09 B. Cook wrote: Last night backuppc was a hero. We had a dell sata raid card drop an array, just 'cause :P anyway it was 11pm night last night restoring from backuppc (which went very nicely) after ssh keys were restored and such ;) anyway.. I noticed that the backups were only two weeks, and in reading in the manual how to increase the retention time.. I quickly became confused.. $Conf{FullKeepCnt} = [4, 2, 3]; this looks like (by the explanation) that this would be 16 weeks of backups, or 4 months.. would doubling that give it 8 months? and tripling it be a year? I am assuming it will still do nightly incrementals? I am not sure if it is confusing or I am tired.. but either way I would like to get an answer ;) Thanks in advance, This is my understanding of it. #Full backup every week $Conf{FullPeriod} = 6.67; #Keep 4 backups @ 1 week intervals from $Conf{FullPeriod} above # 4 @ 2 week # 3 @ 4 week # 1 @ 8 week # 2 @ 16 week #Over 1 years backups $Conf{FullKeepCnt} = [4, 4, 3, 1, 2]; So that should keep the following. week 1 week 2 week 3 week 4 week 6 week 8 week 10 week 12 week 16 week 20 week 24 week 32 week 48 week 64 Regards, Tony - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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 schedule
On Friday 11 January 2008 09:42:43 Jockes wrote: Hello, I want to have different wakeups för different backups and wonder how I can handle this. E.g. - The server (always up), want nightly backups at 02.00 AM - Clients (not always up), want wakeups every hour to fullfil the backup It seems that WakeupSchedule is only on global level but is there any other way of doing it (I am sure it is :) ) BR / Jocke What exactly do you want to achieve. If you set the WakeupSchedule in the config file to every hour then BackupPC will wake up each hour and backup any clients that are available Tony - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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 schedule
On Friday 11 January 2008 12:20:56 Jockes wrote: Tony Molloy wrote: On Friday 11 January 2008 09:42:43 Jockes wrote: Hello, I want to have different wakeups för different backups and wonder how I can handle this. E.g. - The server (always up), want nightly backups at 02.00 AM - Clients (not always up), want wakeups every hour to fullfil the backup It seems that WakeupSchedule is only on global level but is there any other way of doing it (I am sure it is :) ) BR / Jocke What exactly do you want to achieve. If you set the WakeupSchedule in the config file to every hour then BackupPC will wake up each hour and backup any clients that are available Tony Yes, but also the server. I want to force that to happen at 02.00 AM, not at any other time. BR / Jocke OK, this is from my own setup. Basically I run BackupPC_nightly at 0.30am. I just want to run BackuppC_nightly at this time no actual backups. Then I backup my servers at 3.30 and 6.30am and backup my clients at 11am 2pm 6pm and 9pm. In the global config file set the wakeup schedule $Conf{WakeupSchedule} = [ 0.5, 3.50, 6.50, 11, 14, 18, 21 ]; For the servers. In the per-server config file. # Don't do backups between 7am and 2am # Servers should be backed up overnight # Backed up at first wakeup after 2am $Conf{BlackoutGoodCnt} = 0; $Conf{BlackoutBadPingLimit} = 3; $Conf{BlackoutPeriods} = [ { hourBegin = 7.0, hourEnd = 2.0, weekDays = [0, 1, 2, 3, 4, 5, 6], }, ]; So servers are backed up at the first wakeup after 2am For the clients. In the per-client config file # Don't do backups between Midnight and 9am # PC'c should be backed up during the day # Backed up at first wakeup after 9am $Conf{BlackoutGoodCnt} = 0; $Conf{BlackoutBadPingLimit} = 3; $Conf{BlackoutPeriods} = [ { hourBegin = 0.0, hourEnd = 9.0, weekDays = [0, 1, 2, 3, 4, 5, 6], }, ]; So clients are backed up at the first wakeup after 9am if they are online. Otherwise they are checked at each wakeup till midnight. Hope this helps, Tony - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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 3.1.0beta1
On Tuesday 23 October 2007 11:56, Tony Molloy wrote: Hi, I've just upgraded to BackupPC-3.1.0beta1 this morning and a few scheduled incremental backups have run OK. Everything seems to be OK except for one problem. The Host Summary page is blank. Regards, Tony OK replying to my own e-mail. I downgraded BackuppC to 3.0.0 and everything worked again. I then upgraded to 3.1.0beta1 and now everything including the Host Summary works. So I don't know what happened the first time. Maybe I forgot to restart httpd ;-( Tony - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.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/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.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] NT_STATUS_LOGON_FAILURE
On Friday 28 September 2007 14:16, Regis Gras wrote: Craig Barratt wrote: Regis writes: I'am using BackupPC-2.1.0 With the same config.pl, Start Full Backup works fine Start Inc Backup fails every time with the message NT_STATUS_LOGON_FAILURE I believe there was a version (or set of samba versions) that had this bug. I think it was 3.0.23 or so. There was a discussion of this around bug a year ago on the mail list. Google backuppc incremental NT_STATUS_LOGON_FAILURE. Try an older or newer version fo samba. Craig I compiled samba-3.0.26, and now, backuppc incremental works fine. Thank you for your help What I did was install samba-3.0.24 from fedora Core 6 and now things seem to work also. Again thanks for the pointer Craig. Tony - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] NT_STATUS_LOGON_FAILURE
On Friday 28 September 2007 12:23, Regis Gras wrote: Craig Barratt wrote: Regis writes: I'am using BackupPC-2.1.0 With the same config.pl, Start Full Backup works fine Start Inc Backup fails every time with the message NT_STATUS_LOGON_FAILURE I believe there was a version (or set of samba versions) that had this bug. I think it was 3.0.23 or so. There was a discussion of this around bug a year ago on the mail list. Google backuppc incremental NT_STATUS_LOGON_FAILURE. Try an older or newer version fo samba. Craig Thank you for your help. Indeed, I am using samba-client-3.0.23c-2.el5.2.0.2 samba-3.0.23c-2.el5.2.0.2 samba-common-3.0.23c-2.el5.2.0.2 I can confirm this. Ever since upgrading to Centos-5 from Centos-4.5 I've been experiencing the same problem. Full backups appear to work to the C$ share. But incremental backups or backups of other shares don't appear to work. At the moment for testing, I've got scheduled backups tomorrow morning of C$ share from one machine and D$ from another. I'll let you know what happens. Tony - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] GUI error after upgrade
On Wednesday 14 February 2007, Jim McNamara wrote: snip If any additional info or configs would make this easier to diagnose, please let me know. Thanks, Jim Did you restart both backuppc and httpd after the upgrade. Not restarting http will cause problems with the cgi-scripts. Tony --- -- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVD EV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ -- Tony Molloy. System Manager. Dept. of Comp. Sci. University of Limerick - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backuppc V3.0.0
On Tuesday 30 January 2007 16:00, Peter Bloomfield wrote: Dear All, I upgraded Backuppc to version 3.0.0 from 2.1.3 yesterday, and since the update I am getting a number of errors when trying to view some of the pages. These are the errors I am seeing Select current log files Undefined subroutine BackupPC::CGI::View::action called at /var/www/cgi-bin/BackupPC/BackupPC_Admin line 109. Select old log files Can't locate object method sortedPCLogFiles via package BackupPC::Lib at /usr/local/BackupPC/lib/BackupPC/CGI/LOGlist.pm line 59. Select Host Configuration Global symbol $LogDir requires explicit package name at /usr/local/BackupPC/lib/BackupPC/CGI/View.pm line 100. Compilation failed in require at /var/www/cgi-bin/BackupPC/BackupPC_Admin line 107. Select Hosts File Undefined subroutine BackupPC::CGI::View::action called at /var/www/cgi-bin/BackupPC/BackupPC_Admin line 109. Select Documentation Undefined subroutine BackupPC::CGI::View::action called at /var/www/cgi-bin/BackupPC/BackupPC_Admin line 109. I can back up machines, and the browse backups, but it is the above I have messed up. Can anyone point me in the direction to correct this, Many thanks in advance Peter I did the upgrade from a beta version yesterday and everything worked fine last night. Check that you restarted the backuppc daemon after the backup and that you afterwards restarted httpd. Tony --- -- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVD EV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ -- Tony Molloy. System Manager. Dept. of Comp. Sci. University of Limerick - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC 3.0.0beta2 released
On Tuesday 21 November 2006 07:41, Craig Barratt wrote: I have released BackupPC 3.0.0beta2 on SF at: http://backuppc.sourceforge.net/ A new version 0.68 of File::RsyncP that is needed for rsync hardlink support has also been released on SF and CPAN. Just to say I upgraded to the latest beta yesterday an all the backups went fine last night. I did get lots of the digest warnings from File::RsyncP but only for some of the backups not others. Regards, Tony -- Tony Molloy. System Manager. Dept. of Comp. Sci. University of Limerick - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC 3.0.0beta2 released
Tony Molloy wrote: On Tuesday 21 November 2006 07:41, Craig Barratt wrote: I have released BackupPC 3.0.0beta2 on SF at: http://backuppc.sourceforge.net/ A new version 0.68 of File::RsyncP that is needed for rsync hardlink support has also been released on SF and CPAN. Just to say I upgraded to the latest beta yesterday an all the backups went fine last night. I did get lots of the digest warnings from File::RsyncP but only for some of the backups not others. What is the recommended way to upgrade from 3.0.0beta1 to 3.0.0beta2 (and eventually, to 3.0.0-stable)? Is overwriting backuppc/bin/BackupPC* and backuppc/lib/* and files enough (and probably, fetching a new File::RsyncP)? Or should I upgrade by starting perl configure.pl? I don't know of the recommended way, but in my case what I did was. I installed the new File::RsyncP. I was already runing 3.0.0beta1. So I just downloaded an untarred the distribution file and then ran perl configure.pl I was able to select all the defaults as they had been set up during the install of beta1. When I upgraded from 2.1 to 3.0 I moved my old config files to the new FHS locations. regards, Tony -- Tony Molloy. System Manager. Dept. of Comp. Sci. University of Limerick --- -- Tony Molloy. System Manager. Dept. of Comp. Sci. University of Limerick - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] SMB backup failing
On Tuesday 07 November 2006 19:33, Jason Hughes wrote: Hi all. Nobody has responded to my other messages requesting help, so I'm trying again. I'm using the 2.1.2 version. I have one Windows machine that is backing up flawlessly (other than NT_SHARING_VIOLATIONs that are unavoidable). I have another that is failing when it gets to a very large file. Because it failed before, I increased the ClientTimeout to 72 (10x higher than default). I deleted everything about the host that was failing and started again. Contents of file /var/backuproot/pc/mothership/LOG, modified 2006-11-06 18:52:34 2006-11-05 02:46:59 full backup started for share CDrive 2006-11-06 18:52:28 Got fatal error during xfer (Unexpected end of tar archive) 2006-11-06 18:52:33 Backup aborted (Unexpected end of tar archive) 2006-11-06 18:52:34 Saved partial dump 0 This took 40 hours to run, and backed up a lot, but when it got to a 12gb file, it choked. Here's the XferLog Errors: Error reading file \video\2005\video2005raw.avi : Call timed out: server did not respond after 2 milliseconds Didn't get entire file. size=12776697964, nread=-1340081072 This backup will fail because: Call timed out: server did not respond after 2 milliseconds opening remote file \video\2005\v (\video\2005\) Call timed out: server did not respond after 2 milliseconds opening remote file \video\2005\v (\video\2005\) Call timed out: server did not respond after 2 milliseconds listing \video\2\* Call timed out: server did not respond after 2 milliseconds opening remote file \video\h (\video\) Call timed out: server did not respond after 2 milliseconds opening remote file \video\h (\video\) Call timed out: server did not respond after 2 milliseconds opening remote file \video\h (\video\) Call timed out: server did not respond after 2 milliseconds opening remote file \video\p (\video\) Call timed out: server did not respond after 2 milliseconds opening remote file \video\p (\video\) Call timed out: server did not respond after 2 milliseconds listing \video\v\* Call timed out: server did not respond after 2 milliseconds listing \video\w\* Call timed out: server did not respond after 2 milliseconds opening remote file \video\w (\video\) Call timed out: server did not respond after 2 milliseconds listing \video\w\* Call timed out: server did not respond after 2 milliseconds listing \W\* Call timed out: server did not respond after 2 milliseconds listing \w\* [ skipped 9 lines ] tarExtract: Unexpected end of tar archive (tot = 1048576, num = 859648, posn = ) tarExtract: Removing partial file video/2005/video2005raw.avi tarExtract: BackupPC_tarExtact aborting (Unexpected end of tar archive) tarExtract: Done: 1 errors, 17145 filesExist, 31438592171 sizeExist, 30715709004 sizeExistComp, 86172 filesTotal, 51652355017 sizeTotal Got fatal error during xfer (Unexpected end of tar archive) Backup aborted (Unexpected end of tar archive) This looks like there's a 32 bit quantity that is rolling over and crashing the BackupPC server process. I thought maybe excluding that particular file would help, but exclusions aren't working well for me. I tried to exclude like this: $Conf{BackupFilesExclude} http://backup.flaredev.com/cgi-bin/BackupPC_Admin?action=viewtype=doc s#item_%24conf%7bbackupfilesexclude%7d = ['Documents and Settings/Administrator/Local Settings/Temporary Internet Files/*']; And it backed up all 20,000 files in that directory anyway. Any help would be appreciated. Thanks, JH Can;t help with you file size problem but for BackupFilesExclude try something like this. #This seems to exclude correctly #guide and LICENSE are excluded and the contents of relnotes are but #not the directory itself $Conf{BackupFilesExclude} = { 'java' = ['\docs\relnotes\*', '\docs\guide', '\jdk1.5.0_04\LICENSE.rtf'] }; Where java is the share name and Tony -- Tony Molloy. System Manager. Dept. of Comp. Sci. University of Limerick - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] Errors with 3.0beta1
Hi, I've just upgraded backuppc to 3.0beta1. The upgrade went OK and I did a small test backup which went OK. I'm having several problems with the Cgi interface though. When I look at the Log File I sometimes get the following: Software error: Undefined subroutine BackupPC::CGI::View::action called \ at /var/www/cgi-bin/BackupPC_Admin line 109. and sometimes it works!! When I look at the Old Log Files I get Software error: Can't locate object method sortedPCLogFiles via package BackupPC::Lib at /opt/backuppc/lib/BackupPC/CGI/LOGlist.pm line 59. When I select a host to view and again look at he log file I get the same error. Software error: Undefined subroutine BackupPC::CGI::View::action called at /var/www/cgi-bin/BackupPC_Admin line 109. Has something changed with the log format. Thanks, Tony -- Tony Molloy. Dept. of Comp. Sci. University of Limerick - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] Problem with BackupFilesExclude
Hi, I'm backing up a file share from a Windows box using the smb transfer method. The problem is this share contains several very large log files which the administrator of the windows box doesn't rotate or truncate. So they are backed even when I do the nightly incremental backups. I've tried to use BackupFilesExclude to exclude the files but I can't seem to get the syntax right or it's not working My per host config file is: $Conf{XferMethod} = 'smb'; $Conf{SmbShareName} = 'Plone 2'; $Conf{SmbShareUserName} = 'WWW1\admin'; $Conf{SmbSharePasswd} = ''; $Conf{BackupFilesExclude} = { 'Plone 2' = ['/Data/log/*', '/Data/var/*'] }; So what I'm trying to do is backup the folder Plone 2 but exclude the Data/log and Data/var subfolders. Thanks in advance. Tony -- Tony Molloy. Dept. of Comp. Sci. University of Limerick --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] aborted by signal=PIPE error
Well BackupPC ran last night on the problem machine without any problems. It did an incremental backup of the 2 40+Gb partitions including the large 4.8Gb file. So I'll just monitor it for a while now and see what happens. Gets stranger and stranger Tony -- Tony Molloy. Dept. of Comp. Sci. University of Limerick --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Re: Multiple host/directory configuration question
On Thursday 20 April 2006 03:59, jamsda wrote: Ok, my config.pl/hosts (after install) were placed in the conf/ dir. The pc/target_host-x/ directories have all the data I backed up in it. I didn't realize I could copy the config.pl from the conf/ dir to each pc/target_hostx/ directories and specify the options for each host. Thanks, I'll try that. Jim No, No! Leave the config.pl file in conf where it is. This specifies the defaults for the various parameters. In the pc/hostname directories put config.pl files with contents which override the defaults in the main config.pl files in conf. Here is an example of a pc/config.pl file #Full backup every week $Conf{FullPeriod} = 6.97; #Keep 4 backups @ 1 week, Weeks: 0 1 2 3 $Conf{FullKeepCnt} = [4]; #Incremental backup daily and keep 6 $Conf{IncrPeriod} = 0.97; $Conf{IncrKeepCnt} = 6; #Don't use partial backups $Conf{PartialAgeMax} = -1; # Don't do backups between 3am and Midnight # Servers should be backed up overnight $Conf{BlackoutGoodCnt} = 0; $Conf{BlackoutBadPingLimit} = 3; $Conf{BlackoutPeriods} = [ { hourBegin = 3.0, hourEnd = 24.0, weekDays = [0, 1, 2, 3, 4, 5, 6], }, ]; $Conf{XferMethod} = 'rsync'; $Conf{RsyncShareName} = ['/etc', '/home', '/root', '/usr/local']; $Conf{CompressLevel} = 0; Hope this helps, Tony --- jamsda [EMAIL PROTECTED] wrote: Hello, I've got backuppc running successfully tunnelling ssh with rsync; seem's to be an awsome application. My question is if I have multiple hosts with various different mount points, how do I specify them in config.pl and hosts file? For example, target_host1 gets [/data, /home, /etc] backed up, and target_host2 gets [/usr/local, /opt] backed up. How do you specify this when there's only one instance of $Conf{RsyncShareName} = [/data, /home, /etc];? How would I do ie: $Conf{RsyncShareName} = [/data, /home, /etc]; (target_host1) and: $Conf{RsyncShareName} = [/usr/local /opt]; (target_host2) Is this possible? Thanks, Jim __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=12164 2 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ -- Tony Molloy. Dept. of Comp. Sci. University of Limerick --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Single Host Blackout/Wake Up
On Wednesday 12 April 2006 15:19, Les Stott wrote: Hi, I have a client with 50 or so pcs, all doing rsync backups throughout the day to a backuppc server. Works Great. We also have a linux box running a Cyrus Imap Store and we were running rsync backups too, just getting the cyrus directories. This was working great until a month or so ago when the rsync's started failed with Child Exited Prematurely. My guess was that because the mail store had grown over time to 16gb, which would have comprised many thousands of files, that the list of files were too big and timing out. I know i could make multiple rsync shares and have the number of files per rsync reduced, but because its cyrus imap its difficult to split the store up, unless you do it for every user directory (a-z). I am going to change strategy and backup the imap store locally to tar and then use backuppc to sync the tar files. Each of the compressed tar's is about 10gb. So each day at least 10gb will be pumped across the network which will be gigabit. However i want to ensure that this only happens at night and doesn't interfere with the day to day operations. So whats the best way to ensure this happens? I guess i cant set a per host wake up schedule because thats global right? I still want to have all pc's backup during the day normally. 1. Blackout Periods? Lets say I only want to backup between 1am and 6am. I can set a blackout period fine, but how do i manage... $Conf{BlackoutBadPingLimit} $Conf{BlackoutGoodCnt} ...on a single host basis? Do i just set $Conf{BlackoutGoodCnt} = 0; in the per pc config file? 2. Alternatively is there a way to schedule a backup of this host via cron? and just disable regular backups? TIA, Regards, Les Les, This will only allow backups for a particular Server take place between Midnight and 8am. It goes in the pc/servername directory. # Don't do backups between 8am and Midnight # Servers should be backed up overnight $Conf{BlackoutGoodCnt} = 0; $Conf{BlackoutBadPingLimit} = 3; $Conf{BlackoutPeriods} = [ { hourBegin = 8.0, hourEnd = 24.0, weekDays = [0, 1, 2, 3, 4, 5, 6], }, ]; Regards, Tony --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=12164 2 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ -- Tony Molloy. Dept. of Comp. Sci. University of Limerick --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Problem getting the CGI Interface to run
On Thursday 16 February 2006 15:58, you wrote: On Thu, 2006-02-16 at 08:37, Tony Molloy wrote: I'm new to BackupPC, been testing it out for the last week or so and can do backups successfully. Now I'm trying to get the CGI interface to work and am having troubles. I'm getting the Error: Unable to read config.pl or language strings!! error when I try and run BackupPC_Admin. The docs say this is probably a permissions problem but I can't see where the problem is ;-( Mysterious permissions problems on Fedora are usually caused by having SELinux enabled without understanding what it does. Try turning it off - and you have to reboot to make that change take effect. Following Les's advice I switched off SELinux and rebooted the machine. The CGI interface worked a dream!!!. I've now set SELinux to permissive and rebooted and everything works. I'm getting lots of avc denied messages in the audit log. When I get time I'll look into them. Tony -- Tony Molloy. Dept. of Comp. Sci. University of Limerick --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/