[BackupPC-users] Automatically spot-checking backups?

2015-10-29 Thread Dave Sill
I've got a customer who'd like me to implement some kind of automatic
spot-checking of their BackupPC backups. E.g., pick a random system,
pick a few random files, pull them from BackupPC and compare them
(e.g., md5) to the files on the system.

Is there any reasonable way to do this? Is there an API for BackupPC?
I googled and couldn't find anything. We're using 3.3.0.

Thanks,

-Dave

--
___
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] BackupPC usage as localhost

2015-10-29 Thread Kris Lou
On Thu, Oct 29, 2015 at 2:20 AM,  wrote:

> - Is it possible that instead of sending the files to
> /home/backuppc/storage, to tell to BackupPC to send the files to a remote
> computer via ssh scp for example


This is confusing.  Did you set your TopDir (location of the BackupPC
storage pool) to /home/backuppc/storage?  If so, then you run into
recursion while backing up /home (issue #1 on that link).

Are you asking about the location of the pool, or the restore directory
when "sending the files to a remote computer?"

As far as I can tell, there's no (easy,built-in) way to separate out one
client's backups to store in a different location.  Even if possible, doing
so would remove those backups from deduplication.

But some people simply configure a 2nd BackupPC server to back up the
primary, or mount the pool remotely via NFS, or configure the pool under a
mounted RAID set and periodically rotate drives.


Kris Lou
k...@themusiclink.net
--
___
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] BackupPC usage as localhost

2015-10-29 Thread Benjamin Redling
On 2015-10-29 10:20, a.d...@accenture.com wrote:
> - Is it possible that instead of sending the files to /home/backuppc/storage, 
> to tell to BackupPC to send the files to a remote computer via ssh scp for 
> example
> 
> Does Backuppc has this feature or can implement it ? This would remove the 
> need to script an additional cron job to export /home/backuppc/storage to a 
> remote server when using bpc as solution to backup the server itself

Just to make sure: your are not interested to just use an "archive host"
http://backuppc.sourceforge.net/faq/BackupPC.html#Archive-functions
?

Regards,
Benjamin
-- 
FSU Jena | JULIELab.de/Staff/Benjamin+Redling.html
vox: +49 3641 9 44323 | fax: +49 3641 9 44321

--
___
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] Automatically spot-checking backups?

2015-10-29 Thread Bzzzz
On Thu, 29 Oct 2015 13:31:34 -0400
Dave Sill  wrote:

> Is there any reasonable way to do API? Is there an this for BackupPC?

May be a better way to get a deep check without esoteric fiddling
would be to raise $Conf{RsyncCsumCacheVerifyProb} and enable
checksum caching (if your distro doesn't set it up by default).

Jean-Yves

--
___
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] BackupPC usage as localhost

2015-10-29 Thread Les Mikesell
On Thu, Oct 29, 2015 at 4:20 AM,   wrote:
> Hello bpc users
>
> We are currently using BackupPC as localhost to backup /home following the
> recommendations seen here
>
> http://backuppc.sourceforge.net/faq/localhost.html
>
> Everything works fine but we are wondering one thing
>
> - Is it possible that instead of sending the files to
> /home/backuppc/storage, to tell to BackupPC to send the files to a remote
> computer via ssh scp for example
>
> Does Backuppc has this feature or can implement it ? This would remove the
> need to script an additional cron job to export /home/backuppc/storage to a
> remote server when using bpc as solution to backup the server itself

No, it won't work.  Backuppc needs to be able to make hard links
between files in the host backup directories and the pooled instance
under pool or cpool, and scp won't maintain that.  For a small archive
you may be able to ' rsync -H' the entire archive directory, but this
is likely to fail as the backups grow.   The best approach is to
simply run backuppc on a different host and let it make the backups
there itself.

-- 
   Les Mikesell
 lesmikes...@gmail.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/


[BackupPC-users] BackupPC usage as localhost

2015-10-29 Thread a.dovi
Hello bpc users

We are currently using BackupPC as localhost to backup /home following the 
recommendations seen here

http://backuppc.sourceforge.net/faq/localhost.html

Everything works fine but we are wondering one thing

- Is it possible that instead of sending the files to /home/backuppc/storage, 
to tell to BackupPC to send the files to a remote computer via ssh scp for 
example

Does Backuppc has this feature or can implement it ? This would remove the need 
to script an additional cron job to export /home/backuppc/storage to a remote 
server when using bpc as solution to backup the server itself


--
Cordialement,

Arnaud DOVI
Accenture Technology Solutions
Nantes Delivery Center
✆ : 07 82 77 05 15

• : a.d...@accenture.com




This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise confidential information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the e-mail by you is prohibited. Where allowed by local law, electronic 
communications with Accenture and its affiliates, including e-mail and instant 
messaging (including content), may be scanned by our systems for the purposes 
of information security and assessment of internal compliance with Accenture 
policy.
__

www.accenture.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/


[BackupPC-users] Fatal error (bad version): /sbin/nologin: invalid option

2015-10-29 Thread fujisan
I also think it's coming from the remote side.

Loging in with

su -s /bin/bash - backuppc 

with the '-' as you suggested does not stop the backup from working on the 
command line.

I also installed backuppc on another server and tried to backup another client 
(so, 2 different machines involved here), and again the same error message.


Fatal error (bad version): /sbin/nologin: invalid option -- 'c'

Usage:
 nologin [options]

Politely refuse a login.

Options:
 -h, --help display this help and exit
 -V, --version  output version information and exit

For more details see nologin(8).


Something is being executed on the remote side with option '-c', maybe 'su'. 

I get the same message when I try to run

su backuppc -c ls

from the backuppc server as root


nologin: invalid option -- 'c'

Usage:
 nologin [options]

Politely refuse a login.

Options:
 -h, --help display this help and exit
 -V, --version  output version information and exit

For more details see nologin(8).


Fuji

+--
|This was sent by fujisa...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.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/