[BackupPC-users] daemon not starting on Ubuntu start-up

2014-02-20 Thread Adam Hardy

Every time I reboot my Ubuntu server, I have to restart the backuppc manually.

I figured this must be an Ubuntu packaging problem, something to do with the 
sysvinit config, but I've checked those out and from my limited knowledge of 
sysvinit, backuppc appears to have good settings in the appropriate run-levels:


0 - -
1 - K20
2 - S20
3 - S20
4 - S20
5 - S20
6 - -

S20 seems a bit early though. Apache for instance has S91.

However it could also be an error in the start-up script rather than it not 
executing at all - for instance I have the backups on a removable USB harddrive, 
and I am playing with Apache at the moment - could either of those stop backuppc 
from starting or even logging? I can't find any logged errors though in the 
syslog or the backuppc log.


I've had zero feedback from my question to the package maintainers at ubuntu (as 
is typical in my experience).


Thanks for any advice,

regards
Adam
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk___
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] daemon not starting on Ubuntu start-up

2014-02-20 Thread Erik Hjertén


2014-02-20 13:00, Adam Hardy skrev:
Every time I reboot my Ubuntu server, I have to restart the backuppc 
manually.


I figured this must be an Ubuntu packaging problem, something to do 
with the sysvinit config, but I've checked those out and from my 
limited knowledge of sysvinit, backuppc appears to have good settings 
in the appropriate run-levels:


0 - -
1 - K20
2 - S20
3 - S20
4 - S20
5 - S20
6 - -

S20 seems a bit early though. Apache for instance has S91.

However it could also be an error in the start-up script rather than 
it not executing at all - for instance I have the backups on a 
removable USB harddrive, 
I had similar problems earlier when I was storing backups on an external 
NAS. As the boot process was trying to start BackpPC before the NAS was 
mounted, it failed. I dont have that setup anymore so I can't help you 
with a solution but perhaps its a starting point to investigate.


Regards
/Erik




--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk___
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] daemon not starting on Ubuntu start-up

2014-02-20 Thread Marios Zindilis
I remember reading somewhere that the sum of Sxx and Kyy for a service
should be 100, so _if_ on runlevel 1 you have K20, you should have S80 on
the runlevels on which the service should run.

I think your concern for S20 is valid, try increasing it.



On Thu, Feb 20, 2014 at 2:00 PM, Adam Hardy
wrote:

>  Every time I reboot my Ubuntu server, I have to restart the backuppc
> manually.
>
> I figured this must be an Ubuntu packaging problem, something to do with
> the sysvinit config, but I've checked those out and from my limited
> knowledge of sysvinit, backuppc appears to have good settings in the
> appropriate run-levels:
>
> 0 - -
> 1 - K20
> 2 - S20
> 3 - S20
> 4 - S20
> 5 - S20
> 6 - -
>
> S20 seems a bit early though. Apache for instance has S91.
>
> However it could also be an error in the start-up script rather than it
> not executing at all - for instance I have the backups on a removable USB
> harddrive, and I am playing with Apache at the moment - could either of
> those stop backuppc from starting or even logging? I can't find any logged
> errors though in the syslog or the backuppc log.
>
> I've had zero feedback from my question to the package maintainers at
> ubuntu (as is typical in my experience).
>
> Thanks for any advice,
>
> regards
> Adam
>
>
> --
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
> ___
> 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/
>
>


-- 
Marios Zindilis
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk___
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] daemon not starting on Ubuntu start-up

2014-02-20 Thread Jim Kyle
On Thursday, February 20, 2014, at 6:00:39 AM, Adam Hardy wrote:

> I've had zero feedback from my question to the package maintainers at
> ubuntu (as is typical in my experience).

For several years now, Ubuntu and all of its close relatives have used
"upstart" instead of the SysV init technique for booting. Since upstart
launches things in parallel, rather than the strictly defined sequence of
SysV, it's quite likely that the startup script is attempting to launch
BackupPC before the network or associated drives are available.

You could create an upstart startup script, or possibly simply call the
existing script from /etc/rc.local.

As for support, the Ubuntu forums at http://ubuntuforums.org provide the
best support I've ever encountered for any distribution. It's all
volunteer, no specific connection to the actual maintainers, but a number
of the forum staff do take active roles in the development process. Their
wiki contains extensive discussions of the upstart process and how to adapt
to it. I've never tried to contact the maintainers directly, nor have I
felt any need to do so.

When I switched from Mandriva to Xubuntu back in 2007, the *buntu releases
were still SysV, so when the switch to upstart happened I had to go through
the re-learning process. It eventually becomes a simpler thing, but
initially it tends to be more than a bit mind-boggling...

-- 
Jim Kyle
mailto: j...@jimkyle.com


--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
___
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] Can users login themself to see their backuped files?

2014-02-20 Thread Jasmine Lognnes
Dear all,

Two questions =)

If I want to use BackupPC for laptops for different people, can they
then login them self to the web interface and configure backup jobs
and restore the files them self?

Are there Active Directory integration, so login credentials are taken
from an AD instead of a locale database?

Hugs,
Jasmine =)

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
___
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] Can users login themself to see their backuped files?

2014-02-20 Thread Les Mikesell
On Thu, Feb 20, 2014 at 9:09 AM, Jasmine Lognnes
 wrote:
>
> Two questions =)
>
> If I want to use BackupPC for laptops for different people, can they
> then login them self to the web interface and configure backup jobs
> and restore the files them self?

Yes, when you add a host as a target, you can specify a list of users
that can see it in the web interface and that will receive email about
failures.

> Are there Active Directory integration, so login credentials are taken
> from an AD instead of a locale database?

The web interface runs under Apache.  BackupPC won't include any
specific AD integration of its own, but if you can configure Apache to
authenticate the users against AD with the names you used in the host
setup, everything should work.   And Apache has a lot of ways to
configure authentication.

-- 
   Les Mikesell
 lesmikes...@gmail.com

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
___
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] Can users login themself to see their backuped files?

2014-02-20 Thread Alexander Moisseev
20.02.2014 19:39, Les Mikesell пишет:
> On Thu, Feb 20, 2014 at 9:09 AM, Jasmine Lognnes
>  wrote:
>>
>> Two questions =)
>>
>> If I want to use BackupPC for laptops for different people, can they
>> then login them self to the web interface and configure backup jobs
>> and restore the files them self?
>
> Yes, when you add a host as a target, you can specify a list of users
> that can see it in the web interface and that will receive email about
> failures.
>

Users have permission to stop/start/browse/restore backups for hosts they own.
Only administrators have permissions to configure anything.

--
Alexander

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
___
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] Can users login themself to see their backuped files?

2014-02-20 Thread Jasmine Lognnes
Great! =)

Thanks a lot =)

Hugs,
Jasmine


On 20 February 2014 16:39, Les Mikesell  wrote:
> On Thu, Feb 20, 2014 at 9:09 AM, Jasmine Lognnes
>  wrote:
>>
>> Two questions =)
>>
>> If I want to use BackupPC for laptops for different people, can they
>> then login them self to the web interface and configure backup jobs
>> and restore the files them self?
>
> Yes, when you add a host as a target, you can specify a list of users
> that can see it in the web interface and that will receive email about
> failures.
>
>> Are there Active Directory integration, so login credentials are taken
>> from an AD instead of a locale database?
>
> The web interface runs under Apache.  BackupPC won't include any
> specific AD integration of its own, but if you can configure Apache to
> authenticate the users against AD with the names you used in the host
> setup, everything should work.   And Apache has a lot of ways to
> configure authentication.
>
> --
>Les Mikesell
>  lesmikes...@gmail.com
>
> --
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
> ___
> 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/

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
___
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] Can users login themself to see their backuped files?

2014-02-20 Thread Jasmine Lognnes
Ok, so users can not configure which directories to be backed up on
their laptop?

Hugs,
Jasmine =)



On 20 February 2014 16:48, Alexander Moisseev  wrote:
> 20.02.2014 19:39, Les Mikesell пишет:
>> On Thu, Feb 20, 2014 at 9:09 AM, Jasmine Lognnes
>>  wrote:
>>>
>>> Two questions =)
>>>
>>> If I want to use BackupPC for laptops for different people, can they
>>> then login them self to the web interface and configure backup jobs
>>> and restore the files them self?
>>
>> Yes, when you add a host as a target, you can specify a list of users
>> that can see it in the web interface and that will receive email about
>> failures.
>>
>
> Users have permission to stop/start/browse/restore backups for hosts they own.
> Only administrators have permissions to configure anything.
>
> --
> Alexander
>
> --
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
> ___
> 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/

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
___
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] Can users login themself to see their backuped files?

2014-02-20 Thread Alexander Moisseev
20.02.2014 19:56, Jasmine Lognnes пишет:
> Ok, so users can not configure which directories to be backed up on
> their laptop?
>

Yes, users can not configure anything.

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
___
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] Can users login themself to see their backuped files?

2014-02-20 Thread Paulo Almeida
There are ways around this. For instance, I use this RsyncClientCmd:

$sshPath -q -x -l backuppc $host sudo $rsyncPath
--exclude-from=/home/backuppc/exclude $argList+

Then I symlink the "/home/backuppc/exclude" file somewhere where the
user can create a file with the list of patterns to exclude from backup.

An alternative that may work, but involves fiddling with the action
dispatch code, is here:

http://www.tummy.com/blogs/2009/03/05/adding-an-audit-interface-to-backuppc/

See also the comment (by me, incidentally).

Cheers,
Paulo

On Thu, 2014-02-20 at 16:56 +0100, Jasmine Lognnes wrote:
> Ok, so users can not configure which directories to be backed up on
> their laptop?
> 
> Hugs,
> Jasmine =)
> 
> 
> 
> On 20 February 2014 16:48, Alexander Moisseev  wrote:
> > 20.02.2014 19:39, Les Mikesell пишет:
> >> On Thu, Feb 20, 2014 at 9:09 AM, Jasmine Lognnes
> >>  wrote:
> >>>
> >>> Two questions =)
> >>>
> >>> If I want to use BackupPC for laptops for different people, can they
> >>> then login them self to the web interface and configure backup jobs
> >>> and restore the files them self?
> >>
> >> Yes, when you add a host as a target, you can specify a list of users
> >> that can see it in the web interface and that will receive email about
> >> failures.
> >>
> >
> > Users have permission to stop/start/browse/restore backups for hosts they 
> > own.
> > Only administrators have permissions to configure anything.
> >
> > --
> > Alexander
> >
> > --
> > Managing the Performance of Cloud-Based Applications
> > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> > Read the Whitepaper.
> > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
> > ___
> > 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/
> 
> --
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
> ___
> 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/



--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
___
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] Can users login themself to see their backuped files?

2014-02-20 Thread Alexander Moisseev
20.02.2014 20:05, Alexander Moisseev пишет:
> 20.02.2014 19:56, Jasmine Lognnes пишет:
>> Ok, so users can not configure which directories to be backed up on
>> their laptop?
>>
>
> Yes, users can not configure anything.

Jasmine, I am very sorry. It is configurable.

User's can edit their host-specific configuration if enabled via 
$Conf{CgiUserConfigEditEnable}. The specific subset of configuration settings 
that a user can edit is specified with $Conf{CgiUserConfigEdit}.

http://backuppc.sourceforge.net/faq/BackupPC.html#Configuration-and-Host-Editor

--
Alexander

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
___
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] Can users login themself to see their backuped files?

2014-02-20 Thread Paulo Almeida
That's very nice, I had no idea you could do that. Disregard my previous
message then, that's a much better way to do it.

Cheers,
Paulo

On Thu, 2014-02-20 at 20:42 +0400, Alexander Moisseev wrote:
> 20.02.2014 20:05, Alexander Moisseev пишет:
> > 20.02.2014 19:56, Jasmine Lognnes пишет:
> >> Ok, so users can not configure which directories to be backed up on
> >> their laptop?
> >>
> >
> > Yes, users can not configure anything.
> 
> Jasmine, I am very sorry. It is configurable.
> 
> User's can edit their host-specific configuration if enabled via 
> $Conf{CgiUserConfigEditEnable}. The specific subset of configuration settings 
> that a user can edit is specified with $Conf{CgiUserConfigEdit}.
> 
> http://backuppc.sourceforge.net/faq/BackupPC.html#Configuration-and-Host-Editor
> 
> --
> Alexander
> 
> --
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
> ___
> 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/



--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
___
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/