Re: [BackupPC-users] Backups no longer run automatically

2010-03-16 Thread Chris Bennett
That usually means you have less than 5% of disk space on the pool filesystem - or whatever you configured the threshold to be to stop running automatically. Maybe an email once a day to the admin that this threshold has been reached, and that backups are no longer being scheduled, could be

Re: [BackupPC-users] Trouble setting up backup to a Windows host

2010-03-16 Thread Sorin Srbu
-Original Message- From: Max Hetrick [mailto:maxhetr...@verizon.net] Sent: Monday, March 15, 2010 4:16 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host Sorin Srbu wrote: Status code returned

Re: [BackupPC-users] Trouble setting up backup to a Windows host

2010-03-16 Thread Sorin Srbu
-Original Message- From: Chris Bennett [mailto:ch...@ceegeebee.com] Sent: Tuesday, March 16, 2010 8:09 AM To: sorin.s...@orgfarm.uu.se; General list for user discussion, questions and support Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host Perhaps you can try the

Re: [BackupPC-users] Trouble setting up backup to a Windows host

2010-03-16 Thread Chris Bennett
Hi Sorin, Was trying to retrace my steps and do some trouble-shooting, and got to samba. Googling a bit I found this page: http://www.comptechdoc.org/os/linux/manual4/samba.html And this little piece of information; For windows 2000 and XP: Disable Domain member: Digitally

Re: [BackupPC-users] Trouble setting up backup to a Windows host

2010-03-16 Thread Les Mikesell
Sorin Srbu wrote: From what I understand, that sounds like it's rejecting the authentication passed to it, not accepting the credentials the unix machine is passing. Are you running a domain? Yes I do. A regular plain vanilla Win2k3-domain. Is your smb.conf set up to match? I'm not sure

Re: [BackupPC-users] Backups no longer run automatically

2010-03-16 Thread Les Mikesell
Chris Bennett wrote: That usually means you have less than 5% of disk space on the pool filesystem - or whatever you configured the threshold to be to stop running automatically. Maybe an email once a day to the admin that this threshold has been reached, and that backups are no longer

Re: [BackupPC-users] Trouble setting up backup to a Windows host

2010-03-16 Thread Sorin Srbu
-Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Tuesday, March 16, 2010 2:04 PM To: sorin.s...@orgfarm.uu.se; General list for user discussion, questions and support Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host Sorin Srbu wrote:

Re: [BackupPC-users] Trouble setting up backup to a Windows host

2010-03-16 Thread Les Mikesell
On 3/16/2010 9:32 AM, Sorin Srbu wrote: If this is really Active Directory, it needs to have the domain compatibility mode set or you may need some other settings - and to join the domain. With the security set to server I get the error Failed to join domain: Invalid domain role. If

Re: [BackupPC-users] Trouble setting up backup to a Windows host

2010-03-16 Thread Max Hetrick
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

Re: [BackupPC-users] Trouble setting up backup to a Windows host

2010-03-16 Thread Les Mikesell
On 3/16/2010 10:45 AM, Max Hetrick 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

Re: [BackupPC-users] Problem with key generation in Ubuntu 8.04 (LTS)

2010-03-16 Thread Carl Wilhelm Soderstrom
On 03/16 02:18 , Luis Paulo wrote: I don't know how to restrict with ssh what commands backuppc user can run as root, that's why I use visudo/sudoers Here's an example authorized_keys file with restrictions on what command may be run. This is how I invoke sudo; by putting this in the .ssh

Re: [BackupPC-users] cwRsync patch?

2010-03-16 Thread Gerald Brandt
- Les Mikesell lesmikes...@gmail.com wrote: I see there is a patch for cwRsync that makes it use pipes instead of socketpairs. Is anyone using that with backuppc and if so, is it better? -- I was thinking of going cwrsync, then I decided to just install the latest cygwin with ssh

Re: [BackupPC-users] Trouble setting up backup to a Windows host

2010-03-16 Thread Chris Bennett
Is your smb.conf set up to match? I'm not sure if mounting via cifs reads it, but for smbclient you need to have at least the domain and password server set in there, and maybe security=server. If this is really Active Directory, it needs to have the domain compatibility mode set or

Re: [BackupPC-users] Trouble setting up backup to a Windows host

2010-03-16 Thread Chris Bennett
Hello again :) Tried the c$-mount as well as a new shared folder. On both I get mount error: can not change directory into mount target /windows/starforge. Did the mount.cifs command succeed after you entered the password though, or did you get the error while running mount.cifs? Works.

Re: [BackupPC-users] Problem with key generation in Ubuntu 8.04 (LTS)

2010-03-16 Thread Luis Paulo
Thanks, Carl I'll have to look a little better to it. I kind of undestand the no-port-forwarding,no-X11-forwarding,no-agent-forwarding part, the rsync command, the key (not sure about what is dss), and at the end the backuppc server name, I think I'm looking again to the sshd man, and I'll try

Re: [BackupPC-users] Backups no longer run automatically

2010-03-16 Thread Les Mikesell
On 3/16/2010 6:04 PM, Chris Bennett wrote: The 'host summary' web page shows everything at a glance. Look at it once in a while if you care what is happening. I was just curious how the unfamiliar admin would be able to determine backups have stopped. From what I can tell, the host summary

Re: [BackupPC-users] Backups no longer run automatically

2010-03-16 Thread Chris Bennett
It doesn't explicitly show why backups didn't run, but if you look down the 'Last Backup (days)' column, the numbers should all be less than one if you have daily backups scheduled. If it is more than a day without a failure mentioned in the 'Last Attempt', it means that it didn't start

Re: [BackupPC-users] Problem with key generation in Ubuntu 8.04 (LTS)

2010-03-16 Thread Luis Paulo
First, thank you again for showing how to restrict commands with ssh. It's a very tight solution. you just do ssh and the command runs. Ok. Regarding the previous talk, you still need to allow the backup user to sudo with visudo, right? If you want automated backups, that is. And phraseless

Re: [BackupPC-users] Problem with key generation in Ubuntu 8.04 (LTS)

2010-03-16 Thread Carl Wilhelm Soderstrom
On 03/17 01:07 , Luis Paulo wrote: Regarding the previous talk, you still need to allow the backup user to sudo with visudo, right? If you want automated backups, that is. correct. something like this in your /etc/sudoers: rsyncbakup ALL= NOPASSWD: /usr/bin/rsync And phraseless keys if you