Re: [BackupPC-users] File Size Summary shows too large value for host

2022-12-16 Thread Kris Lou via BackupPC-users
Perhaps there's a difference in rsync arguments?  In particular,
"--hard-links" ?

BPCv4 default arguments:
$Conf{RsyncArgs} = [
'--super',
'--recursive',
'--protect-args',
'--numeric-ids',
'--perms',
'--owner',
'--group',
'-D',
'--times',
'--links',
'--hard-links',
'--delete',
'--delete-excluded',
'--one-file-system',
'--partial',
'--log-format=log: %o %i %B %8U,%8G %9l %f%L',
'--stats',
#
# Add additional arguments here, for example --acls or --xattrs
# if all the clients support them.
#
#'--acls',
#'--xattrs',
];
___
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] Lost linux file ownership on restore

2022-11-18 Thread Kris Lou via BackupPC-users
Look again at your RsyncArgs, they don't match the defaults [1], though
obviously your system may justify it:

-o, --owner
This option causes rsync to set the owner of the destination file to be
the same as  the source file, but only if the receiving rsync is being
run
as the super-user (see also the --super and --fake-super options).
Without
this option, the owner of new and/or transferred files are set to the
invoking
user on the receiving side...

-g, --group
This option causes rsync to set the group of the destination file to be
the same as
the source file. If the receiving program is not running as the
super-user (or if
--no-super was specified), only groups that the invoking user on the
receiving side
is a member of will be preserved. Without this option, the group is set
to the default
group of the invoking user on the receiving side...

And correspondingly:

--super
  This tells the receiving side to attempt super-user activities even
if the receiving rsync wasn't
  run by the super-user. These activities include: preserving users via
the --owner option,
  preserving all groups(not just the current user's groups) via the
--groups option, and copying
  devices via the --devices option. This is useful for systems that
allow such activities without being
  the super-user, and also for ensuring that you will get errors if the
receiving side isn't
  being run as the super-user.
  To turn off super-user activities, the super-user can use --no-super.

Defaults are (--one-file-system is often overlooked):

$Conf{RsyncArgs} = [
'--super',
'--recursive',
'--protect-args',
'--numeric-ids',
'--perms',
'--owner',
'--group',
'-D',
'--times',
'--links',
'--hard-links',
'--delete',
'--delete-excluded',
'--one-file-system',
'--partial',
'--log-format=log: %o %i %B %8U,%8G %9l %f%L',
'--stats',
#
# Add additional arguments here, for example --acls or --xattrs
# if all the clients support them.
#
#'--acls',
#'--xattrs',
];

[1]
https://github.com/backuppc/backuppc/blob/174e707c0f64d9fe6eb699612be35fa214cafc3f/conf/config.pl#L1276-L1300
___
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] Lost linux file ownership on restore

2022-11-16 Thread Kris Lou via BackupPC-users
>
>
>
> XferLOG.[backup number] does not contain any individual file
> names/paths, so I'm not able to check the permissions there.  Latest
> test XferLOG attached for reference.
>
>
I have "--log-format=log: %o %i %B %8U,%8G %9l %f%L" and "--stats" as
RsyncArgs, by default.  Perhaps those will give you more verbosity?
___
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] Normal user access to all backups

2022-06-17 Thread Kris Lou via BackupPC-users
If I remember correctly (my BPC installation is now retired), all you need
to do is enter your existing user uid/sn in the hosts file.

I think you want per-client "More Users".  These will probably need to be
specified individually for your existing clients, but I'm sure you can add
it to the defaults so that it persists moving forward.

http://backuppc.sourceforge.net/faq/BackupPC.html#Step-4:-Setting-up-the-hosts-file

However, giving users access to their backups in this manner also subjects
them to the client's backup status (and corresponding email notifications).

Kris Lou
k...@themusiclink.net


On Fri, Jun 17, 2022 at 5:21 AM Lukáš Krejza 
wrote:

> Hello,
>
> we are using backuppc 4.x with AuthBasicProvider ldap. From help, i can
> see that it is possible to create normal user without admin priviledges
> to have access to backups. From help: "Normal users can only access
> information specific to their host. They can start/stop/browse/restore
> backups.".
>
> My question is: Is it possible to create a user (from ldap) to have
> access to all backups, but without admin privileges, and if so, how?
>
> Thank you very much!
>
> Regards,
>
> Lukáš Krejza
>
>
> ___
> 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] Simple server side embedded config file to allow full shadow backups of Windows host

2021-02-26 Thread Kris Lou via BackupPC-users
>
> What I actually do is have a single separate config file for each of
> my platforms (Linux, Windows, Android, RPI) and then have my
> individual machines link to their corresponding canonical file.


I tend to make use of the "newhost=oldhost" syntax when creating new Backup
clients.  Do you happen to know if the changes are also copied over if the
source host configs contain your mods? (I realize this is trivial to test,
but thought I'd ask.)
___
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] SMB Backups Fail Since Fedora 32->33 Upgrade

2020-11-24 Thread Kris Lou via BackupPC-users
I'm wondering if the BackupPC user (or whichever user is theoretically
working with smbclient) has permissions all the way up the tree on
/var/lib/samba/lock?  Perhaps something changed within that directory
(selinux policies?).

>
>
___
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] Necro'd: Use S3 buckets for the pool

2020-07-22 Thread Kris Lou via BackupPC-users
All,

Thanks for the suggestions and links.  There's a lot of interesting reading
to be done.  But as noted, checksum matching and storage latency are
probably prohibitive.

I hope to have access to a colo with gigabit bandwidth in the near future.
Maybe I'll spin up an instance just to see how it goes -- especially since
BPC4 should be less dependent upon bare-metal installations.

Thanks,
-Kris
___
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] Necro'd: Use S3 buckets for the pool

2020-07-20 Thread Kris Lou via BackupPC-users
This hasn't been addressed for a while, and I didn't find anything in
recent archives.

Anybody have any experience or hypothetical issues with writing the BPC4
Pool over s3fs-fuse to S3 or something similar?  Pros, Cons?

Thanks,
-Kris



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] Regarding Transport mechanism limitations

2020-06-02 Thread Kris Lou via BackupPC-users
Updated Docs (4.x) are here:   https://backuppc.github.io/backuppc/

And no problems here with larger files (18GB) using rsync.exe from Cygwin.
___
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 install SCGI , exactly??

2020-05-26 Thread Kris Lou via BackupPC-users
https://github.com/backuppc/backuppc/wiki/Installing-BackupPC-4-from-tarball-or-git-on-Ubuntu

Alternatively, for CentOS 7 you can use the Hobbes COPR:
https://copr.fedorainfracloud.org/coprs/hobbes1069/BackupPC/

There's another maintained CentOS repo:
http://repo.firewall-services.com/centos/

Both maintainers are on the mailing list.

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] Freenas - HELP NEEDED

2020-03-19 Thread Kris Lou via BackupPC-users
Not a FreeNAS user (don't know how many, if any, are on the list).  But I
think you're looking for this:
https://www.ixsystems.com/community/threads/quickstart-guide-for-backuppc-4-in-a-jail-on-freenas.74080/

Also ...

Since FreeNAS 11.2, there is an official plugin for BackupPC but it is
> broken (the web management interface is missing),




Kris Lou
k...@themusiclink.net


On Thu, Mar 19, 2020 at 6:32 AM Robert Kiss  wrote:

> Hi,
>
>
>
> I just installed the BackuPC plugin for FreeNAS and I am stuck.
>
> I have no idea how to access the Web GUI and the documentation is just too
> hard for me to swallow.
>
> Is there a step-by-step instruction how to get the Web GUI to work?
>
>
>
> Thanks.
>
>
>
> Robert
> ___
> 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 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] help! RsyncClientCmd howto in 4.3

2020-02-18 Thread Kris Lou via BackupPC-users
Mine is pretty much stock.

config.pl snippet

#
# Ssh arguments for rsync to run ssh to connect to the client.
# Rather than permit root ssh on the client, it is more secure
# to just allow ssh via a low-privileged user, and use sudo
# in $Conf{RsyncClientPath}.
#
# This setting only matters if $Conf{XferMethod} = 'rsync'.
#
$Conf{RsyncSshArgs} = [
  '-e',
  '$sshPath -l root'
];

I don't have any overrides for RsyncSshArgs for this host, but for you it
would probably just change the ssh remote user to UserOne.  Omit "$host
$rsyncPath
$argList+" and see what happens.
___
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] smbclient gets NT_STATUS_ACCESS_DENIED

2019-08-30 Thread Kris Lou via BackupPC-users
By default, I think that smbclient uses SMB1 on most systems, and it's
definitely disabled by default on Windows.  You can force it to use SMB2+,
but I'm not sure what version of smbclient has it enabled.

On Sat, Aug 31, 2019, 6:12 AM Benjamin Toll  wrote:

> On 08/29/2019 16:28, Bob McClure Jr wrote:
> > Hmm.  My smbclient comes from samba-client-3.6.23-52.el6_10.x86_64.
> > Does that correlate?
> >
> > If so, I guess I get dragged kicking and screaming to CentOS 7.  Have
> > to in a year anyway.
>
>
>  Samba wiki says they added support for SMB3 with version 4.0.0. I don't
> have any CentOS boxes, but it looks like CentOS 7 has Samba 4.8.3
>
> The notes I made back when I updated our BackupPC servers to support
> Windows 10 tell me that I had trouble with Samba 4.8.0+, so I'm using
> Samba 4.6.16. I don't remember what kind of trouble I was having though.
>
>
>
>
>
> ___
> 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 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] Apache problem, i guess

2019-07-18 Thread Kris Lou via BackupPC-users
Also Centos 7, just upgraded to 4.3.1 via the hobbes1069 copr repo.

Here's your problem:

>
> Alias   /backuppc//usr/share/BackupPC/html/
> Alias   /BackupPC//usr/share/BackupPC/html/
> ScriptAlias /BackupPC_Admin /usr/share/BackupPC/sbin/BackupPC_Admin


My apache config script aliases look like this:

   Alias   /BackupPC/images/usr/share/BackupPC/html/
>ScriptAlias /BackupPC   /usr/libexec/BackupPC/BackupPC_Admin
>ScriptAlias //usr/libexec/BackupPC/BackupPC_Admin


I added the last one so that the webroot also points directly to
~/BackupPC_Admin.

Alter the targets to match your environment, obviously.

Kris Lou
k...@themusiclink.net


On Thu, Jul 18, 2019 at 11:00 AM Jean-Marc  wrote:

> Hi,
>
> I have set up a centos + backuppc.
>
> To keep things easy, i have done a yum install backuppc, then upgraded
> to latest version 4.3.1.
>
> To keep it short, i can't reach the GUI through http://myip/backuppc nor
> http://myip/BackupPC
>
> Apache ask for auth, but send a 403 after
>
> but http://myip/BackupPC_Admin  works fine ?!?!
>
> can't find what's happening, probably a problem with backuppc.conf in
> conf.d :
>
>
> 
>
> AuthType Basic
> AuthUserFile /etc/BackupPC/apache.users
> AuthName "BackupPC"
>
> 
># Apache 2.4
>
>  Require valid-user
>  
>Require ip 192.168.1.0/255.255.255.0 127.0.0.1
>  
>
> 
> 
># Apache 2.2
>order deny,allow
>deny from all
>allow from 127.0.0.1
>allow from 192.168.1.0/255.255.255.0
>require valid-user
> 
>
> 
>
> Alias   /backuppc//usr/share/BackupPC/html/
> Alias   /BackupPC//usr/share/BackupPC/html/
> ScriptAlias /BackupPC_Admin /usr/share/BackupPC/sbin/BackupPC_Admin
>
> HTTPD Error log give me :
>
> [autoindex:error] [pid 3734] [client 192.168.1.13:53797] AH01276: Cannot
> serve directory /usr/share/BackupPC/html/: No matching DirectoryIndex
> (index.html) found, and server-generated directory index forbidden by
> Options directive
>
> Thanks
>
> Jean-Marc
>
>
>
> ___
> 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 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] rsync optimisation

2018-12-19 Thread Kris Lou via BackupPC-users
I've found that the version of rsync that Apple bundles is pretty
squirrelly -- there are some posts in the archive about this.  But
generally speaking, there were some BackupPC-default rsync arguments that
didn't play nicely with Apple's rsync.

I don't recall having issues with BPCv3, but with v4 --protect-args,
--one-file-system, and --copy-links were problematic.  Some of that are our
client configurations, though.

Kris Lou
k...@themusiclink.net


On Wed, Dec 19, 2018 at 2:50 AM Patrick Bégou <
patrick.be...@legi.grenoble-inp.fr> wrote:

> Hello
>
> rsync performances is a regular question with Backuppc... and is a
> regular problem where I do not find a good solution.
>
> I'm using BackuPC 3 and time to run a full backup for a mac book reach
> so long time that full backup fails regularly now. The folder is arround
> 50GB but with many small files (more than 40 files). It is a laptop
> with a ssd drive on a local 1gb/s network.  Using sshd/rsync seams to
> reach it's limit.
>
> On the laptop:
>
> - cpu load is low (load average between 2 and 3)
> - disk I/O is low (less than 2MB/s with 200tps, averaged on 10s)
> - network load is very low
>
> On the server:
>
> - cpu load is low (load average between 1 and 2)
> - disk I/O is low
> - network load is very low
>
> I've checked the network connectivity between the laptop and the server
> for a 200MB file with scp: 40MB/s (limited by the router as they are
> located on a different VLAN)
>
> Is there a better way to configure this backup ?
>
> Thanks
>
> Patrick
>
>
>
>
> ___
> 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 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] offline archives for host

2018-10-18 Thread Kris Lou via BackupPC-users
https://backuppc.github.io/backuppc/BackupPC.html#Archive-functions

Although, in the past I've just used BackupPC_tarCreate directly with cron
on the specific hosts/backups.

-Kris



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] 4.2.1 Rsync and BackupFilesOnly

2018-09-27 Thread Kris Lou via BackupPC-users
 $Conf{XferLogLevel} = 3;
$Conf{BackupZeroFilesIsFatal} = '0';
*$Conf{BackupFilesExclude} = undef;*

I tried this, but the same results.

But I think Holger nailed it with the --one-file-system arg.  And you got
it ... backing up a NAS where each sharepoint is also a separate mountpoint.

Thanks,
-Kris


Kris Lou
k...@themusiclink.net

On Thu, Sep 27, 2018 at 4:33 PM, Holger Parplies  wrote:

> Hi,
>
> Kris Lou via BackupPC-users wrote on 2018-09-27 15:22:20 -0700
> [[BackupPC-users] 4.2.1 Rsync and BackupFilesOnly]:
> > [...]
> > Need More Eyes!
>
> 8-)
>
> > $Conf{BackupFilesOnly} = {
> >   '*' => [
> > '/SysData'
> >   ]
> > };
>
> This is translated by BackupPC to what you see below - --include=/SysData
> --exclude=/* -
> because rsync has no notion of "only". "Only" means "include /SysData but
> exclude everything
> else".
>
> > [...]
> > /usr/bin/rsync_bpc --bpc-top-dir /data/BackupPCPool --bpc-host-name
> > shares.axlmusiclink.biz --bpc-share-name /sharedfolders --bpc-bkup-num
> > 0 --bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1
> > --bpc-bkup-inode0 2 --bpc-attrib-new --bpc-log-level 3 -e
> > /usr/bin/ssh\ -l\ root --rsync-path=/usr/bin/rsync --super --recursive
> > --protect-args --numeric-ids --perms --owner --group -D --times
> > --links --hard-links --delete --delete-excluded --one-file-system
> > --partial --log-format=log:\ %o\ %i\ %B\ %8U,%8G\ %9l\ %f%L --stats
> > --checksum --timeout=72000 --include=/SysData --exclude=/\*
> > shares.axlmusiclink.biz:/sharedfolders/ /
> >
> > [...]
> > If I change the share name to "/sharedfolders/SysData" and blank out the
> > Only/Excludes, then it'll dump it correctly.
>
> Let me guess. /sharedfolders/SysData is a mount point, right? You have
> --one-file-system
> in the rsync args, so starting from /sharedfolders, rsync won't recurse
> into a different
> file system. If you start at /sharedfolders/SysData, you're already on the
> target fs, so
> everything will work as expected. Try removing the --one-file-system.
>
> Regards,
> Holger
>
___
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] 4.2.1 Rsync and BackupFilesOnly

2018-09-27 Thread Kris Lou via BackupPC-users
Hey guys,

This is driving me nuts.  I just installed a new instance of 4.2.1, and for
whatever reason, I can't get the BackupFilesOnly/BackupFilesExclude to work
correctly.  Need More Eyes!

$Conf{BackupFilesOnly} = {
  '*' => [
'/SysData'
  ]
};
$Conf{RsyncShareName} = [
  '/sharedfolders'
];
$Conf{XferMethod} = 'rsync';
$Conf{DumpPostUserCmd} = undef;
$Conf{DumpPreUserCmd} = undef;
$Conf{RestorePostUserCmd} = undef;
$Conf{RestorePreUserCmd} = undef;
$Conf{XferLogLevel} = 3;
$Conf{BackupZeroFilesIsFatal} = '0';
$Conf{BackupFilesExclude} = {};
~

As seen above, I've got 1 client share defined (/sharedfolders), and I'm
trying to get "/SysData" and its content.  BackupFilesExclude is currently
blank.  (BackupFilesExclude usually has stuff;  this is an override to
clear it out).

>From XferLog:

/usr/bin/rsync_bpc --bpc-top-dir /data/BackupPCPool --bpc-host-name
shares.axlmusiclink.biz --bpc-share-name /sharedfolders --bpc-bkup-num
0 --bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1
--bpc-bkup-inode0 2 --bpc-attrib-new --bpc-log-level 3 -e
/usr/bin/ssh\ -l\ root --rsync-path=/usr/bin/rsync --super --recursive
--protect-args --numeric-ids --perms --owner --group -D --times
--links --hard-links --delete --delete-excluded --one-file-system
--partial --log-format=log:\ %o\ %i\ %B\ %8U,%8G\ %9l\ %f%L --stats
--checksum --timeout=72000 --include=/SysData --exclude=/\*
shares.axlmusiclink.biz:/sharedfolders/ /

So, I think that the "--exclude=/\*" is what's causing this to dump 0
files, but I have no idea where it came from.

If I change the share name to "/sharedfolders/SysData" and blank out the
Only/Excludes, then it'll dump it correctly.  The rsync-bpc command then
doesn't append the --include and --exclude strings.

So, what's wrong with my syntax?

Thanks,
-Kris



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] Troubleshooting assistance for Bad Transfer

2018-09-17 Thread Kris Lou via BackupPC-users
Rsync and rsyncd to Windows requires some client configuration and
installation, in case that wasn't clear before.  It isn't as "touchless" as
changing the Xfer method to SMB.

Have you tried manually configuring a share on either of these machines,
and backing that up?  That'd be a place to start.


Kris Lou
k...@themusiclink.net

On Mon, Sep 17, 2018 at 10:43 AM, Jaime Fenton 
wrote:

> Thanks Guillermo, that would be good to see for reference.
>
>
>
> However, SMB works for all my other machines, it’s just these two machines
> that won’t work completely with SMB. Rsync was suggested as an alternative
> and it didn’t work.
>
>
>
> Ultimately I just need help figuring out why SMB isn’t working for two
> machines only.
>
>
>
> Jaime
>
>
>
> *From:* Guillermo Rozas [mailto:guille2...@gmail.com]
> *Sent:* Monday, September 17, 2018 10:36 AM
> *To:* General list for user discussion, questions and support <
> backuppc-users@lists.sourceforge.net>
> *Subject:* Re: [BackupPC-users] Troubleshooting assistance for Bad
> Transfer
>
>
>
> I have BackupPC 4.2.1 connecting without issues to a Windows 10 machine
> via rsync. If you think it could be useful, I can dig up what I did to
> configure it.
>
> Regards,
>
> Guillermo
>
> On Mon, Sep 17, 2018 at 2:22 PM Jaime Fenton 
> wrote:
>
> *Bump*
>
>
>
> Anyone else have advice?
>
>
>
> *From:* Jaime Fenton [mailto:jaime.fen...@animallogic.ca]
> *Sent:* Wednesday, September 5, 2018 3:58 PM
> *To:* General list for user discussion, questions and support <
> backuppc-users@lists.sourceforge.net>
> *Subject:* Re: [BackupPC-users] Troubleshooting assistance for Bad
> Transfer
>
>
>
> No dice, rsync does not work (nor did rsyncd, failed outright).
>
>
>
> Any further advice? If it helps, the two machines failing are windows 10.
>
>
>
> Jaime
>
>
>
> *From:* Kris Lou via BackupPC-users [mailto:backuppc-users@lists.
> sourceforge.net ]
> *Sent:* Wednesday, September 5, 2018 12:05 PM
> *To:* General list for user discussion, questions and support <
> backuppc-users@lists.sourceforge.net>
> *Cc:* Kris Lou 
> *Subject:* Re: [BackupPC-users] Troubleshooting assistance for Bad
> Transfer
>
>
>
> Then you might be running into some of the file-locking issues inherent to
> SMB, especially if you can get a partial backup.  Consider trying a
> different method, such as VSS-rsync?
>
> --
> Jaime Fenton
> Support Engineer
>
> T: +1 604 398 4800 (main)
> D: +1 604 398 4813 (direct)
> E: jaime.fen...@animallogic.ca
>
> 840 Cambie Street
> Vancouver, BC V6B 2P6
> CANADA
>
>
>   [image: LinkedIn] <https://www.linkedin.com/company/animal-logic>  [image:
> Facebook] <https://www.facebook.com/Animal-Logic-129284263808191/>  [image:
> Twitter] <https://twitter.com/AnimalLogic>  [image: Instagram]
> <https://www.instagram.com/animallogicstudios/>
>
> [image: Animal Logic] <http://www.animallogic.com>
>
> www.animallogic.com
>
> *CONFIDENTIALITY AND PRIVILEGE NOTICE*
> This email is intended only to be read or used by the addressee. It is
> confidential and may contain privileged information. If you are not the
> intended recipient, any use, distribution, disclosure or copying of this
> email is strictly prohibited. Confidentiality and legal privilege attached
> to this communication are not waived or lost by reason of the mistaken
> delivery to you. If you have received this email in error, please delete it
> and notify us immediately by telephone or email.
>
>
> ___
> 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 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] Troubleshooting assistance for Bad Transfer

2018-09-05 Thread Kris Lou via BackupPC-users
Then you might be running into some of the file-locking issues inherent to
SMB, especially if you can get a partial backup.  Consider trying a
different method, such as VSS-rsync?
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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 in a special scenario

2018-08-06 Thread Kris Lou via BackupPC-users
Michael is being too modest to link to his own implementation for Windows
clients, so I'll do it for him:  http://www.michaelstowe.com/backuppc/

Just a note:  This leverages the administrative share (C$) via
smbclient/winexe to kick off rsyncd on the client.  As such, the backuppc
server requires Domain Admin credentials, and rsync traffic is not wrapped
in SSH.

Though I'm sure you can wrangle around all of that if you like.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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 not start backup when client was a long time away

2018-01-12 Thread Kris Lou
If your pings are successful, then check your blackout hours.


Kris Lou
k...@themusiclink.net

On Fri, Jan 12, 2018 at 9:40 AM, Nicolas Göddel <
mailingli...@freakscorner.de> wrote:

> Hi folks,
>
> I have installed BackupPC 3.3.1 on my small Ubuntu machine which consists
> of two RAIDs. One for data, one for the backup of the important stuff and
> for my Ubuntu laptop.
>
> My laptop is only online in my LAN a few hours a week. Every time I
> connect it to my LAN I try to manually start an incremental backup using
> the BackupPC's webinterface. Unfortunality it never works directly except I
> wait for hours. And then it runs without problems. I guess it has something
> to do with theses pings but I thought I had deactivated them correctly.
> Maybe not. But there are also no new log files with some error messages or
> something like that. I have no clue why it won't start the backup.
>
> Strangely enough it works without problems if I log into the terminal of
> my server and call
>
> sudo -u backuppc /usr/share/backuppc/bin/BackupPC_dump -v 
>
> Do you have any ideas what I could have done wrong? Do you need some
> configuration? Where do I find them in a format you prefer?
>
> --
> ——
> Homepage: http://freakscorner.de
> Facebook: http://www.facebook.com/Bastelkeller
> Twitter: http://twitter.com/freaks_corner
> Youtube: http://youtube.com/tubenic86
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> 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/
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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 4.1.5 released (plus new versions of backuppc-xs and rsync-bpc)

2018-01-11 Thread Kris Lou
And wow, I just noticed that you package winexe in there.  Thanks for that!


Kris Lou
k...@themusiclink.net

>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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 4.1.5 released (plus new versions of backuppc-xs and rsync-bpc)

2017-12-14 Thread Kris Lou
Daniel,

Do you maintain that repo?  How is that different from the COPR?

Thanks,

-Kris
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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 to Cloud

2017-10-13 Thread Kris Lou
I do something similar -- but I call the Archive script via cron to
generate the archive of a specific host and put it on a NFS mount, where it
is then synced to an external drive for offsite holding.

-Kris


Kris Lou
k...@themusiclink.net

On Thu, Oct 12, 2017 at 10:17 AM, Clay Jackson <cl...@nwlink.com> wrote:

> Has anyone tried using the BackupPC archive function (or some other
> method) to put copies of backups in cloud storage, for offsite backups?
> Last week, Oracle announced their "archive" storage is available for
> $1/Tb/month; seems almost like a "no brainer".  I'm considering just doing
> the "archive" and then using a script to move the archive to the Oracle
> cloud.
>
> Clay Jackson
>
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> 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/
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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] Email in backup success/failure

2017-09-05 Thread Kris Lou
On Sun, Sep 3, 2017 at 1:55 PM, Les Mikesell  wrote:

> On Sun, Sep 3, 2017 at 3:26 PM, Gandalf Corvotempesta
>  wrote:
> > That's fine, so I'll able to configure bpc to send email every time a
> backup
> > is failed for an host?
> > if yes, how?
>
> See this section of the docs:
> http://backuppc.sourceforge.net/BackupPC-4.1.1.html#Email-
> reminders-status-and-messages
>
> It doesn't notify you specifically if one backup attempt fails.  It
> notifies you when you don't have a good backup newer than
> EmailNotifyMinDays
>

BackupPC will keep re-trying if a backup fails (for example, backing up
over a VPN and the client drops a connection).  So in essence, the emails
are more of a "Client Backup Failed, and I kept trying for 3 days but no
luck" notification.

Also, it's a single email with a list of problematic client, not a single
email per client.

If you set up a user and corresponding email per client, then BackupPC also
sends a reminder email to that user if the client hasn't been backed up in
X days.

-Kris
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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] Scheduling advice

2017-08-31 Thread Kris Lou
>
>
> I don't really know the details of bpc4.  I think it always fills the
> most recent run and works backwards to clean up the old copies so you
> should have whatever files are still there even if some were somehow
> deleted.   Still, if your pool filesystem is totally corrupted all
> bets are off - like it would be with any system
>

That is my understanding as well -- the most recent (and otherwise
configured) backup is always filled, and the previous ones are
reverse-delta'd from that.

I think the problem here is that filled != full, which is a concept that
I'm still wrapping my head around.  Your scenario assumes that subsequent
incrementals are always built upon a full backup, which was the behavior of
v3.  This would then cause problems when the full is deleted.

But here's how I think v4 is handling backups:  Upon a new backup ...
* Copies/renames the previous (#N-1), most recent (which is always filled)
backup as #N
* Finds and transfers new files into #N
* Pushes OLD (aka original) files into #N-1

So, Backup #2 then only holds the files that were changed, with the changed
files + unchanged files in Backup #3.  If you remove Backup #2, then you've
only lost the old versions of files that were changed in #3.

Craig notes in a few places that _any_ backup can be deleted -- I'm
assuming that BackupPC_backupDelete accounts for filling Backup #2 if
Backup #3 is deleted.  But if the underlying filesystem itself is mucked up
...

At least, that's what I get from staring at the v4 docs for a while.

-Kris
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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] archive / extract to usb drive

2017-08-14 Thread Kris Lou
>
> To archive the last backup of each host, i would like to copy the last
> extracted version of each host to a usb drive without using tar.
> I would like on the usb drive (to restore easily a file if necessary)
> that the drive can be used even without backuppc with for each host the
> directory structure and all the uncompressed files.
>
> Actually for archiving, only a tar (compressed or not) can be used.
>
>
Take a look at
http://backuppc.sourceforge.net/faq/BackupPC.html#Command-line-restore-options,
which will do the tar restore of the most current backup.  You can probably
set that as a DumpPostUserCmd, with the destination being your mounted USB
drive.

You can also configure the localhost (BackupPC server), using XferMethod
'archive' with no compression, again with the destination being your
mounted USB drive.  I haven't done it, but
http://backuppc.sourceforge.net/faq/BackupPC.html#Archive-functions seems
to answer your needs.  Though if you do this for ALL of your hosts, you
definitely lose out on the deduplication.

-Kris






Kris Lou
k...@themusiclink.net

On Mon, Aug 14, 2017 at 1:16 AM, Ulrich Van Den Hekke <
ulrich.vdh+backu...@shadoware.org> wrote:

> Hi,
>
> I use backuppc version 4, and i'm very happy.
> It is the best tool i use to make my backup.
>
> To archive the last backup of each host, i would like to copy the last
> extracted version of each host to a usb drive without using tar.
> I would like on the usb drive (to restore easily a file if necessary)
> that the drive can be used even without backuppc with for each host the
> directory structure and all the uncompressed files.
>
> Actually for archiving, only a tar (compressed or not) can be used.
>
> Is it possible ? Somebody have already made a similar things ? Is this
> option can be added to backuppc ?
>
> Thanks
>
> Ulrich
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> 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/
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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 exclude a directory

2017-07-11 Thread Kris Lou
This depends on how you've defined your share(s), and what method you're
using.  SMB has problems with BackupFilesOnly and BackupFilesExclude
combinations, so if you use this, consider moving any "BackupFilesOnly" to
separate "SmbShareName" entries.

*$Conf{BackupFilesExclude} = undef; List of directories or files to exclude
from the backup. For Smb, only one of $Conf{BackupFilesExclude}
<http://backuppc.sourceforge.net/BackupPC-4.0.0.html#_conf_backupfilesexclude_>
and $Conf{BackupFilesOnly}
<http://backuppc.sourceforge.net/BackupPC-4.0.0.html#_conf_backupfilesonly_>
can be specified per share. If both are set for a particular share, then
$Conf{BackupFilesOnly}
<http://backuppc.sourceforge.net/BackupPC-4.0.0.html#_conf_backupfilesonly_>
takes precedence and $Conf{BackupFilesExclude}
<http://backuppc.sourceforge.net/BackupPC-4.0.0.html#_conf_backupfilesexclude_>
is ignored. This can be set to a string, an array of strings, or, in the
case of multiple shares, a hash of strings or arrays. A hash is used to
give a list of directories or files to exclude for each share (the share
name is the key). If this is set to just a string or array, and
$Conf{SmbShareName}
<http://backuppc.sourceforge.net/BackupPC-4.0.0.html#_conf_smbsharename_>
contains multiple share names, then the setting is assumed to apply to all
shares. The exact behavior is determined by the underlying transport
program, smbclient or tar. For smbclient the exclude file list is passed
into the X option. Simple shell wild-cards using "*" or "?" are allowed.*


Kris Lou
k...@themusiclink.net
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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 log for new host

2017-05-30 Thread Kris Lou
Is there a trailing slash on your TopDir?

p.s. I just do straight rsync over SSH to OSX.  But know that whatever
permissions you use to access the client (or start rsyncd if you go that
route) needs permissions on the client data as well.


Kris Lou
k...@themusiclink.net

On Tue, May 30, 2017 at 8:28 AM, Bob Katz <bobk...@digido.com> wrote:

> I think I've conquered the Thecus as a client and now for the next
> challenging client: a macbook pro. Also via rsyncd. I have the daemon
> running and what looks like a good rsyncd.conf file for the macbook pro.
> I'm not using "secrets" and that seems to work as a philosophy for the
> Thecus.
>
> However, the backup starts and immediately ends with this error:
>
> Can't open log file /var/lib/BackupPC//pc/bobs-macbook-pro.local/XferLOG.0
>
>
>
> The thing is there are two forward slashes in this error note which doesn't 
> make sense. I believe the correct route should be:
>
> /var/lib/BackupPC/pc/bobs-macbook-pro.local/XferLOG.0
>
>
>
> What do you think went wrong?
>
>
> Thanks for any help,
>
>
>
> Bob
>
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> 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/
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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] Help with the schedule config

2017-05-25 Thread Kris Lou
Also digging deep ... (wish we still had the old wiki!)



Run/schedule a backup on a single host.

BackupPC_serverMesg backup HOSTIP HOST USER 0/1

schedule backup for a host now. 0/1 0 incremental backup, 1 full
backup. E.G.

   /usr/share/backuppc/bin/BackupPC_serverMesg backup host.example.tld
host.example.tld backuppc 1

The syntax to get status for a single host is:

BackupPC_serverMesg 'status host(mail.test.com)'

Run (schedule really) nightly cleanup

BackupPC_serverMesg BackupPC_nightly run

Dump some info. Pipe to perltidy as it is a nested data structure.
Not sure what it's actually dumping or how to use it or glean info
from it.

  BackupPC_serverMesg status info

Dump currently running (and maybe scheduled??) jobs. Looks like an
associative array with the keys set to the hostname or other service
jobs like " trashClean". Again useful to pipe through perltidy.

  BackupPC_serverMesg status jobs


List status of each host. State field will tell you if the host is
idle, backup is in progress...

  BackupPC_serverMesg status hosts

Start scheduling backups for all hosts

  BackupPC_serverMesg backup all



Stop/delay backups

BackupPC_serverMesg stop HOST REQ_USER BACKOFF

HOST is the host to cancel, REQ_USER is the requesting user (just for
log purposes) and BACKOFF is the backoff time in hours.


https://sourceforge.net/p/backuppc/mailman/message/19201808/

Also current docs:
https://github.com/backuppc/backuppc/blob/c4b4c643c9c1a9f5400e70135cbd9ba46ca71ede/doc-src/BackupPC.pod#step-7-talking-to-backuppc
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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] Help with the schedule config

2017-05-24 Thread Kris Lou
I'll take a stab at it.

On Wed, May 24, 2017 at 5:41 AM, Yong Zhang  wrote:

> 1) I want servers to be backed up daily, but full backup only runs on
> Saturday, how?
>

AFAIK, there isn't an easy way to determine when specific backups
(full/incr) run. My understanding is that BackupPC runs within the context
of the blackout periods and client visibility, and executes full/incr
depending upon the expiration counts of the existing backups.

That being said, you could manually start a full backup on a Saturday and
hope for the best within a 7-day cycle.  Or you can set a cron job, but
then you're missing out on the ability to automatically stagger backups.

It just occurred to me, you could leverage a DumpPreUserCmd (combined with
UserCmdCheckStatus) to verify the day (Saturday), dump type (Full), and
exit status (Yes, it is) on whether or not to proceed.  I think that a
non-zero status here would put the client back into the queue, and it would
try the same dump again upon the next wake.  There are probably other
caveats -- like whether a client sitting in the queue for a long time might
have some existing backups expired and purged in the interim, but it's
something to consider.


> 2) I want servers to have incremental backup daily for 6 days then 1 full
> backup, and keep all these backups (inc/full) for one month, but after one
> month, I only need to keep weekly full backups for 180 days (that is about
> 24 full backups total), and after 180 days, I just want to keep full
> backups at monthly basis e.g. keep one full backup one month and 12 months
> total. Is this possible and how to set the values in config?
>

If I'm reading the docs right:
* FullPeriod = 7 days
* FullPeriod * 1 = 24 backups
* FullPeriod * 2 = 0 backups
* FullPeriod * 4 = 12 backups

So KeepFullCnt = [24,0,12], with IncKeepCnt=24.  This is a little more
Lunar and less Gregorian, but that's what we get for mixing weeks and
months.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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] Backing up a Mac client - Help needed

2017-02-20 Thread Kris Lou
Generally, I just backup OSX in the same manner as Linux -- rsync over
SSH.  You can do this as your desired user to jump into a user home
directory, but you'll have to make sure that user can login via SSH (and
use rsync).  But if rsyncd works, more power to you!

-Kris


Kris Lou
k...@themusiclink.net

On Mon, Feb 20, 2017 at 2:07 PM, David Williams <
dwilli...@dtw-consulting.com> wrote:

> I believe I may have found the answer to this. Isn’t that always the
> case!!
>
> Would I be correct in that the uid and gid parameters in the rsyncd.conf
> file would be the way to ensure which user and group the rsyncd process
> runs at?  So, in the case below, I would ensure that the uid = dwilliams??
>
> Regards,
> _
> *Dave Williams*
> Senior Oracle MDM & Financials Consultant
> Phone: +1 954 661 8862 <(954)%20661-8862>
>
> On Feb 20, 2017, at 2:28 PM, David Williams <dwilli...@dtw-consulting.com>
> wrote:
>
> Hi,
>
> I’ve been using BackupPC for quite a number of years now and I’ve mainly
> used it to backup my Linux server and my windows laptop.  I recently bought
> a Mac and have been setting it up and I’ve had partial success, but it is
> backing files up :)
>
> With windows I was was using SMB protocol to backup the laptop and this
> was fairly straight forward in that smbclient would log into to Windows
> laptop as a certain user and as such had access to all that users files.
> On my Linux server I didn’t need any type of access since that is where
> backupPC sits, so again very easy.
>
> For the Mac I am using rsyncd which took a little while to work out how to
> set up but that seems to be working now.  There is one area that I am not
> clear on though and I’m hoping that someone on here could help me out.
> With rsyncd there is a config file (not that dissimilar to Samba) and there
> is a secrets file for the username and password.  I was assuming that the
> user I set up within this secrets file, if it was the same as my Mac user
> would have full access to my files, but that doesn’t appear to be the case,
> so I think I am missing something.  I am trying to back up files in my
> /Users/dwilliams directory.  So, my Mac login is dwilliams.  Of course, as
> dwilliams I have full access to all files under /Users/dwilliams.  However,
> when backuppc connects to my Mac laptop as dwilliams (the one from the
> secrets file I assume) it doesn’t have access to all the files under
> /Users/dwilliams.  I really don’t want to have to play around with all the
> directory and file permissions unless it’s really necessary but I’m hopeful
> that I’m just missing something here.
>
> Is there a way to rsync to my Mac as the actual dwilliams Mac user so that
> I have complete access to /Users/dwilliams?
>
> Failing that, what is the best way of moving forward?
>
> Any help on this would be much appreciated.
>
> Regards,
> _
> *Dave Williams*
> Senior Oracle MDM & Financials Consultant
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot__
> _
> 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/
>
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> 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/
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
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] Find all the hosts that did a full backup last night. And then report the time

2016-11-29 Thread Kris Lou
Perhaps link that to the existing BackupPC github page?


Kris Lou
k...@themusiclink.net

On Mon, Nov 28, 2016 at 11:09 PM, Brent Clark <brentgclarkl...@gmail.com>
wrote:

> Hi Carl
>
> Thank you *ever* so much.
>
>
> Many thanks.
>
> Regards
>
> Brent Clark
>
>
>
> On 28/11/2016 17:00, Carl Wilhelm Soderstrom wrote:
> > On 11/24 10:43 , Brent Clark wrote:
> >> I've been tasked with job to generate just a simple email / report on
> all our
> >> workstations / hosts that take that long to do a full backup, with out
> the need to log into our backuppc servers.
> >
> > There was a tool written a few years ago to plot out how long it took for
> > each host to back up. It's not exactly what you're looking for, but it
> may
> > be useful to you.
> > https://github.com/ravenx99/backuppc-visualize
> >
> > It's rather nifty and occasionally useful. I'm sure a competent
> programmer
> > could extend it and perhaps use it as a starting point for the output
> you're
> > looking for.
> >
>
>
> 
> --
> ___
> 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 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 Aborts Backup at 8GB on F23

2016-10-31 Thread Kris Lou
>From RH Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1294761

There are two (partially tested) patches there for smbclient >=  4.1.16,
one of which you've partially applied.

https://bugzilla.redhat.com/attachment.cgi?id=264=diff
https://bugzilla.redhat.com/attachment.cgi?id=1192784=diff

I have not tried these personally (I prefer rsync + vshadow) and the author
hasn't tested restores, so YMMV.




Kris Lou
k...@themusiclink.net

On Sun, Oct 30, 2016 at 1:26 PM, Tim Evans <tkev...@tkevans.com> wrote:

> On 10/28/2016 11:37 AM, Tim Evans wrote:
> > On 03/06/2016 07:45 AM, Tim Evans wrote:
> >> On 03/04/2016 01:52 PM, Tim Evans wrote:
> >>> On 03/03/2016 08:49 PM, Christophe Gouinaud wrote:
> >>>> Hello,
> >>>>
> >>>> I got same problem using backuppc 3.3.1 an smbclient 4.3.5.
> >>>>
> >>>> New version of samba change output to
> >>>>   "tar:  Total bytes received:  "
> >>>> from "tar: dumped  files".
> >>>>
> >>>> So I modify  Smb.pm at line 233 as follow :
> >>>> 
> >>>> } elsif ( /^\s*tar: dumped \d+ files/ ) {
> >>>> $t->{xferOK} = 1;
> >>>> $t->{XferLOG}->write(\"$_\n") if ( $t->{logLevel} >= 0 );
> >>>> #Changed by gouinaud
> >>>> } elsif ( /^\s*tar:\d+  Total bytes received: \d+/ ) {
> >>>> $t->{xferOK} = 1;
> >>>> $t->{XferLOG}->write(\"$_\n") if ( $t->{logLevel} >= 0 );
> >>>> #end
> >>>> …
> >>>>
> >>>> in config.pl file i modify  BackupZeroFilesIsFatal like this :
> >>>>
> >>>> $Conf{BackupZeroFilesIsFatal} = 0;
> >>>
> >>> Thank you very much, Christophe.  This worked for me as well with
> >>> smbclient 4.3.4,
> >>>
> >>> Have you sent this fix to the developers?
> >>>
> >>
> >> Whoops.  This fixed incremental backups, but full backups now
> >> hang--apparently indefinitely.  No errors, but they never complete. My
> >> most recent full has been running for nearly 19 hours now:
> >>
> >> # ps -ef | grep smbclient
> >> backuppc 27472 27468  7 Mar05 ?01:26:12 /usr/bin/smbclient
> >> \\pelican\C$ -U backup -E -d 1 -c tarmode full -Tc -
> >>
> >
> > This thread is several months old, but I don't see any conclusion in the
> > list archive with respect to the full-backup issue I raised. (I ended up
> > disabling BackupPC back then and going to an alternative backup method,
> > although I would like to move back to the former.) thanks.
> >
>
> As a follow-up, I've re-enabled BackupPC (BackupPC-3.3.1-6.fc24.x86_64
> on Fedora 24), *with* the above patch applied.
>
> Full backups run for a few minutes over 24 hours, then error out and
> re-start themselves.  See log below:
>
>
> 2016-10-28 15:15:00 full backup started for share C$
> 2016-10-29 15:22:07 Aborting backup up after signal ALRM
> 2016-10-29 15:22:12 Got fatal error during xfer (Unexpected end of tar
> archive)
> 2016-10-29 15:22:16 full backup started for share C$
> 2016-10-30 15:35:56 Aborting backup up after signal ALRM
> 2016-10-30 15:36:02 Got fatal error during xfer (Unexpected end of tar
> archive)
> 2016-10-30 15:36:05 full backup started for share C$
> 2016-10-30 16:22:21 Aborting backup up after signal INT
> 2016-10-30 16:22:23 Got fatal error during xfer (Unexpected end of tar
> archive)
> 2016-10-30 16:22:24 full backup started for share C$
>
> --
> Tim Evans   |   5 Chestnut Court
> |   Owings Mills, MD 21117
> |   443-394-3864
>
> 
> --
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> ___
> 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/
>
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
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] Question on using NAS for Pool

2016-08-05 Thread Kris Lou
It's not hard.  Symlink your pool (commonly /var/lib/BackupPC) to your
mounted NFS path (or change the TopDir).  I did it this way for a few years.

That being said (and with the repeated statements of "storage is cheap"), I
never exceeded 3-4 MBps on a backup run.  In the end, it was better to slap
a large drive into a machine and keep the pool local.  Hey, any number of
people might've said that.

-Kris


Kris Lou
k...@themusiclink.net

On Fri, Aug 5, 2016 at 11:05 AM, john boris <jbori...@gmail.com> wrote:

> I searched the archives for using a Synology but haven't found the answer.
> I have a Synology RS815 that I want to use as my storage unit while running
> Backuppc on aanother LINUX Server. Since all of the data, logs and config
> files are in /var/lib/backuppc on the server running backuppc how does on
> change that to an NFS mount?
>
> Pointers to a how-to for this would be great.
>
> TIA
>
> --
> John J. Boris, Sr.
>
>
> 
> --
>
> ___
> 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 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] Semi-urgent: stop backupPC from deleting any files

2016-07-20 Thread Kris Lou
FullKeepCnt
FullKeepCntMin
FullAgeMax
IncrKeepCnt
IncrKeepCntMin
IncrAgeMax

http://backuppc.sourceforge.net/faq/BackupPC.html#_conf_fullagemax_


Kris Lou
k...@themusiclink.net

On Wed, Jul 20, 2016 at 5:07 AM, bpb21 <backuppc-fo...@backupcentral.com>
wrote:

> I have a problem and I don't have time to fully research it.  Is there a
> setting to prevent BackupPC from deleting any files, while still continuing
> to function normally?
>
> I want it to continue pooling and compression as always, but I don't want
> it to delete any old/expired data.  Can this be done, as in a setting
> somewhere?  Or perhaps extend the period it retains data not found on any
> computers (but previously stored) out to a longer time period?
>
> +--
> |This was sent by bp...@hotmail.com via Backup Central.
> |Forward SPAM to ab...@backupcentral.com.
> +--
>
>
>
>
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning
> reports.http://sdm.link/zohodev2dev
> ___
> 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/
>
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev___
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] Backing up BackupPC

2016-07-12 Thread Kris Lou
>
> The problem that you have to deal with is BackupPC's reliance on hard
links within the pool -- and this is supposedly dealt with in 4.x (?).

To resurrect some old discussions (
https://sourceforge.net/p/backuppc/mailman/message/27105491/):


> > * For most people, rsync does not work to replicate a backup server
> > effectively. Period. I think *no* one would suggest this as a reliable
> > ongoing method of replicating a BackupPC server. Ever.
> >
> > * The best methods for this boil down to two camps:
> > 1) Run two BackupPC servers and have both back up the hosts
> > directly
> > No replication at all: it just works.
> > 2) Use some sort of block-based method of replicating the data
> >
> > * Block-based replication boils down to two methods
> > 1) Use md or dm to create a RAID-1 array and rotate members of
> > this array in and out
> > 2) Use LVM to create snapshots of partitions and dd the partition
> > to a different drive
> > (I guess 3) Stop BackupPC long enough to do a dd of the partition
> > *without* lVM)
> >
> I think there is a 3rd camp:
> 3. Scripts that understand the special structure of the pool and pc
> trees and efficiently create lists of all hard links in pc
> directory.
> a] BackupPC_tarPCCOPY
> Included in standard BackupPC installations. It uses a perl
> script to recurse through the pc directory, calculate (and
> cache if you have enough memory) the file name md5sums and
> then uses that to create a tar-formatted file of the hard
> links that need to be created. This routine has been
> well-tested at least on smaller systems.
> b] BackupPC_copyPcPool
> Perl script that I recently wrote that should be significantly
> faster than [a], particularly on machines with low memory
> and/or slower cpus. This script creates a new temporary
> inode-number indexed pool to allow direct lookup of links and
> avoid having to calculate and check file name md5sums. The
> pool is then rsynced (without hard links -- i.e. no -H flag)
> and then the restore script is run to recreate the hard
> links. I recently used this to successfully copy over a pool of
> almost 1 million files and a pc tree of about 10 million files.
> See the recent archives to retrieve a copy.


Also,
http://backuppc.sourceforge.net/faq/limitations.html#some_tape_backup_systems_aren_t_smart_about_hard_links
:

Some tape backup systems aren't smart about hard links
> If you backup the BackupPC pool to tape you need to make sure that the
> tape backup system is smart about hard links. For example, if you simply
> try to tar the BackupPC pool to tape you will backup a lot more data than
> is necessary.
> Using the example at the start of the installation section, 65 hosts are
> backed up with each full backup averaging 3.2GB. Storing one full backup
> and two incremental backups per laptop is around 240GB of raw data. But
> because of the pooling of identical files, only 87GB is used (with
> compression the total is lower). If you run du or tar on the data
> directory, there will appear to be 240GB of data, plus the size of the pool
> (around 87GB), or 327GB total.
> If your tape backup system is not smart about hard links an alternative is
> to periodically backup just the last successful backup for each host to
> tape. Another alternative is to do a low-level dump of the pool file system
> (ie: /dev/hda1 or similar) using dump(1).
> Supporting more efficient tape backup is an area for further development.


I think that this answers your questions about tape requirements if
directly tar'ing the pool.  You might be better off just scheduling host
archives periodically.

I don't know if Jeffrey Kosowsky still monitors the list, but somebody
might have a copy of his scripts (3b, above).  Unfortunately, these were
part of the original BackupPC Wiki, which is no longer available.


Kris Lou
k...@themusiclink.net
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev___
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 of virtual machines

2016-07-06 Thread Kris Lou
Just throwing this out there:  I use a variant of this:
http://www.charleslabri.com/back-up-xenserver-6-to-network-share-with-fancy-scripting-and-lots-of-fun-and-no-downtime/
.

It automates the exporting of snapshots to a mounted share.  You'll have to
modify a few things to make it work; in particular, I would recommend
adding compression to the exports.

-Kris
--
Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
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] Copyright protection

2016-05-19 Thread Kris Lou
How about making the above explanation in a "How to contribute to BackupPC
development", and requiring a short note in the pull request?  Something as
simple as "CLA:agreed"?

Kris


Kris Lou
k...@themusiclink.net

On Thu, May 19, 2016 at 9:37 AM, David Cramblett <da...@functionalchaos.net>
wrote:

> Yes. I think there may be too much emphasis on the term CLA. We could
> refer to the language under whatever term makes the most since. It can be a
> simple as possible and you wouldn't necessarily have to require it with
> each patch submission. It could be in a Contributing document within the
> project, on the wiki, or ?.
>
> David
>
> On Thu, May 19, 2016 at 7:09 AM, Iain Hallam <i...@nineworlds.net> wrote:
>
>> The contributor certificate of origin from the Linux process linked
>> earlier in the thread seems sensible and a basic level for what would
>> be needed. They require a shorthand at the end of every patch which
>> signifies that the contributor is asserting the contents of the
>> certificate:
>>
>>
>> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/SubmittingPatches?id=HEAD#n409
>>
>> It affirms that the code can be contributed to an open-source project
>> and that the sign-off will be public. Real names must be used with an
>> email address.
>>
>> - Iain.
>>
>> On 19 May 2016 at 14:20, Rob Owens <row...@ptd.net> wrote:
>> > - Original Message -
>> >> From: "Mauro Condarelli" <mc5...@mclink.it>
>> >
>> >> Hi,
>> >> please note a this spawned from something Richard Alloway wrote:
>> >>> If I can get approval to do any of this on work's dime (which I think
>> I can do,
>> >>> since contributing to Open Source projects is part of my job), I
>> should be able
>> >>> to get a little of 5:
>> >>>
>> >>> 5) Time
>> >> As I read it this means Richard's employer will explicitly pay for
>> contributions
>> >> to BackupPC.
>> >>
>> >> My concern is said employer may, perhaps in a distant future, possibly
>> after
>> >> being sold to some Evil Empire, decide they still "own" those patches
>> and
>> >> prevent us from redistributing anything which includes them.
>> >> This is the problem we should address (if it exists).
>> >>
>> >> I do not want to open possibility for anyone to make BackupPC
>> proprietary (I
>> >> know what Rob depicts has happened in the past and will happen again),
>> this
>> >> should be explicitly forbidden in whatever solution we finally chose.
>> >>
>> >> Initial question remains: "Should we be concerned"?
>> >> This might be sheer paranoia, but I'm to ignorant in the subject to
>> discern it.
>> >> If someone has a positive answer please elaborate.
>> >>
>> >
>> > My "I'm not a lawyer" opinion is that if the code is GPL, then we
>> really don't
>> > need anything more.  Contributions/patches must then be GPL.  The angry
>> employer
>> > scenario is a possibility I suppose.  Maybe each contributor must
>> sign/swear that
>> > the code is his to give away?  Then if an employer raises a stink,
>> would the
>> > issue be the contributor's problem and not ours?  Maybe, but I kind of
>> doubt it.
>> > It may be a waste of time to try to prepare for this scenario.
>> >
>> > The chances of an angry employer scenario are significantly reduced, in
>> my
>> > opinion, if BackupPC remains a non-commercial project.
>> >
>> > -Rob
>> >
>> >
>> --
>> > Mobile security can be enabling, not merely restricting. Employees who
>> > bring their own devices (BYOD) to work are irked by the imposition of
>> MDM
>> > restrictions. Mobile Device Manager Plus allows you to control only the
>> > apps on BYO-devices by containerizing them, leaving personal data
>> untouched!
>> > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
>> > ___
>> > 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.sou

Re: [BackupPC-users] Status on new BackupPC v4

2016-05-16 Thread Kris Lou
I'm glad to see this get off the ground -- with no disrespect to the great
work that Craig has done over the years.

Just a couple more suggestions (and I'm sure this list will grow as the
project does):

* It might be worth contacting and inviting the individual maintainers of
the primary distributions - EPEL/Debian/et al.  IIRC, most of them are on
this list.  But I'll just echo what most of has already been said in that
we prefer to install via package managers rather than via tarball.
* It might be good to restore/convert the old website (via github), which
had a TON of useful scripts and other bits which are still applicable to
v.3.x.


Kris Lou
k...@themusiclink.net

On Mon, May 16, 2016 at 7:43 AM, Carl Wilhelm Soderstrom <
chr...@real-time.com> wrote:

> On 05/16 10:50 , Adam Goryachev wrote:
> > I would definitely suggest that the lack of FTP backup support in v4 is
> > a non-issue.
>
> I have to agree. After 10+ years of using BPC I've not found many
> situations
> where it would be really useful. Better to get other functionality out
> sooner. As Voltaire said and Kalashnikov exemplified, "the perfect is the
> enemy of the good".
>
> --
> Carl Soderstrom
> Systems Administrator
> Real-Time Enterprises
> www.real-time.com
>
>
> --
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data
> untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> ___
> 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/
>
--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
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] Random Daily Backups remain idle, can be started manually 4.11.16

2016-04-13 Thread Kris Lou
Off the top of my head:
* Check your limits for concurrent jobs (MaxBackups/MaxBackupPCNightlyJobs)
* Check your wakeup schedule
* Verify Ping Commands (and that your clients are on the network X times)
* Check BlackoutPeriods


Kris Lou
k...@themusiclink.net

On Wed, Apr 13, 2016 at 10:40 AM, tschmid4 <tschm...@utk.edu> wrote:

> So sorry,
> Yes, posed as a question;
> What might be preventing all backups from running. Only 2 or 3 run every
> night, 10-12 remain idle.
> There is nothing in any error log that I can find relating to this.
> A separate instance of Apache for backup-pc can be stopped and started.
>
>
> -Original Message-
> From: Les Mikesell [mailto:lesmikes...@gmail.com]
> Sent: Wednesday, April 13, 2016 12:02 PM
> To: General list for user discussion, questions and support <
> backuppc-users@lists.sourceforge.net>
> Subject: Re: [BackupPC-users] Random Daily Backups remain idle, can be
> started manually 4.11.16
>
> On Mon, Apr 11, 2016 at 1:32 PM, tschmid4 <tschm...@utk.edu> wrote:
> >
> > Sporadic backups will run automatically.
> >
>
> Did you mean to ask a question?Does your log file show that
> scheduled backups are starting other times but failing?
>
> --
>   Les Mikesell
> lesmikes...@gmail.com
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager Applications Manager provides deep performance insights into
> multiple tiers of your business applications. It resolves application
> problems quickly and reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> 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/
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> 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/
>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
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] BackupFilesOnly not working

2016-02-18 Thread Kris Lou
Just tried it.  Works for me in a quick test with rsync, Share name = *,
Files = *.conf, so wildcards are accepted there (at least with rsync).

Are you excluding anything that might conflict?


Kris Lou
k...@themusiclink.net

On Thu, Feb 18, 2016 at 5:45 AM, BrunoVonTroba <
backuppc-fo...@backupcentral.com> wrote:

> I have checked it also in 3.1.0 version - the same issue
>
> +--
> |This was sent by bruno.von.tr...@gmail.com via Backup Central.
> |Forward SPAM to ab...@backupcentral.com.
> +--
>
>
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
> ___
> 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/
>
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___
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] Retiring hosts without losing backups

2016-01-29 Thread Kris Lou
*$Conf{BackupsDisable} = 0;*

Disable all full and incremental backups. These settings are useful for a
client that is no longer being backed up (eg: a retired machine), but you
wish to keep the last backups available for browsing or restoring to other
machines.

There are three values for $Conf{BackupsDisable}
<http://backuppc.sourceforge.net/faq/BackupPC.html#_conf_backupsdisable_>:

  0Backups are enabled.

  1Don't do any regular backups on this client.  Manually
   requested backups (via the CGI interface) will still occur.

  2Don't do any backups on this client.  Manually requested
   backups (via the CGI interface) will be ignored.

In versions prior to 3.0 Backups were disabled by setting $Conf{FullPeriod}
<http://backuppc.sourceforge.net/faq/BackupPC.html#_conf_fullperiod_> to -1
or -2.


Kris Lou
k...@themusiclink.net

On Fri, Jan 29, 2016 at 12:29 PM, Kenneth Porter <sh...@sewingwitch.com>
wrote:

> I've got backups for quite a few hosts that have been retired. I regularly
> get nag emails telling me that these hosts haven't been backed up recently.
> What's the best way to tell BPC to stop sending notification emails for a
> host without deleting its data?
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
> ___
> 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/
>
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
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] Retiring hosts without losing backups

2016-01-29 Thread Kris Lou
In case it wasn't clear (copy/paste of docs), BackupsDisable = 2.

http://backuppc.sourceforge.net/faq/BackupPC.html#_conf_backupsdisable_


Kris Lou
k...@themusiclink.net

On Fri, Jan 29, 2016 at 12:44 PM, Kris Lou <k...@themusiclink.net> wrote:

> *$Conf{BackupsDisable} = 0;*
>
> Disable all full and incremental backups. These settings are useful for a
> client that is no longer being backed up (eg: a retired machine), but you
> wish to keep the last backups available for browsing or restoring to other
> machines.
>
> There are three values for $Conf{BackupsDisable}
> <http://backuppc.sourceforge.net/faq/BackupPC.html#_conf_backupsdisable_>:
>
>   0Backups are enabled.
>
>   1Don't do any regular backups on this client.  Manually
>requested backups (via the CGI interface) will still occur.
>
>   2Don't do any backups on this client.  Manually requested
>backups (via the CGI interface) will be ignored.
>
> In versions prior to 3.0 Backups were disabled by setting
> $Conf{FullPeriod}
> <http://backuppc.sourceforge.net/faq/BackupPC.html#_conf_fullperiod_> to
> -1 or -2.
>
>
> Kris Lou
> k...@themusiclink.net
>
> On Fri, Jan 29, 2016 at 12:29 PM, Kenneth Porter <sh...@sewingwitch.com>
> wrote:
>
>> I've got backups for quite a few hosts that have been retired. I regularly
>> get nag emails telling me that these hosts haven't been backed up
>> recently.
>> What's the best way to tell BPC to stop sending notification emails for a
>> host without deleting its data?
>>
>>
>> --
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
>> ___
>> 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/
>>
>
>
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
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] BPC 4 very slow

2016-01-27 Thread Kris Lou
I've spent entirely too much time reading the v4 docs, but here's how I
interpret it (and take with a grain of salt as I don't run v4):

Your $Conf{FullKeepCnt} = 1, which means to keep 1 filled backup. (Not
necessarily 1 Full backup)

After a successful backup (full or incr), the most recent is your 1 filled
backup, and so it removes the oldest filled which happens to be your
previous Full.  Then it'll try to take a new Full on the next run.

You might have stumbled upon an edge case where FullKeepCnt <
FullKeepCntMin.  And I also wonder about the integrity of the incr backups
where the filled source of reverse deltas has been removed (i.e. #1, based
upon #2, but then #2 was removed after successful completion of #3).

But yeah, experiment with FullKeepCnt?  If you want to take 1 full every 30
days, then FullKeepCnt = 2 ... I would think.

At the very least, thanks for bringing some more v4 attention to the list.

-Kris




Kris Lou
k...@themusiclink.net

On Wed, Jan 27, 2016 at 9:04 AM, Holger Parplies <wb...@parplies.de> wrote:

> Gandalf Corvotempesta wrote on 2016-01-27 11:28:24 +0100 [Re:
> [BackupPC-users] BPC 4 very slow]:
> > [basically the same thing over and over again]
>
> In case it's not obvious, adjust the settings so they specify to do what
> you
> want. Before that, preferably, understand the settings. Use the suitable
> tool
> for your purpose. You keep repeating that you get no advantage from
> pooling,
> because all your files constantly change, and thus you must keep only
> minimal
> history. But you want to restore things you are not keeping. Strange.
>
> Hope that helps.
>
> Regards,
> Holger
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
> ___
> 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/
>
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___
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_zipcreate file dont open in windows

2015-12-22 Thread Kris Lou
Sorry to necro this, but we just had to deal with it.  It looks like this
is a bug in the Perl module Archive::Zip 1.30, which is unfortunately
included in RHEL-6 clones (in my case).  However, it apparently has been
resolved with v1.49+ or so (
https://rt.cpan.org/Public/Bug/Display.html?id=54827), so maybe somebody
who installs via CPAN can check?

However, we were able to use 'ditto' on OSX to extract files from these
faulty zips.  Just wanted to share.




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 Client general information and status

2015-12-15 Thread Kris Lou
HI Tim,

I don't know what to tell you ... I just quickly set up and backed-up a few
folders on Windows 2012R2.  Can you browser the hidden share directly via
smbclient on the BPC box?

My old notes revealed the following registry tweaks (we jumped from XP-8,
so didn't apply):

Issues
==
1. Winexe blocked by Windows "simple file sharing" mode

Some versions of Windows operate in so-called "simple file sharing" mode.
In this mode, when an attempt is made to access the system over the
network using credentials that are local to that server or client,
Windows will only provide guest level access.

To fix, you have to set the "Network Access: Sharing and security model
for local accounts" to "Classic – local users authenticate as themselves".
Access it via Start > Run > secpol.msc > Local Policies > Security Options,
and change "Network Access: Sharing and security model for local accounts"
to "Classic - local users authenticate as themselves".

Ref: 
http://itbin.blogspot.com/2010/10/psexec-logon-failure-and-access-denied.html

2. Winexe blocked by Windows Remote User Account Control

The LocalAccountTokenFilterPolicy setting affects how administrator
credentials are applied to remotely administer the computer.

To use winexe with a Windows Vista or Windows 7 machine it is
necessary to configure a registry setting as follows.

Click on the Windows "Start" icon, enter "cmd" and then press
CTRL-SHIFT-ENTER. In the console window that subsequently opens, enter
the following command.

  reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\system"
/v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f

Ref: http://support.microsoft.com/kb/942817



Kris Lou
k...@themusiclink.net

On Tue, Dec 15, 2015 at 12:48 PM, Timothy J Massey <tmas...@obscorp.com>
wrote:

> Hello!
>
> Just a quick writeup:  the latest version (1.3.4) of the BackupPC "client"
> as assembled by Michael Stowe (http://www.michaelstowe.com/backuppc/ ) is
> working well for me.  This includes multi-drive systems!  Thank you again
> Michael for your efforts on this:  it is really appreciated.
>
> I have found only one issue with the package:  if you use an
> authentication name other than Administrator during the install,
> rsyncd.conf is not updated to reflect that.  You have to modify it by hand.
>
> As for using it with Windows Server beyond 2008 (including 2008R2):  I
> have yet to make this work.  When I use either the winexe commonly
> available for CentOS 6 (that's version 1.0) or a custom-compiled version
> that was given to me (that's version 1.1) I get the same error:  ERROR:
> Failed to open connection - NT_STATUS_OBJECT_NAME_NOT_FOUND
>
> This is *not* due to authentication issues or firewall issues.  It is most
> likely because of security improvements made between Server 2008 and
> 2008R2.  I've yet to figure out how to adjust these to allow winexe to
> work--any version of winexe, for that matter.
>
> For the assistance of others, here are my setup instructions.  Hopefully
> they may simplify things for you.  I will say, it's *really* nice to look
> at a Windows backup now and see zero errors...  :)
>
> Tim Massey   *Out of the Box Solutions, Inc.*
> * Creative IT Solutions Made Simple!*
> *http://www.OutOfTheBoxSolutions.com*
> <http://www.outoftheboxsolutions.com/>
> *tmas...@obscorp.com* <tmas...@obscorp.com>   22108 Harper Ave.
> St. Clair Shores, MI 48080
> Office: (800)750-4OBS (4627)
> Cell: (586)945-8796
>
>
> Start BPC Client installer (1.34)
> Accept/Next (EULA)/Next (Path:  C:\BackupPC)
> rsync username:  backupuser
> rsync password:  
> Install/Close
>
> (Modify C:\BackupPC\rsyncd.conf:  use write.exe from Administrator prompt)
> (Change auth users to use the rsync user you will use in the BPC-Client
> auth.file)
> auth users = backupuser
> (If you will be doing additional drives (D, E, etc.) copy entire [C]
> section and modify for D:
> Change share from [C] to [D]
> Change path from /B/ to /A/
> NOTE:  You will need to use the same drive letters as is used in
> PART.CMD)
> (Save and exit)
> (If more than C:)
> (Modify C:\BackupPC\part.cmd:  use write.exe from Administrator prompt)
> (Modify SET PART= line for multiple drives:  Example:  SET PART=C: D: )
> (Modify SET MAP= line for multiple drives:  Example:  SET MAP=B: A: )
> (Save and exit)
>
> (On BackupPC Server:)
> mkdir /etc/BackupPC/pc/BPC-Client
> (extract backuppc.tar.gz to /etc/BackupPC/pc/BPC-Client)
> (Create a new file:)
> vi /etc/BackupPC/pc/BPC-Client/backuppc/auth.file
> (Paste the following:)
> domain=YOURDOMAIN
> username=YourUser
> password=
> (Save and exit)

Re: [BackupPC-users] winexe for Windows 8 / 2012 or greater for BackupPC client (Was: Re: A question about partial backups and fatal errors)

2015-12-09 Thread Kris Lou
I've had to build it myself for winexe-waf, but unfortunately the lfarkas
repo doesn't contain the necessary libraries anymore to do that with CentOS
6.  (Haven't looked into building on CentOS 7 yet.)  Other than that, I
think I found a repo on the opensuse servers seemingly attached to the one
of the winexe devs (
http://download.opensuse.org/repositories/home:/ahajda:/winexe/), but I
haven't used it.  The version numbers and datestamps don't really match up
for CentOS 6 and "newer" versions of winexe.



Kris Lou
k...@themusiclink.net

On Wed, Dec 9, 2015 at 10:10 AM, Timothy J Massey <tmas...@obscorp.com>
wrote:

> Michael Stowe <mst...@chicago.us.mensa.org> wrote on 12/04/2015 06:17:01
> PM:
>
> > I'm *pretty* sure both these things are fixed -- I took a quick look at
> > the code on github and it looks like it'll handle 7 drives in the
> > scripts and at least it thinks it detects 2012 (I'm pretty sure I tested
> > this, but I could be easily convinced it doesn't work if somebody
> > happens to know better.)
>
> It seems that Windows 2012 and higher needs a custom-compiled version of
> winexe that is different from the stable one linked to from the BackupPC
> client page.  Details here:
> https://www.reddit.com/r/linuxadmin/comments/2xsmge/winexe_1001_for_centos_6_x86_64/
>
> I haven't been able to find one for CentOS 6 yet.  I'm surprised that
> there isn't one to be had on the Interwebs;  I'll have to find some time to
> set up the specific dev environment for that.  Unless I'm missing something
> obvious?
>
> Tim Massey
>
>   *Out of the Box Solutions, Inc.*
> * Creative IT Solutions Made Simple!*
> *http://www.OutOfTheBoxSolutions.com*
> <http://www.outoftheboxsolutions.com/>
> *tmas...@obscorp.com* <tmas...@obscorp.com>   22108 Harper Ave.
> St. Clair Shores, MI 48080
> Office: (800)750-4OBS (4627)
> Cell: (586)945-8796
>
>
> --
>
> ___
> 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 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] winexe for Windows 8 / 2012 or greater for BackupPC client (Was: Re: A question about partial backups and fatal errors)

2015-12-09 Thread Kris Lou
You've Got Mail.

It looks like the mingw-w64 libraries in EPEL (instead of lfarkas) are
newer than the winexe-waf source references.  When I get around to it, I'll
rebuild in x64 against EPEL sources and see how well that works.

-Kris
--
___
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] A question about partial backups and fatal errors

2015-12-04 Thread Kris Lou
Here's mine:

If I recall, just add additional lines to
backuppc.cmd/vrsync.cmd/rsyncd.conf for additional drives.  I'm not 100%
sure about this, but I'd imagine it's something like what I have below.
Mine is edited for in-place rsync restores (at your own risk!), but you get
the point.

Also, I'm too lazy to push out Michael's newer version to my clients, but
previously pushed out all vshadow executables and use a script in
backuppc.cmd to determine which copy to use.  2008r2 works with Windows
8.1, but haven't tried for 2012 yet.  (DL vshadow from here:
http://edgylogic.com/blog/vshadow-exe-versions/)

Hope this helps.

-Kris

backuppc.cmd

>
> cd \backuppc
> IF %PROCESSOR_ARCHITECTURE% == x86set VSHADOW=vshadow-2008-r2-x86.exe
> IF %PROCESSOR_ARCHITECTURE% == AMD64  set VSHADOW=vshadow-2008-r2-x64.exe
> ver | find /i "Windows XP"
> IF not ERRORLEVEL 1 set VSHADOW=vshadow-xp.exe
> ver | find /i "5.2"
> IF not ERRORLEVEL 1 set VSHADOW=vshadow-2003.exe
> IF "%1" == "restore"
>vsrsync.cmd restore
> ) ELSE (
>vshadow -script=vss-setvar.cmd -exec=vsrsync.cmd c:  additional drive here
> )


vsrsync.cmd

REM @ECHO OFF
> call vss-setvar.cmd
> cd \BackupPC
> SET CWRSYNCHOME=\BACKUPPC
> SET CYGWIN=nontsec
> SET CWOLDPATH=%PATH%
> SET PATH=\BACKUPPC;%PATH%
> IF (%1) == () (
>dosdev B: %SHADOW_DEVICE_1%  drives, change Shadow_device env variable
>REM Go into daemon mode, we'll kill it once we're done
>rsync -v -v --daemon --config=rsyncd.conf --no-detach
> --log-file=diagnostic.txt
>dosdev -r -d B:  ) ELSE (
>REM %1 = "restore"
>rsync -v -v --daemon --config=rsyncd-restore.conf --no-detach
> --log-file=diagnostic.txt
> )


rsyncd.conf

use chroot = false
> strict modes = false
> pid file = rsyncd.pid
> [C]   (different path)
> path = /cygdrive/B/
> auth users = *auth users*
> secrets file = *secrets file*


rsyncd-restore.conf

use chroot = false
> strict modes = false
> pid file = rsyncd.pid
> [C]   (different path)
> path = /cygdrive/C/
> auth users = *auth users*
> secrets file = *secrets file*
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140___
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, <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


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] Forbidden You don't have permission to access /BackupPC on this server.

2015-09-21 Thread Kris Lou
In both cases (6, 7), your easiest path of installation is probably to just
hook into EPEL repositories and install BackupPC (3.3.1) via yum.
Certainly a lot easier than finding and installing dependencies manually.

I'm in a similar dilemma with regards to CentOS 7 upgrades, but I figure I
have 5 more years to deal with it.  Hopefully some kind soul will be
maintaining 4.x in EPEL by then.

p.s. Thanks to Bernard Johnson for maintaining the current version.


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] manual start backup on dhcp laptop

2015-05-19 Thread Kris Lou
The easy way is to name the host (in BackupPC) with the IP Address.
Otherwise, use the ClientNameAlias.

http://backuppc.sourceforge.net/faq/BackupPC.html#_conf_clientnamealias_


Kris Lou
k...@themusiclink.net

On Tue, May 19, 2015 at 9:16 AM, zdravko backuppc-fo...@backupcentral.com
wrote:

 I am not sure I understand this but it doesn't work in my configuration.
 Server is on network 192.168.0
 while client has IP 192.168.55.1.
 I don't see  a way to configure this IP into bakupPC.
 When run from browser with dhcp set, backupPC finds wrong IP, that is the
 gateway IP: 192.168.0.225 which is a router to VPN netowrk. manual ping to
 client works. nmblookup -A 192.168.55.1 get proper response.
 If run with dhcp false, then there is no way to set IP address.
 Automatic network scanning doesn't work into other networks. Don't know
 why. It works if client is on 192.168.0 network, only. And automatic backup
 works when dhcp is set. Scanning the network finds my client laptop.
 Somehow I can't do nightly backup. Manual backup wouldn't schedule,
 automatic works only from my office, during working hours, of course.

 +--
 |This was sent by zdravko.balo...@gmail.com via Backup Central.
 |Forward SPAM to ab...@backupcentral.com.
 +--




 --
 One dashboard for servers and applications across Physical-Virtual-Cloud
 Widest out-of-the-box monitoring support with 50+ applications
 Performance metrics, stats and reports that give you Actionable Insights
 Deep dive visibility with transaction tracing using APM Insight.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
 ___
 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/

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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] manual start backup on dhcp laptop

2015-05-18 Thread Kris Lou
For my VPN clients that need backups, I assign a static address to the VPN
endpoint.  Then I use this as a ClientNameAlias and also bypass DNS lookups
with the NmblookupFindHostCommand.

If your client is NAT'ed behind the gateway, then you'll have to expose it
to BackupPC somehow.  But whether it's mapped by the VPN or not, you just
need to make sure that the appropriate routing is configured.

Regarding disabling the schedule, look at BackupDisable=1.


Kris Lou
k...@themusiclink.net

On Sun, May 17, 2015 at 4:08 AM, zdravko backuppc-fo...@backupcentral.com
wrote:

 Yes. It can find dhcp laptop on its own. Only when backup is requested
 manualy it does nothing.
 Actually, I would like to allow manual backups only, since I don't want
 backup to start any time user connects his laptop, specially not full
 backups.
 Another thing is on VPN. It finds gateway IP (tunneling) instead of real
 IP which is hidden behind.

 +--
 |This was sent by zdravko.balo...@gmail.com via Backup Central.
 |Forward SPAM to ab...@backupcentral.com.
 +--




 --
 One dashboard for servers and applications across Physical-Virtual-Cloud
 Widest out-of-the-box monitoring support with 50+ applications
 Performance metrics, stats and reports that give you Actionable Insights
 Deep dive visibility with transaction tracing using APM Insight.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
 ___
 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/

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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] manual start backup on dhcp laptop

2015-05-15 Thread Kris Lou
Can the BackupPC server resolve an IP address for the client?  Can you
manually run the $nmblookup commands for that specific client, and verify
that it is correct?


Kris Lou
k...@themusiclink.net

On Thu, May 14, 2015 at 4:52 AM, zdravko backuppc-fo...@backupcentral.com
wrote:

 Oh, sorry, there is a log line saying:
 User ... requested backup of 
 with coirrect hostname and dhcp IP address.
 But, nothing happens after.

 +--
 |This was sent by zdravko.balo...@gmail.com via Backup Central.
 |Forward SPAM to ab...@backupcentral.com.
 +--




 --
 One dashboard for servers and applications across Physical-Virtual-Cloud
 Widest out-of-the-box monitoring support with 50+ applications
 Performance metrics, stats and reports that give you Actionable Insights
 Deep dive visibility with transaction tracing using APM Insight.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
 ___
 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/

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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 manage disk space?

2015-04-15 Thread Kris Lou
On Wed, Apr 15, 2015 at 12:00 PM, Dave Sill de5-backu...@sws5.ornl.gov
wrote:

 A corollary would be: how do I know that the space BackupPC is using
 doesn't include a bunch of cruft like files from systems that have been
 removed from BackupPC, or file systems that have been removed, ...


Somebody might have a script to check this, but you may have some backups
that are lacking configured hosts.  As I recall, when you delete a host
from the interface, the data needs to be manually removed (and I believe
there is a notification alluding to this).  However, if it's just file
systems, the files are likely pooled in other backups.


Kris Lou
k...@themusiclink.net
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___
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] Config example for backing up linux host, local disk drive

2015-03-10 Thread Kris Lou
Destination path?  TopDir.

 From the web GUI:
Edit Config - Server - Install Path - TopDir

 From the config.pl file:

$Conf{TopDir} = '/path/to/location';



Kris Lou
k...@themusiclink.net

On Tue, Mar 10, 2015 at 3:49 PM, Philip Prindeville 
philipp_s...@redfish-solutions.com wrote:

 Hi.

 I have a Linux desktop box with a WD USB 3.0 external drive which I want
 to use for backups.

 I was looking through the configuration documentation and while there’s a
 lot of it, I thought there would be an example of something trivial but
 there wasn’t.

 I have the drive locally attached and mounted as /mnt/mybook and the
 filesystem has the top-level directory “backups” in it.

 What config variables do I need to set in /etc/BackupPC/config.pl to make
 local backups to a local directory?

 Should be trivial, right?  But I couldn’t find an example.

 Thanks,

 -Philip



 --
 Dive into the World of Parallel Programming The Go Parallel Website,
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for
 all
 things parallel software development, from weekly thought leadership blogs
 to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.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/

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.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 rsyncd vor windows -- is there a good client?

2015-01-30 Thread Kris Lou
I use a modification of Michael Stowe's winexe/cygwin implementation:
http://www.goodjobsucking.com/?p=62

It looks like the updated 1.2 installer automatically picks and installs
the correct version of vshadow, according to the client OS.  Nice work,
Michael!

-Kris


Kris Lou
k...@themusiclink.net

On Fri, Jan 30, 2015 at 3:03 AM, boospy backuppc-fo...@backupcentral.com
wrote:

 Hello,

 we use Backuppc with Ubuntu 14.04 LTS. We backup Linux and Windowsshares.
 On Linux we use rsync and never had problems with. On windows in the past
 we used SMB, but we hat a lot of login and permission problems, so we
 changed to rsyncd (Delta Copy). That works for an half an year, but also
 problems with filepermissions on recovery. Recoverd files had permissions
 000. So we was not able to recover files directly. This time on some
 Servers deltacopy does not work anymore. There are timeouts, no error
 messages.

 So we need an solution. Is there anoter rsyncclient/daemon for windows, or
 an sshserver for windows. We have done this with cygwin fine, but only on
 servers with no domain. But we have an every server the windowsdomain, so
 we were not able to fix this with cygwin on windowsdomain.

 Thanks for help
 Best Regards

 +--
 |This was sent by li...@osit.cc via Backup Central.
 |Forward SPAM to ab...@backupcentral.com.
 +--




 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.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/

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.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] Status of the wiki (was: Re: web GUI downloading BIN file Ubuntu 14.04)

2014-11-20 Thread Kris Lou
On Thu, Nov 13, 2014 at 8:31 AM, Holger Parplies wb...@parplies.de wrote:

 I'd volunteer to help with that (both putting information online and
 cleaning
 up).


As would I.


Kris Lou
k...@themusiclink.net
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/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] Wiki?

2014-10-29 Thread Kris Lou
Is it just me, or did we lose the wiki?  I haven't looked at it in a while,
but can't find it now.

http://backuppc.wiki.sourceforge.net just points to Sourceforge.

-Kris




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] very slow backup on windows

2014-09-17 Thread Kris Lou
auth.sh is a simple client credentials file that holds arguments that are
passed to winexe in Michael's scripts.

It looks something like:

UNAME='username'
WRKGRP='domain/workgroup'
PWD='password'



Change the ownership and permissions so that it's only readable by the
backuppc user.

Did you read the (legacy) documentation page that explains the execution
chain?  That early version has those variables embedded in the
preusercmd.sh but it was a bit insecure, so it was put into an external
file.




Kris Lou
k...@themusiclink.net
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/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] Best backup system for Windows clients

2014-08-25 Thread Kris Lou
As an aside, the Winexe solution is nice in that all backups are initiated
via your BackupPC server and do not require instances of cygwin to be
running as a service on your client, as it is activated on demand.

That being said, you will likely need to compile it from source in order to
use on Windows 8.1 clients (at least for a CentOS 6 host).  Older versions
of winexe will still work with Windows 8 (and I don't have any 2012 boxes,
so can't verify there).


Kris Lou
k...@themusiclink.net


On Mon, Aug 25, 2014 at 6:49 AM, backu...@kosowsky.org wrote:

 Michael Stowe wrote at about 08:16:09 -0500 on Monday, August 25, 2014:
But I read that some other users use the Volume Shadow Copy Service
which seems to be more reliable
(
 http://urkomasse.blogspot.it/2012/10/using-backuppc-with-windows-server-2008.html
 ).
  
   The volume shadow copy service doesn't back up anything, it simply
   provides a way of reading open files, which is otherwise semantically
   prevented by Windows -- as well as supporting VSS providers which ensure
   that data is in a consistent state, which can be more specialized for
   applications like SQL Server.

 Beyond just allowing access to open files and ensuring consistent
 state, VSS also gives you a system point-in-time snapshot which is a
 helpful notion for backups and would be missed by rsync alone where
 files may be added/deleted/changed during the backup process itself.

 Perhaps part of the OP's confusion is that VSS is an integral part of
 many vendor backup solutions (including Microsoft's native backup
 application).



 --
 Slashdot TV.
 Video for Nerds.  Stuff that matters.
 http://tv.slashdot.org/
 ___
 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/

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
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 list of enhancements for 4.0 alpha/wish

2014-08-21 Thread Kris Lou
Only Craig knows the full list for sure, but what we know is here:
http://backuppc.sourceforge.net/BackupPC-4.0.0alpha3_doc.html#BackupPC-4.0




Kris Lou
k...@themusiclink.net
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
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 Client and Windows Server 2012 / 2012 R2

2014-01-22 Thread Kris Lou
I just copy the files directly to the drive (via WPKG) instead of using the
installer (which is easier since I edit some of the scripts anyway).

I don't have any Server 2012 boxes, but vshadow-2008-r2 works for Windows
8.  I pulled the files from http://edgylogic.com/blog/vshadow-exe-versions/.

Then my backuppc.cmd looks like:

IF %PROCESSOR_ARCHITECTURE% == x86set VSHADOW=vshadow-2008-r2-x86.exe
IF %PROCESSOR_ARCHITECTURE% == AMD64  set VSHADOW=vshadow-2008-r2-x64.exe

ver | find /i Windows XP
IF not ERRORLEVEL 1 set VSHADOW=vshadow-xp.exe

ver | find /i 5.2
IF not ERRORLEVEL 1 set VSHADOW=vshadow-2003.exe

plus stuff for in-place restore

So, I just include the 4 versions of vshadow to all clients, and let the
script figure which one to use.



Kris Lou
k...@themusiclink.net
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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] Using external USB disk for BackupPC Data directory

2014-01-16 Thread Kris Lou
On Thu, Jan 16, 2014 at 2:55 PM, Adam Hardy
adam.ha...@cyberspaceroad.comwrote:

 2014-01-16 22:44:37 Can't create a test hardlink between a file in
 /media/adam/WDPassport2T/backuppc/pc and
 /media/adam/WDPassport2T/backuppc/cpool.  Either these are different file
 systems, or this file system doesn't support hardlinks, or these
 directories don't exist, or there is a permissions problem, or the file
 system is out of inodes or full.  Use df, df -i, and ls -ld to check each
 of these possibilities. Quitting...


What's the filesystem?  If you plugged the drive in fresh out of the box,
it'll probably be FAT32, which doesn't support hardlinks.


Kris Lou
k...@themusiclink.net
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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] What file system do you use?

2013-12-16 Thread Kris Lou
FWIW, it looks like RHEL 7 (plus clones) will now default to XFS.


Kris Lou
k...@themusiclink.net


On Mon, Dec 16, 2013 at 9:17 AM, Michael Stowe
mst...@chicago.us.mensa.orgwrote:


  I'm working on bringing back a backuppc instance. It is very large 3+TB.
  The issue I'm having is e2fsck is taking an extremely long time to
 finish.
  It is stuck on the checking directory structure. We are going on 48
 hours.
 
  So I'm wondering what other file systems do you guys use? Any
  recommendations of one that may be more efficient or better suited for
  such a large volume on Bakcuppc? Because once I have this machine back up
  I'm actually going to add more drives.
 
  Thanks,
  mjr

 I notice a few people have either suggested or recommended xfs.  Having
 done a technical review specifically for BackupPC for a mixed environment
 (Windows and Unix backups) xfs is my first choice, for both performance
 and functionality.  It avoids the whole fsck thing entirely, and as a
 dubious bonus, is capable of defragmentation in situ.  One feature that it
 lacks -- and probably will always lack -- is the ability to shrink, so if
 you need that, look elsewhere.  (Personally, this has never come up for
 me.)

 jfs doesn't have quite the same fsck advantage, but is a close second in
 most categories.

 reiserfs/4 I'd rule out due to abandonment and reliability issues.


 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics
 Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/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/

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/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] Recommended CYGWIN SSH Rsync guide

2013-12-04 Thread Kris Lou
You'll have to edit the scripts on the client machine to kick off VSS on
additional drives.  Then you'll edit the rsyncd mount points accordingly.

If I recall, the applicable files are backuppc.cmd, vsrsync.cmd, and
rsyncd.conf

There are also differing versions of vshadow depending on your client OS (
http://edgylogic.com/blog/vshadow-exe-versions/).  I just include them all
and edit the scripts to choose accordingly.

Also, bear in mind that Michael's solution isn't really meant for in-place
restores (you can alter it to do it, but this can potentially cause more
trouble than it's worth).  But 99% of the time we only have to restore a
single file so it's easy enough from the web interface.



Kris Lou
k...@themusiclink.net


On Wed, Dec 4, 2013 at 7:08 AM, Henry Burroughs 
hburrou...@stjohnseagles.org wrote:

 Wow!

 The main issue I see is it can only volume shadow copy the C drive.   I
 have other drives on some of my servers (ie: e, f) etc.   has anyone found
 a way around this?
 Henry B. burroughs, III
 Director of Technology
 St. John's Episcopal Parish Day School
 www.stjohnseagles.org


 On Tue, Dec 3, 2013 at 6:04 PM, John Habermann jhaberm...@cook.qld.gov.au
  wrote:

 Just in case you haven't come across it I have found Michael's windows
 Backuppc client http://www.michaelstowe.com/backuppc/ works quite well
 for backing up windows servers using rsync. It is using rsyncd rather
 than rsync over ssh so might not be of use to you for that reason.

 On Tue, 3 Dec 2013 10:10:57 -0500
 Henry Burroughs hburrou...@stjohnseagles.org wrote:

  I am in the process of trying to setup CYGWIN SSH  Rsync to backup my
  Windows Servers. Right now my problem appears to be a privilege
  issue. The user I am using eagles\backuppc has all the correct
  permissions when using CYGWIN locally on the machine. However when I
  use SSH and have privilege separation enabled, the user is unable to
  access certain folders with a Permission Denied message.
 
  I was using this as a guide:
  http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html#Cygwin
  Installation
 
 
  I am also attempting to script the whole installation using Wizard's
  Apprentice, Batch, and the 7-zip SFX installer. That way it will
  walk you through the whole CYGWIN, SSH, and RSYNC configuration. If
  I ever get it finished and tested on all my servers, I'll post it
  somewhere.
 


 --
 John Habermann|Senior IT Officer|Corporate Services

 Cook Shire Council

 Phone|07 4069 5444 Fax|07 4069 5423

 Email|jhaberm...@cook.qld.gov.au mailto:jhaberm...@cook.qld.gov.au
 Website|www.cook.qld.gov.au http://www.cook.qld.gov.au/

 Address|10 Furneaux Street (PO Box 3), Cooktown, Qld, 4895

 This email transmission is intended only for the use of the person or
 entity to which it is addressed and may contain information that is
 privileged, confidential and exempt from disclosure by law. If you are
 not the intended recipient, any dissemination, distribution or copying
 of this transaction is strictly prohibited. The sender accepts no
 responsibility for any malware, grey ware, spy ware, viral applications
 or code accompanying this transmission. The person or entity in
 receipt of this transmission indemnifies the sender (be they
 individual or corporation) against any loss incurred through the
 receipt/acceptance/clearance/opening of this transmission. If you have
 received this transmission in error, please notify us immediately by
 email, facsimile or telephone and disregard the email.

 --

 Sponsored by Intel(R) XDK
 Develop, test and display web and hybrid apps with a single code base.
 Download it for free now!

 http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/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/




 --
 Sponsored by Intel(R) XDK
 Develop, test and display web and hybrid apps with a single code base.
 Download it for free now!

 http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/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/


--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk___
BackupPC-users mailing list
BackupPC-users

Re: [BackupPC-users] Backing up macs

2013-12-04 Thread Kris Lou
I haven't had any problems with backing up OSX clients via rsync over SSH.
 But then again, I only back up home directories, the largest being around
150GB.

Perhaps you need more memory in your BPC server?



Kris Lou
k...@themusiclink.net


On Wed, Dec 4, 2013 at 9:48 AM, Justin Best jus...@mjbest.com wrote:

 I’m a user of BackupPC from way back (2005-ish). Love the product (thanks
 Craig!!) and I”m looking forward to hearing any experiences with 4.0

 I’ve got a couple sites with about 10-15 Macintosh machines (OS X 10.6,
 10.7, 10.8, and 10.9) that I’m considering using BackupPC at. Does anybody
 else use BackupPC for backing up OSX machines? I’ve tried testing with
 rsync, but it seemed to simply hang when I tried to back up the entire
 folder structure (beginning with /). rsync also choked when I tried to
 backup my home directory in its entirety. It (rsync) seems only to work
 when I backup a small subset of data (I can successfully backup
 /Users/Justin/Desktop without any problems)

 I’ve seen some suggestions that say “use xtar”, but don’t explain how to
 do this. I’ve tried installing xtar from helios.de, assuming that’s what
 others are referring to, but attempts to back up (choosing xfer method
 “tar”, setting the command to /usr/bin/xtar) and using this result in
 errors:

 Contents of file /var/lib/backuppc/pc/
 justins-air.nwtechs.com/XferLOG.bad.z, modified 2013-12-04 09:47:29

 

 Running: /usr/bin/ssh -q -x -n -l root justins-air.nwtechs.com env LC_ALL=C 
 /usr/bin/xtar -c -v -f - -C /Users/Justin/Desktop --totals .
 full backup started for directory /Users/Justin/Desktop
 Xfer PIDs are now 1317,1316
 tarExtract: Use of qw(...) as parentheses is deprecated at 
 /usr/share/backuppc/lib/BackupPC/Storage/Text.pm line 302.
 tarExtract: Use of qw(...) as parentheses is deprecated at 
 /usr/share/backuppc/lib/BackupPC/Lib.pm line 1425.
 Tar exited with error 65280 () status
 tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
 filesTotal, 0 sizeTotal
 Got fatal error during xfer (No files dumped for share /Users/Justin/Desktop)
 Backup aborted (No files dumped for share /Users/Justin/Desktop)
 Not saving this as a partial backup since it has fewer files than the prior 
 one (got 0 and 0 files versus 0)

 

 Anyone have advice for me? Should I give up and use a commercial tool like 
 Retrospect for the macs, or should I press on?


 Justin Best
 360.513.1489



 --
 Sponsored by Intel(R) XDK
 Develop, test and display web and hybrid apps with a single code base.
 Download it for free now!

 http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/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/


--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/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] backuppc on NAS

2013-11-25 Thread Kris Lou
BackupPC has been installed on QNAP devices (
http://wiki.qnap.com/wiki/How_to_install_the_BackupPC_application), but
there's a very real chance that bi-monthly firmware upgrades will break it.
 That and the fact that we're waiting for QNAP to upgrade some packages to
close some security holes means that it wasn't worth it for me to sit on a
particular firmware for a long period of time.

My BackupPC server (dedicated old hardware) writes the pool to a
NFS-mounted share on the NAS.  All of the things that Arnold mentioned
apply ... in all honesty, I sometimes feel that it would be better to just
take an old desktop box, dump a bunch of 3TB+ drives in, set up a software
raid and let it do it's thing.

It'd certainly be cheaper.  Heck, for the price of some of these NAS's, you
can build your 2nd server to backup your primary BackupPC server.


Kris Lou
k...@themusiclink.net


On Mon, Nov 25, 2013 at 1:37 AM, zdravko
backuppc-fo...@backupcentral.comwrote:

 Any suggestions which NAS has a real useful Linux, so that backupPC
 could be installed? My thought was to run backuppc on NAS, so it is not
 dependent on user clients. It can even chase clients to backup them while
 being on. Another issue would be how to slow down backing up clients, so
 people can work normally on their machines during backup. NAS could backup
 itself at full speed, of course. Even using some extra, cheap NAS only for
 backup seems useful.

 +--
 |This was sent by zdravko.balo...@gmail.com via Backup Central.
 |Forward SPAM to ab...@backupcentral.com.
 +--




 --
 Shape the Mobile Experience: Free Subscription
 Software experts and developers: Be at the forefront of tech innovation.
 Intel(R) Software Adrenaline delivers strategic insight and game-changing
 conversations that shape the rapidly evolving mobile landscape. Sign up
 now.
 http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/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/

--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/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] Backup solution

2013-09-20 Thread Kris Lou
The CentOS page on BackupPC was a great reference for me, many moons ago.
 It's no longer maintained, and ignore the installation instructions, but
the Server Configuration portion and sample client configurations should
still be good.

With *nix clients, most people use rsync-over-(passwordless) ssh, as
detailed there.  This includes OSX.

http://wiki.centos.org/HowTos/BackupPC

But as Carl noted, the config.pl (and the web interface) is really well
documented.


Kris Lou
k...@themusiclink.net


On Fri, Sep 20, 2013 at 5:38 AM, J B baksh...@gmail.com wrote:

 On Fri, 20 Sep 2013 08:26:45 -0400
 Carl Wilhelm Soderstrom chr...@real-time.com wrote:

  On 09/20 05:49 , J B wrote:
   For mac and linux I prefer rsync method, so please provide me few
   online docs which you think as a starting point for a newbie on
 backuppc.
 
  Just install it and read /etc/backuppc/config.pl. It really is very well
  documented about BackupPC's capabilities and how to set them up.
 

 Thank you very much


 --
 LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
 1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
 SharePoint
 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
 includes
 Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
 http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/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/

--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/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] Pool size discrepancy?

2013-08-19 Thread Kris Lou
Thanks for the reply.

At this time, it looks like faulty reporting on the NAS (big surprise).  I
ran a bunch of du -sh on TopDir/pc and TopDir/cpool and then the TopDir
itself with the same results, so it looks like pooling/compression is doing
it's thing.

Just that my NAS apparently isn't hardlinks-aware.  Time to do more digging
on that end.

-Kris




Kris Lou
k...@themusiclink.net


On Mon, Aug 19, 2013 at 8:27 AM, Bowie Bailey bowie_bai...@buc.com wrote:

 On 8/16/2013 8:28 PM, Kris Lou wrote:
  I recently started paying attention to the size of my pool - and I'm
  wondering about a few discrepancies:
 
  From the Host Summary page -
 
* 38 full backups of total size 1044.30GB (prior to pooling and
  compression),
* 70 incr backups of total size 379.71GB (prior to pooling and
  compression).
 

 This is telling you how much information was actually backed up.

  From the main Status page -
 
* Pool is 636.95GB comprising 991000 files and 4369 directories (as
  of 8/16 01:06),
 

 This is telling you how much room BackupPC is using to store it after
 compression and pooling.

  And the ugly part is that I have my TopDir mounted via NFS.  But when
  I look at the size of the NFS share directly on my NAS, it reads as
  1.5+TB!!
 
  I have Compression enabled (3), and ran BackupPC_Nightly recently
  (after cleaning out some old hosts this week).
 
  Can somebody help me understand this?

 Is there anything else on that NFS share other than the BackupPC pool?

 --
 Bowie


 --
 Introducing Performance Central, a new site from SourceForge and
 AppDynamics. Performance Central is your source for news, insights,
 analysis and resources for efficient Application Performance Management.
 Visit us today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/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/

--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/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] Pool size discrepancy?

2013-08-16 Thread Kris Lou
I recently started paying attention to the size of my pool - and I'm
wondering about a few discrepancies:

From the Host Summary page -

   - 38 full backups of total size 1044.30GB (prior to pooling and
   compression),
   - 70 incr backups of total size 379.71GB (prior to pooling and
   compression).

From the main Status page -

   - Pool is 636.95GB comprising 991000 files and 4369 directories (as of
   8/16 01:06),

And the ugly part is that I have my TopDir mounted via NFS.  But when I
look at the size of the NFS share directly on my NAS, it reads as 1.5+TB!!

I have Compression enabled (3), and ran BackupPC_Nightly recently (after
cleaning out some old hosts this week).

Can somebody help me understand this?

Thanks,
-Kris

Kris Lou
k...@themusiclink.net
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/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] Backuppc cron using client alias name

2013-08-14 Thread Kris Lou
Perhaps take out $REAL_IP ?  Most docs/Wiki's use
 /usr/share/backuppc/bin/BackupPC_serverMesg backup ${CLIENT} ${CLIENT}
backuppc 1 and as Les said, BackupPC should take care of the
ClientNameAlias substitution automatically.

-Kris


Kris Lou
k...@themusiclink.net


On Wed, Aug 14, 2013 at 7:59 AM, Job Cespedes jobcespe...@gmail.com wrote:

 Yes, it does. I have three hosts (the 3 are the same real host) using
 alias client name. I did this because I thought it was the best way to
 control each backup process running in the host. They were configure three
 weeks ago. The full and incremental backups are working according to the
 schedule. Manual backups through web interface also work.

 Now I want to force one of them to run full backups on weekends using  a
 cron job. There is where I'm having troubles.


 2013/8/14 Les Mikesell lesmikes...@gmail.com

 On Tue, Aug 13, 2013 at 5:23 PM, mucr backuppc-fo...@backupcentral.com
 wrote:
  Thanks.
 
  I tried using the name configure in hosts but had the same result: the
 same entrey in the log but no backup.
  15 10 * * * backuppc /usr/share/BackupPC/bin/BackupPC_serverMesg backup
 Real_IPHost Host backuppc 1
 

 Does this host succeed when the backup is started from the web
 interface or the normal backuppc scheduling?

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


 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.

 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/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/




 --
 Job Cespedes


 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/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/


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/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] Laptops with multiple ethernet cards/MAC addresses

2013-08-08 Thread Kris Lou
Question for Jeff:

I know this is an old thread (and still in my archives!), but I'm wondering
if this worked for you?

I have a similar situation - I have a laptop that needs to be backed up. I
currently have it configured for wired backups, but the user more often
uses wifi (DMZ) and then VPN's into the network.  If the symlink method
works out, I can issue a static IP via the VPN.

Thanks,

-Kris


Kris Lou
k...@themusiclink.net


On Mon, Jan 16, 2012 at 3:44 PM, Jeffrey J. Kosowsky
backu...@kosowsky.orgwrote:

 Jeffrey J. Kosowsky wrote at about 17:00:45 -0500 on Monday, January 16,
 2012:
   The laptops I back up have both a wired and wireless Ethernet
   connection with (different) MAC addresses.
  
   I use static DNS so that when the laptops are attached at home they
   are given a fixed (known) IP address so that BackupPC can find them
   using my /etc/hosts file.
  
   On my old D-Link router, I used to assign the same static DNS address
   to both MAC addresses so that no matter which connection was used, I
   had the same fixed IP address.
  
   The problem is that my new Verizon router does not allow the same IP
   address to be correlated with different MAC addresses.
  
   So now it seems that I can only match the laptop name (used by
   BackupPC) against only one of the IP addresses so that it will only
   get backed up on one of the two interfaces?
  
   Is there any simple way to overcome this problem?
  
   For example would it be possible to match 2 IP/names addresses against
   the same host backup so that if one fails then it tries the other?
   (this is in a sense the opposite of ClientNameAlias that allows you to
   map multiple hosts to one IP address)
  

 Just was thinking that the following simple hack should probably
 work...

 1. Set up two different static IPs, one for each network interface.
 2. Enter both IPs (or equivalent names as defined in /etc/hosts) in
the BackupPC/hosts file -- call them 'hostA' and 'hostB'
 3. Create a *symlink* from TopDir/pc/hostB to TopDir/pc/hostA

 Then whenever the *common* backup host ages, BackupPC will launch a
 new backup -- either hostA or hostB depending on which NIC is
 currently active (note: I am assuming that only one interface is
 active at a time). That way if one IP addressdidn't back up then the
 other would back up in place using the same history of numbered full
 and incremental backups. Once either backup completed then both hosts
 would look updated since they both point to the same common pc host
 subdirectory of backups. Note that the host name doesn't appear at all
 except as the name of the top level directory in the pc tree, so it
 makes no difference whether the backup is initiated as hostA or
 hostB.

 The only potential issue would be collisions but even that typically
 shouldn't
 happen since I assume that only one IP address is ever active at one
 time. Potentially there might be issues if the user switched interfaces in
 the middle of a backup before the first version complete or timed out
 but hopefully the new backup would catch the other as a partial backup
 and either continue from there or erase it... still I imagine there
 could be weird edge cases though they would only occur if you switched
 network interfaces mid-backup...



 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d
 ___
 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/

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/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] rsync on Windows 8?

2013-08-01 Thread Kris Lou
For what it's worth, Michael's solution (with a few minor tweaks to the
vshadow.exe and a few others) works well on Windows 8x64.  It is relatively
seamless, so no installed services, and runs on-demand via winexe calls
from a pre-dump script.

-Kris


Kris Lou
k...@themusiclink.net


On Thu, Aug 1, 2013 at 5:10 AM, Jürgen Depicker jurgen.depic...@let.bewrote:

 Dear Mark,

 It seems you didn't try DeltaCopy: there is nothing in the tray: I run it
 as a service just as you describe.
 By default it extracts itself to C:\DeltaCopy and then, when running
 DeltaS.exe, you can have it installing itself as a service.
 You can just as easily do as you describe in your mail: copy the DeltaCopy
 dir to the C$ share and register the service using the net rpc command. You
 can easily change access permissions on the DeltaCopy dir to make sure no
 regular user has access to it.  Anyhow, if you configure a password which
 all may know, a user executing DeltaS.exe can mess up your config only till
 the next time you push the files :).

 I guess you should give it a try...

 Grts, Juergen


 -Oorspronkelijk bericht-
 Van: Mark Campbell [mailto:mcampb...@emediatrade.com]
 Verzonden: donderdag 1 augustus 2013 13:49
 Aan: General list for user discussion, questions and support
 Onderwerp: Re: [BackupPC-users] rsync on Windows 8?

 The primary reason I have not gone the route of other programs such as
 deltacopy, is that these windows boxes I am backing up via backuppc are end
 users, as opposed to servers, and they have a bad habit of removing things
 they see in the tray; nor can I count on them to install something on their
 computer for me (some of them live in other states).  With rsync/cygwin, I
 can push the files onto their drive via the C$ share, and create/start a
 service for them via the net rpc command--so they never see anything that
 they'd likely interfere with.

 Thanks,

 --Mark


 -Original Message-
 From: Jürgen Depicker [mailto:jurgen.depic...@let.be]
 Sent: Thursday, August 01, 2013 3:28 AM
 To: General list for user discussion, questions and support
 Subject: Re: [BackupPC-users] rsync on Windows 8?

 Sorry I can't directly help (since I don't have a Win8 machine).  But if
 someone can figure out the right set of cygwin files and the right recipe -
 ideally one that works across Win8, Win7 etc - then I would be happy to
 update the recently released cygwin-rsyncd package (which was helpfully
 provided by Ray Frush).

 Craig

 - Mark, did you try DeltaCopy already? It is extremely easy to configure
 and it 'just works': no need to install Cygwin.  I use it for many years on
 Server 2003; I installed it yesterday on a Windows Server 2012 and it works
 flawlessly, so probably W8 will be fine too.
 http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp
 It is an Rsync server; if you want to secure the transfer, you'll need to
 look for CopSSH instead.

 Grts,
 Juergen




 On Wed, Jul 31, 2013 at 7:14 AM, Mark Campbell mcampb...@emediatrade.com
 wrote:
 Apparently, my issue is not as solved as hoped.  The service does start up
 fine now, and doing an rsync --list-only to another machine lists the
 contents of the module on the remote machine just fine, but when trying to
 perform a backup of this machine with BackupPC (and even when trying to do
 an rsync --list-only from another machine to it), it generates the error:

 [root@emtbackup2 /]# rsync --list-only
 rsync://backupadmin@win8testvm/users
 Password:
 @ERROR: chdir failed
 rsync error: error starting client-server protocol (code 5) at
 main.c(1503) [receiver=3.0.6]

 Online research suggests that this may be a permissions issue, but I've
 tried running the service both as the Local System Account, and as
 Administrator, with no variations on the error.  Any suggestions on this?

 Thanks,

 --Mark


 -Original Message-
 From: Mark Campbell [mailto:mcampb...@emediatrade.com]
 Sent: Tuesday, July 30, 2013 1:59 PM
 To: General list for user discussion, questions and support
 Subject: Re: [BackupPC-users] rsync on Windows 8?

 Andrew,

 I did fail to mention that once I decided to grab additional .dlls from
 the install, that I copied over the corresponding updates to the original
 files mentioned, to no avail.

 But your idea inspired me to try running the rsync that I installed in the
 rsyncd directory in an administrator command line, and lo and behold, it
 gave me an error message with a new missing .dll to get!  Once I got that
 one and dropped it in the rsyncd folder, I tried running it on the command
 line again, and it gave me the rsync help menu.  Once that worked, I tried
 starting the service again, and it succeeded!  Woo hoo!  :)

 For the record (for anyone else that might be doing the same that I am
 doing), these are all the files required by rsync to run as a service in
 windows 8:
 -cygiconv-2.dll
 -cygintl-8.dll
 -cygpopt-0.dll
 -cygrunsrv.exe
 -cygwin1.dll
 -rsync.exe
 -rsyncd.conf

Re: [BackupPC-users] how to install backuppc on seperate disk, alongwith backups on ubuntu1204 LTS?

2013-03-29 Thread Kris Lou
Assuming Ubuntu packages install in the normal locations, create a symlink
linking /var/lib/backuppc to your desired mount.  Then it should just be
apt-get install backuppc.


Kris Lou
k...@themusiclink.net


On Fri, Mar 29, 2013 at 3:06 PM, Rajeev Prasad rp.ne...@yahoo.com wrote:



 Hello,


 the way it is shown here: http://wiki.contribs.org/BackupPC

 I want to install backuppc on my ubuntu server on a seperate disk. I have
 insatlled a fresh disk for the same purpose, but I am not able to find any
 directions. anyone has a step by step?

 OS is ubuntu 1204 LTS

 I want all the logs/config/binaries and backups of backuppc on this
 seperate disk.

 thnak you.
 Rajeev



 --
 Own the Future-Intel(R) Level Up Game Demo Contest 2013
 Rise to greatness in Intel's independent game demo contest. Compete
 for recognition, cash, and the chance to get your game on Steam.
 $5K grand prize plus 10 genre and skill prizes. Submit your demo
 by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
 ___
 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/

--
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2___
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] need help with windows backup

2013-02-28 Thread Kris Lou
How far have you traced the script execution chain?  You should see winexe
do call the appropriate scripts on the server side, and then a number of
scripts also executing on the client side.

/tmp/backuppc/preusercmd.sh: line 13: at: command not found
Also, I specify the full path to at  for this.

Error connecting to module C at a.b.c.d:873: auth failed on module C
Check your auth.sh, and your rsyncd.conf/rsync.secrets on the client side?



Kris Lou
k...@themusiclink.net


On Thu, Feb 28, 2013 at 7:53 AM, upen upendra.gan...@gmail.com wrote:

 Hi,

 I have been trying to configure my winxp box to use the method from
 http://www.michaelstowe.com/backuppc/

 I emailed the blog owner but it's possible they are busy so haven't
 heard from them. Any help is appreciated.

 Here is the dump tried from command prompt.

 BackupPC_dump -v -f a.b.c.d
 cmdSystemOrEval: about to system /tmp/backuppc/wol.sh -c 1 -w 3 a.b.c.d
 cmdSystemOrEval: finished: got output Backuppc pinging -c 1 -w 3 a.b.c.d
 PING a.b.c.d (1.2.3.4) 56(84) bytes of data.
 64 bytes from a.b.c.d (1.2.3.4): icmp_seq=1 ttl=128 time=0.367 ms

 --- a.b.c.d ping statistics ---
 1 packets transmitted, 1 received, 0% packet loss, time 0ms
 rtt min/avg/max/mdev = 0.367/0.367/0.367/0.000 ms
 Previous state preserved: ON

 cmdSystemOrEval: about to system /tmp/backuppc/wol.sh -c 1 -w 3 a.b.c.d
 cmdSystemOrEval: finished: got output Backuppc pinging -c 1 -w 3 a.b.c.d
 PING a.b.c.d (1.2.3.4) 56(84) bytes of data.
 64 bytes from a.b.c.d (1.2.3.4): icmp_seq=1 ttl=128 time=0.353 ms

 --- a.b.c.d ping statistics ---
 1 packets transmitted, 1 received, 0% packet loss, time 0ms
 rtt min/avg/max/mdev = 0.353/0.353/0.353/0.000 ms
 Previous state preserved: ON

 CheckHostAlive: returning 0.353
 Executing DumpPreUserCmd: /tmp/backuppc/preusercmd.sh a.b.c.d
 cmdSystemOrEval: about to system /tmp/backuppc/preusercmd.sh a.b.c.d
 Unknown parameter encountered: valid users
 Ignoring unknown parameter valid users
 Unknown parameter encountered: valid users
 Ignoring unknown parameter valid users
 Unknown parameter encountered: public
 Ignoring unknown parameter public
 Unknown parameter encountered: writable
 Ignoring unknown parameter writable
 Unknown parameter encountered: valid users
 Ignoring unknown parameter valid users
 Unknown parameter encountered: public
 Ignoring unknown parameter public
 Unknown parameter encountered: writable
 Ignoring unknown parameter writable
 Unknown parameter encountered: valid users
 Ignoring unknown parameter valid users
 Unknown parameter encountered: public
 Ignoring unknown parameter public
 Unknown parameter encountered: writable
 Ignoring unknown parameter writable
 Microsoft (R) Windows Script Host Version 5.7
 Copyright (C) Microsoft Corporation. All rights reserved.


 /tmp/backuppc/preusercmd.sh: line 13: at: command not found
 cmdSystemOrEval: finished: got output Unknown parameter encountered:
 valid users
 Ignoring unknown parameter valid users
 Unknown parameter encountered: valid users
 Ignoring unknown parameter valid users
 Unknown parameter encountered: public
 Ignoring unknown parameter public
 Unknown parameter encountered: writable
 Ignoring unknown parameter writable
 Unknown parameter encountered: valid users
 Ignoring unknown parameter valid users
 Unknown parameter encountered: public
 Ignoring unknown parameter public
 Unknown parameter encountered: writable
 Ignoring unknown parameter writable
 Unknown parameter encountered: valid users
 Ignoring unknown parameter valid users
 Unknown parameter encountered: public
 Ignoring unknown parameter public
 Unknown parameter encountered: writable
 Ignoring unknown parameter writable
 Microsoft (R) Windows Script Host Version 5.7
 Copyright (C) Microsoft Corporation. All rights reserved.


 /tmp/backuppc/preusercmd.sh: line 13: at: command not found

 full backup started for directory C (baseline backup #3)
 started full dump, share=C
 Connected to a.b.c.d:873, remote version 30
 Negotiated protocol version 28
 Error connecting to module C at a.b.c.d:873: auth failed on module C
 Executing DumpPostUserCmd: /tmp/backuppc/postusercmd.sh a.b.c.d 0
 cmdSystemOrEval: about to system /tmp/backuppc/postusercmd.sh a.b.c.d 0
 Unknown parameter encountered: valid users
 Ignoring unknown parameter valid users
 Unknown parameter encountered: valid users
 Ignoring unknown parameter valid users
 Unknown parameter encountered: public
 Ignoring unknown parameter public
 Unknown parameter encountered: writable
 Ignoring unknown parameter writable
 Unknown parameter encountered: valid users
 Ignoring unknown parameter valid users
 Unknown parameter encountered: public
 Ignoring unknown parameter public
 Unknown parameter encountered: writable
 Ignoring unknown parameter writable
 Unknown parameter encountered: valid users
 Ignoring unknown parameter valid users
 Unknown parameter encountered: public
 Ignoring unknown parameter public
 Unknown parameter encountered: writable
 Ignoring

Re: [BackupPC-users] need help with windows backup

2013-02-28 Thread Kris Lou
The thing that I liked about this implementation (and had it bookmarked for
over a year before putting in place) is that it was relatively easy to
parse out with a minimum of shell scripting knowledge.  As such, it is
easier to comprehend for somebody with a predominantly Windows background.

(Not a knock on Shadowmountrsync, just my comprehension at the time.
 Speaking of which, Jeff posted an update to the shadowmountrsync script to
the list recently, if you're interested)

Anyways, since the scripts aren't very long, it makes it easier to
understand the chain of events that make it all happen as there isn't a ton
to debug.

Kris Lou
k...@themusiclink.net


On Thu, Feb 28, 2013 at 2:32 PM, upen upendra.gan...@gmail.com wrote:

 On Thu, Feb 28, 2013 at 2:21 PM, Kris Lou k...@themusiclink.net wrote:
  auth.sh needs to contain a valid user for the client machine (usually
 with
  administrative privileges), as compared to the rsyncd user auths.  It is
  then used to remotely kick off scripts on the client side (as the user
  specified in auth.sh).

 Thanks for that information.



 
  Kris Lou
  k...@themusiclink.net
 
 
  On Thu, Feb 28, 2013 at 11:17 AM, upen upendra.gan...@gmail.com wrote:
 
  Thanks.
 
  On Thu, Feb 28, 2013 at 1:02 PM, Kris Lou k...@themusiclink.net
 wrote:
   How far have you traced the script execution chain?  You should see
   winexe
   do call the appropriate scripts on the server side, and then a number
 of
   scripts also executing on the client side.
  
  /tmp/backuppc/preusercmd.sh: line 13: at: command not found
   Also, I specify the full path to at  for this.
 
  I will try the full path now. However, I did su - backuppc account on
  backup server and noted 'at' was in the path. I will give the full
  path a try now.
 
  
  Error connecting to module C at a.b.c.d:873: auth failed on module C
   Check your auth.sh, and your rsyncd.conf/rsync.secrets on the client
   side?
 
  Actually, auth.sh and rsyncd.conf/rsync.secrets was configured
  correctly. I went over that again and again. User mentioned in
  rsyncd.conf was configured in rsync.secrets in user:pw format.  I must
  mention, the windows client installer,  though it asked for
  username/password, installer didn't put anything in rsync.secrets and
  rsyncd.conf which I realized some time after installation(but before
  posting here) and winxp was rebooted after those files were modified.
 
  What made the dump working for me was below two additional settings,
  $Conf{RsyncdPasswd} = 'Ba';
  $Conf{RsyncdUserName} = 'backuppc';
 
  backuppc is the user I have in rsynced.conf/rsync.secrets/auth.sh and
  in windowsxp's backup configuration file (.pl) where the above two
  parameters are configured.
 
  I didn't see any mention of this step on the blog. I hope the two
  parameters configured above are part of the process. If not then
  something isn't working the way it should.
 
 
   On Thu, Feb 28, 2013 at 7:53 AM, upen upendra.gan...@gmail.com
 wrote:
  
   Hi,
  
   I have been trying to configure my winxp box to use the method from
   http://www.michaelstowe.com/backuppc/
  
   I emailed the blog owner but it's possible they are busy so haven't
   heard from them. Any help is appreciated.
  
   Here is the dump tried from command prompt.
  
   BackupPC_dump -v -f a.b.c.d
   cmdSystemOrEval: about to system /tmp/backuppc/wol.sh -c 1 -w 3
 a.b.c.d
   cmdSystemOrEval: finished: got output Backuppc pinging -c 1 -w 3
   a.b.c.d
   PING a.b.c.d (1.2.3.4) 56(84) bytes of data.
   64 bytes from a.b.c.d (1.2.3.4): icmp_seq=1 ttl=128 time=0.367 ms
  
   --- a.b.c.d ping statistics ---
   1 packets transmitted, 1 received, 0% packet loss, time 0ms
   rtt min/avg/max/mdev = 0.367/0.367/0.367/0.000 ms
   Previous state preserved: ON
  
   cmdSystemOrEval: about to system /tmp/backuppc/wol.sh -c 1 -w 3
 a.b.c.d
   cmdSystemOrEval: finished: got output Backuppc pinging -c 1 -w 3
   a.b.c.d
   PING a.b.c.d (1.2.3.4) 56(84) bytes of data.
   64 bytes from a.b.c.d (1.2.3.4): icmp_seq=1 ttl=128 time=0.353 ms
  
   --- a.b.c.d ping statistics ---
   1 packets transmitted, 1 received, 0% packet loss, time 0ms
   rtt min/avg/max/mdev = 0.353/0.353/0.353/0.000 ms
   Previous state preserved: ON
  
   CheckHostAlive: returning 0.353
   Executing DumpPreUserCmd: /tmp/backuppc/preusercmd.sh a.b.c.d
   cmdSystemOrEval: about to system /tmp/backuppc/preusercmd.sh a.b.c.d
   Unknown parameter encountered: valid users
   Ignoring unknown parameter valid users
   Unknown parameter encountered: valid users
   Ignoring unknown parameter valid users
   Unknown parameter encountered: public
   Ignoring unknown parameter public
   Unknown parameter encountered: writable
   Ignoring unknown parameter writable
   Unknown parameter encountered: valid users
   Ignoring unknown parameter valid users
   Unknown parameter encountered: public
   Ignoring unknown parameter public
   Unknown parameter encountered: writable
   Ignoring unknown parameter

Re: [BackupPC-users] need help with windows backup

2013-02-28 Thread Kris Lou
auth.sh needs to contain a valid user for the client machine (usually with
administrative privileges), as compared to the rsyncd user auths.  It is
then used to remotely kick off scripts on the client side (as the user
specified in auth.sh).

Kris Lou
k...@themusiclink.net


On Thu, Feb 28, 2013 at 11:17 AM, upen upendra.gan...@gmail.com wrote:

 Thanks.

 On Thu, Feb 28, 2013 at 1:02 PM, Kris Lou k...@themusiclink.net wrote:
  How far have you traced the script execution chain?  You should see
 winexe
  do call the appropriate scripts on the server side, and then a number of
  scripts also executing on the client side.
 
 /tmp/backuppc/preusercmd.sh: line 13: at: command not found
  Also, I specify the full path to at  for this.

 I will try the full path now. However, I did su - backuppc account on
 backup server and noted 'at' was in the path. I will give the full
 path a try now.

 
 Error connecting to module C at a.b.c.d:873: auth failed on module C
  Check your auth.sh, and your rsyncd.conf/rsync.secrets on the client
 side?

 Actually, auth.sh and rsyncd.conf/rsync.secrets was configured
 correctly. I went over that again and again. User mentioned in
 rsyncd.conf was configured in rsync.secrets in user:pw format.  I must
 mention, the windows client installer,  though it asked for
 username/password, installer didn't put anything in rsync.secrets and
 rsyncd.conf which I realized some time after installation(but before
 posting here) and winxp was rebooted after those files were modified.

 What made the dump working for me was below two additional settings,
 $Conf{RsyncdPasswd} = 'Ba';
 $Conf{RsyncdUserName} = 'backuppc';

 backuppc is the user I have in rsynced.conf/rsync.secrets/auth.sh and
 in windowsxp's backup configuration file (.pl) where the above two
 parameters are configured.

 I didn't see any mention of this step on the blog. I hope the two
 parameters configured above are part of the process. If not then
 something isn't working the way it should.


  On Thu, Feb 28, 2013 at 7:53 AM, upen upendra.gan...@gmail.com wrote:
 
  Hi,
 
  I have been trying to configure my winxp box to use the method from
  http://www.michaelstowe.com/backuppc/
 
  I emailed the blog owner but it's possible they are busy so haven't
  heard from them. Any help is appreciated.
 
  Here is the dump tried from command prompt.
 
  BackupPC_dump -v -f a.b.c.d
  cmdSystemOrEval: about to system /tmp/backuppc/wol.sh -c 1 -w 3 a.b.c.d
  cmdSystemOrEval: finished: got output Backuppc pinging -c 1 -w 3 a.b.c.d
  PING a.b.c.d (1.2.3.4) 56(84) bytes of data.
  64 bytes from a.b.c.d (1.2.3.4): icmp_seq=1 ttl=128 time=0.367 ms
 
  --- a.b.c.d ping statistics ---
  1 packets transmitted, 1 received, 0% packet loss, time 0ms
  rtt min/avg/max/mdev = 0.367/0.367/0.367/0.000 ms
  Previous state preserved: ON
 
  cmdSystemOrEval: about to system /tmp/backuppc/wol.sh -c 1 -w 3 a.b.c.d
  cmdSystemOrEval: finished: got output Backuppc pinging -c 1 -w 3 a.b.c.d
  PING a.b.c.d (1.2.3.4) 56(84) bytes of data.
  64 bytes from a.b.c.d (1.2.3.4): icmp_seq=1 ttl=128 time=0.353 ms
 
  --- a.b.c.d ping statistics ---
  1 packets transmitted, 1 received, 0% packet loss, time 0ms
  rtt min/avg/max/mdev = 0.353/0.353/0.353/0.000 ms
  Previous state preserved: ON
 
  CheckHostAlive: returning 0.353
  Executing DumpPreUserCmd: /tmp/backuppc/preusercmd.sh a.b.c.d
  cmdSystemOrEval: about to system /tmp/backuppc/preusercmd.sh a.b.c.d
  Unknown parameter encountered: valid users
  Ignoring unknown parameter valid users
  Unknown parameter encountered: valid users
  Ignoring unknown parameter valid users
  Unknown parameter encountered: public
  Ignoring unknown parameter public
  Unknown parameter encountered: writable
  Ignoring unknown parameter writable
  Unknown parameter encountered: valid users
  Ignoring unknown parameter valid users
  Unknown parameter encountered: public
  Ignoring unknown parameter public
  Unknown parameter encountered: writable
  Ignoring unknown parameter writable
  Unknown parameter encountered: valid users
  Ignoring unknown parameter valid users
  Unknown parameter encountered: public
  Ignoring unknown parameter public
  Unknown parameter encountered: writable
  Ignoring unknown parameter writable
  Microsoft (R) Windows Script Host Version 5.7
  Copyright (C) Microsoft Corporation. All rights reserved.
 
 
  /tmp/backuppc/preusercmd.sh: line 13: at: command not found
  cmdSystemOrEval: finished: got output Unknown parameter encountered:
  valid users
  Ignoring unknown parameter valid users
  Unknown parameter encountered: valid users
  Ignoring unknown parameter valid users
  Unknown parameter encountered: public
  Ignoring unknown parameter public
  Unknown parameter encountered: writable
  Ignoring unknown parameter writable
  Unknown parameter encountered: valid users
  Ignoring unknown parameter valid users
  Unknown parameter encountered: public
  Ignoring unknown parameter public
  Unknown parameter

Re: [BackupPC-users] Windows servers

2013-02-26 Thread Kris Lou
You may want to refer to http://edgylogic.com/blog/vshadow-exe-versions/ for
appropriate vshadow versions for Windows 7/2008.  (or see the comments on
Michael's original implementation page).

Also, in-place restores will require a bit of work - but most of the time
you'll probably be restoring specific files, so manually moving them into
place isn't a huge deal.

WOL is a nice feature, but make sure that your switches support it.  (Mine
don't).

Kris Lou
k...@themusiclink.net


On Tue, Feb 26, 2013 at 2:52 PM, upen upendra.gan...@gmail.com wrote:

 On Tue, Feb 26, 2013 at 4:38 PM, Michael Stowe
 mst...@chicago.us.mensa.org wrote:
 
 
  On Tue, Feb 26, 2013 at 3:26 PM, Michael Stowe
  mst...@chicago.us.mensa.org wrote:
 
  Can someone tell what the drawbacks of using cygwin/ssh/rsync on the
  windows BackupPc clients ? I just tried it yesterday on windows xp and
  it worked well. I believe this method of backup should also work on
  2008r2 servers?
 
  Drawbacks versus ... what?
 
  Windows in general has issues with file semantics, and its system of
  overcoming those is essentially to use VSS, the Volume Snapshot
 Service.
  For BackupPC, there have been two solutions developed, one that
 requires
  ssh, and one that instead uses winexe, which leverages samba.  The ssh
  solution encrypts in transit, but (naturally) requires the installation
  of
  ssh and the appropriate version of vshadow.  The winexe version has an
  installer which takes care of the client details, but requires
  winexe/samba installed on the BackupPC server.
 
  There are some minor functional differences in the implementations; the
  ssh version backs up ACL's (in one of two ways) and the winexe version
  handles backing up machines that are powered down.  However, the
  features
  aren't incompatible, and since both are scripted, can be added to
 either
  one.
 
  Sorry about the confusing question. I was actually asking in general
  versus all other methods available to backup windows using BackupPC.
 
  Thanks for the information. It's certainly useful. I used method
  mentioned at http://www.cs.umd.edu/~cdunne/projs/backuppc_guide.html
  for my windows xp client. It didn't mention anything about volume
  snapshot service or vshadow. I am not sure if I am using vshadow but I
  do find a service in my windows xp named Volume Shadow Copy  that is
  set to manual. So I guess vshadow is not being used on when backup is
  taken. Do I have to start vshadow and set to to automatic for future?
 
  What's there is neither of the open-file solutions I describe, so you'll
  either need to switch, or simply be unable to back up open files (this
 may
  not be a problem, depending on your backup strategy.)
 
  vshadow, the windows service, doesn't actually do anything unless it's
  specifically invoked, so setting it to automatic won't do anything, nor
  will starting the service by itself.  The tricky thing about transient
  shadow volume copies is that they need to be invoked *before* rsync, thus
  the complexity.  The windows-edition-specific program vshadow allows
  management from the command line.


 Great. Thanks guys for all the information.


 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_feb
 ___
 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/

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb___
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] Windows servers

2013-02-25 Thread Kris Lou
^^  I can confirm that the above repository works with CentOS 6 (and
Michael's implementation).

Kris Lou
k...@themusiclink.net


On Mon, Feb 25, 2013 at 3:19 PM, Les Mikesell lesmikes...@gmail.com wrote:

 On Mon, Feb 25, 2013 at 4:18 PM, Kameleon kameleo...@gmail.com wrote:
  I guess I am just not sure how to even begin to build it since there
  is no documentation I can find.

 There are an assortment of packages here:

 https://build.opensuse.org/package/repositories?package=winexeproject=home%3Aahajda%3Awinexe

 Or starting with the code here:
 http://sourceforge.net/projects/winexe/files/
 cd into the source4 directory and run configure, then make.  I think
 you get some errors and not everything builds, but if you get a binary
 in the winexe directory it is all you need.

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


 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_feb
 ___
 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/

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb___
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] Process for Overriding hosts configuration

2012-07-11 Thread Kris Lou
  Naturally, I do lose ACLs and whatnot, but aside from a few tweaks,
  the process at least works.  I've been considering adding a
  supplemental ACL backup to the routine.
 
  That sounds like a useful idea, but really, what are the ACL's used
  for? Is that just additional end-user type of customisation where you
  might specify only user X can access folder X, and folder Y is world
  read but write by group Z etc... ? ie, is that just a security issue,
  or does it prevent the actual OS or applications from working?

 In practice, the only issue I had were the hidden and system
 attributes being missing from desktop.ini files.  Aside from being ugly,
 this caused the OS to launch an editor for them on boot (which seems odd
 to me.)


Would it help to update the client versions of rsync and cygwin?  I recall
doing that when working on getting your solution to restore natively (via
rsync - and just selected files, not bare metal).  It helped with fixing
some ACL issues, so it may preserve some attributes better.

-Kris
--
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] BackupPC Windows Client

2012-06-06 Thread Kris Lou
I'm trying to work with this to get it to restore files to their original
paths via rsyncd as well.  Basically, I'm having the restore pre-cmd follow
the same path as the dump pre-cmd ($type is helpful here), but bypassing
vshadow and calling rsync with a different conf.  Single file restores work
(with updated 1.7.15 cygwin1.dll), but restoring directories sort of
mangles ownership and permissions beyond the first level.

Do you guys have any suggestions for generic permissions-fixing when
restoring to a cygwin-rsync system?

Thanks,

Kris Lou
k...@themusiclink.net


On Mon, Jun 4, 2012 at 12:27 PM, Michael Stowe
mst...@chicago.us.mensa.orgwrote:

  On 31/05/12 00:59, Michael Stowe wrote:
  Not only are you exactly correct, but your fix is exactly what I left
  out
  when I posted it the first time (I apparently deleted that line and
  hadn't
  noticed.) The client side hasn't changed, but I'm updating the scripts
  with the fixes this week, and will have it posted as soon as I do.
 
  Just a little reminder that on each machine I've tried to install the
  client on, the rsyncd.secrets file wasn't created.
  Also, when using a username other than Administrator (for rsync) the
  install also fails to use the correct username in the rsyncd.conf file.
 
  Haven't had a chance to install on a 2008 server yet, but hope to have
  more of a play in the coming weeks.
 
  Regards,
  Adam
 
  --
  Adam Goryachev
  Website Managers
  www.websitemanagers.com.au

 Turns out it wouldn't create rsyncd.secrets unless the installation
 directory already existed when the installer was started (whoops!)

 I've fixed this, and a few other things, available here:
 http://www.michaelstowe.com/backuppc



 --
 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] BackupPC Windows Client

2012-05-29 Thread Kris Lou
First, thanks for doing this.

I've had the original post bookmarked for quite some time (years, it seems)
with plans to implement, and this simplifies the process quite a bit.
 Performance is much better than rsync-over-autofs-smb (for any number of
reasons).

5) I got a passing error message from the postusercmd.sh at one stage, and
 would suggest the following change:

 if [ ! -z $xferOK ]  [ $xferOK-eq 1 ]; then
 Basically, if xferOK is not set, then [ $xferOK-eq 1 ] generates an error
 (and does not match), with my change it will not generate an error, and
 will still not match.


I ran into that error postusercmd.sh: line 10: [: -eq: unary operator
expected as well - even on successful runs.  It looks like $xferOK is
never declared, but is just passed in.

 postusercmd.sh

 BOX=$1

*XFEROK=$2*
 $WINEXE -U $UNAME -W $WRKGRP --password=$PWD //$BOX 'cmd /c echo '1' 
 c:\backuppc\wake.up' -
 echo Rsync and shadow copy unloaded
 if [ *$XFEROK* -eq 1 ]; then
if [ -f $WOLDIR/$BOX.state ]; then
   read wasoff  $WOLDIR/$BOX.state
   echo -n State before backup: 



Thanks for all your work on this!

-Kris Lou
--
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] backuppc and Win7

2011-06-08 Thread Kris Lou
Larry,

Re-reading, its probably best to upgrade Samba first (3.2.5 is not listed as
Windows 7 compatible) and then troubleshoot from there.

Kris Lou
k...@themusiclink.net


On Wed, Jun 8, 2011 at 4:51 PM, ow...@netptc.net wrote:





  - Original Message -
 *From: *Kris Lou k...@themusiclink.net
 *To: *General list for user discussion, questions and 
 supportbackuppc-users@lists.sourceforge.net
 *Sent: *6/7/2011 11:24:51 PM
 *Subject: *Re: [BackupPC-users] backuppc and Win7

 Can you access the share via standalone smbclient, since that's how you're
 choosing to back things up?  As I recall, there are some registry changes
 necessary for Windows 7 but that might only be for domain membership.

 http://wiki.samba.org/index.php/Windows7

 Kris Lou
 k...@themusiclink.net


 On Tue, Jun 7, 2011 at 8:41 AM, ow...@netptc.net wrote:



  - Original Message -
 *From: *Holger Parplies wb...@parplies.de
 *To: *General list for user discussion, questions and 
 supportbackuppc-users@lists.sourceforge.net
   *Sent: *6/6/2011 10:03:45 PM
 *Subject: *Re: [BackupPC-users] backuppc and Win7

 Hi,

 higuita wrote on 2011-06-05 22:10:28 +0100 [Re: [BackupPC-users] backuppc
 and Win7]:
  On Sun, 5 Jun 2011 13:15:16 -0700, ow...@netptc.net wrote:
   all other machines on the LAN) and pings work fine. Backuppc fires off

   the error Get fatal error during xfer (no files dumped for share C$).

   Any suggestions?
 
  Yes... share the c drive... depending on your config, you might
  not have the c$ share enabled by default (or restricted by the firewall
  and network settings).

 shouldn't that lead to a different error? As I read the source, no files
 dumped for share is produced for a dump where no other error was
 detected,
 yet no files were read - perhaps due to insufficient permissions to access

 any files (oh, and it's *Got* fatal error ..., so we know it's only an
 approximation of the actual error message ;-).

 More context from the XferLOG would probably help in determining the
 actual
 problem. Are there error messages which BackupPC couldn't interpret
 leading
 up to the no files dumped ...? Have you tried running the exact same
 command BackupPC is trying from the command line? Can you connect to the
 client machine with 'smbclient' (something like
 'smbclient //host/C\$ -U backup-user', if 'backup-user' is what BackupPC
 is
 using; see the man page for details) and list the contents of the share?

 Regards,
 Holger

 Holger and Tom et al
 Due the the frequent MS warnings about sharing the C drive I decided to
 merely create a shared folder called Users.  This folder is accessible from
 the 3 other machines on the network (XP and Vista) without difficulty.  When
 I attempt to do a full backup I again get the same error message.  Here is
 the full error from the Log:

 Running: /usr/bin/smbclient larryshp\\Users -I 10.10.10.101 -U backuppc 
 -E -d 1 -c tarmode\ full -Tc -
 full backup started for share Users
 Xfer PIDs are now 3355,3354
 session setup failed: SUCCESS - 0
 session setup failed: SUCCESS - 0
 tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
 filesTotal, 0 sizeTotal
 Got fatal error during xfer (No files dumped for share Users)
 Backup aborted (No files dumped for share Users)
 Not saving this as a partial backup since it has fewer files than the prior 
 one (got 0 and 0 files versus 0)

 The computer name and IP address are correct but the session setup fails.
  Any suggestions of where to go from here?  BTW thanks Tom for the rsync
 instructions but since I already have 3 machines operation successfully I'd
 like to try the samba approach before I throw the baby in the sea.

 Larry
 --

 EditLive Enterprise is the world's most technically advanced content
 authoring tool. Experience the power of Track Changes, Inline Image
 Editing and ensure content is compliant with Accessibility Checking.
 http://p.sf.net/sfu/ephox-dev2dev
 ___
 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/



 Kris et al

 Great catch!  smbclient works great with XP and Vista and fails with the
 same session setup error as backuppc on Windows 7.  Doing some Googling this
 appears to be an incompatibility between smbclient and Windows.  There
 appears to be some disagreement as to whether this is a bug in smbclient or
 an overkill security-wise on Windows 7 (potentially requiring some
 registry editing).  Before I start experimenting I'm hoping there is someone
 on this list who has encountered and solved this issue.

 Larry


 --
 EditLive Enterprise is the world's most technically advanced content
 authoring tool

Re: [BackupPC-users] backuppc and Win7

2011-06-07 Thread Kris Lou
Can you access the share via standalone smbclient, since that's how you're
choosing to back things up?  As I recall, there are some registry changes
necessary for Windows 7 but that might only be for domain membership.

http://wiki.samba.org/index.php/Windows7

Kris Lou
k...@themusiclink.net


On Tue, Jun 7, 2011 at 8:41 AM, ow...@netptc.net wrote:



 - Original Message -
 *From: *Holger Parplies wb...@parplies.de
 *To: *General list for user discussion, questions and 
 supportbackuppc-users@lists.sourceforge.net
 *Sent: *6/6/2011 10:03:45 PM
 *Subject: *Re: [BackupPC-users] backuppc and Win7

 Hi,

 higuita wrote on 2011-06-05 22:10:28 +0100 [Re: [BackupPC-users] backuppc
 and Win7]:
  On Sun, 5 Jun 2011 13:15:16 -0700, ow...@netptc.net wrote:
   all other machines on the LAN) and pings work fine. Backuppc fires off
   the error Get fatal error during xfer (no files dumped for share C$).
   Any suggestions?
 
  Yes... share the c drive... depending on your config, you might
  not have the c$ share enabled by default (or restricted by the firewall
  and network settings).

 shouldn't that lead to a different error? As I read the source, no files
 dumped for share is produced for a dump where no other error was detected,

 yet no files were read - perhaps due to insufficient permissions to access
 any files (oh, and it's *Got* fatal error ..., so we know it's only an
 approximation of the actual error message ;-).

 More context from the XferLOG would probably help in determining the actual

 problem. Are there error messages which BackupPC couldn't interpret leading

 up to the no files dumped ...? Have you tried running the exact same
 command BackupPC is trying from the command line? Can you connect to the
 client machine with 'smbclient' (something like
 'smbclient //host/C\$ -U backup-user', if 'backup-user' is what BackupPC is

 using; see the man page for details) and list the contents of the share?

 Regards,
 Holger

 Holger and Tom et al
 Due the the frequent MS warnings about sharing the C drive I decided to
 merely create a shared folder called Users.  This folder is accessible from
 the 3 other machines on the network (XP and Vista) without difficulty.  When
 I attempt to do a full backup I again get the same error message.  Here is
 the full error from the Log:

 Running: /usr/bin/smbclient larryshp\\Users -I 10.10.10.101 -U backuppc 
 -E -d 1 -c tarmode\ full -Tc -
 full backup started for share Users
 Xfer PIDs are now 3355,3354
 session setup failed: SUCCESS - 0
 session setup failed: SUCCESS - 0
 tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
 filesTotal, 0 sizeTotal
 Got fatal error during xfer (No files dumped for share Users)
 Backup aborted (No files dumped for share Users)
 Not saving this as a partial backup since it has fewer files than the prior 
 one (got 0 and 0 files versus 0)

 The computer name and IP address are correct but the session setup fails.
  Any suggestions of where to go from here?  BTW thanks Tom for the rsync
 instructions but since I already have 3 machines operation successfully I'd
 like to try the samba approach before I throw the baby in the sea.

 Larry
 --

 EditLive Enterprise is the world's most technically advanced content
 authoring tool. Experience the power of Track Changes, Inline Image
 Editing and ensure content is compliant with Accessibility Checking.
 http://p.sf.net/sfu/ephox-dev2dev
 ___
 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/



 --
 EditLive Enterprise is the world's most technically advanced content
 authoring tool. Experience the power of Track Changes, Inline Image
 Editing and ensure content is compliant with Accessibility Checking.
 http://p.sf.net/sfu/ephox-dev2dev
 ___
 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/


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
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 change $Conf{TopDir} = '/var/lib/backuppc';

2011-03-08 Thread Kris Lou
What version are you using?  I seem to remember a bug that was fixed for 3.2
regarding changing the TopDir.

Kris Lou
k...@themusiclink.net


On Tue, Mar 8, 2011 at 4:41 PM, De Abreu
backuppc-fo...@backupcentral.comwrote:

 Hi guys!


 I am new with Backuppc and i am trying to change on config.pl

 $Conf{TopDir} = '/var/lib/backuppc';
 to
 $Conf{TopDir} = '/data01/backuppc';

 wend i do that and i restart the service backuppc i got this message

 SERVER:/etc/backuppc# /etc/init.d/backuppc restart
 Restarting backuppc...No process in pidfile
 `/var/run/backuppc/BackupPC.pid' found running; none killed.
 2011-03-08 21:34:35 Can't create a test hardlink between a file in
 /data01/backuppc/pc and /data01/backuppc/cpool.  Either these are different
 file systems, or this file system doesn't support hardlinks, or these
 directories don't exist, or there is a permissions problem, or the file
 system is out of inodes or full.  Use df, df -i, and ls -ld to check each of
 these possibilities. Quitting...

 Sould i create a simbolic link that points /var/lib/backuppc to
 /data01/backuppc ?


 Please let me know


 Thanks

 Daniel

 +--
 |This was sent by daniel.ab...@barrowsonline.com via Backup Central.
 |Forward SPAM to ab...@backupcentral.com.
 +--




 --
 Colocation vs. Managed Hosting
 A question and answer guide to determining the best fit
 for your organization - today and in the future.
 http://p.sf.net/sfu/internap-sfd2d
 ___
 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/

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d___
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 does BackupPC work?

2010-10-29 Thread Kris Lou
This is informative.  Comparing Rsync vs Rsyncd, which has less load on the
client side?  I'm considering moving away from my implementation rsync via
autofs cifs.


Kris Lou
k...@themusiclink.net


On Fri, Oct 29, 2010 at 8:25 AM, Les Mikesell lesmikes...@gmail.com wrote:

 On 10/29/2010 8:16 AM, Richard Shaw wrote:
  There is surprisingly little info on how BackupPC really works, at
  least with the google searches I've tried. I'm just looking for a
  concise overview of how the different backup methods work and how they
  are different from one another.
 
  The reason I'm looking for this information is I will be giving a
  presentation of BackupPC to my local LUG.
 
  I'm looking for something as close as I can get to:
 
  Rsync:
  1. BackupPC does x.
  2. Then this.
  3. Then this.
  4. etc.
 
  Rsyncd:
  1. Same as rsync except x.
 
  Tar:
  ...
 
  Smb:
  ...
 
  and so forth.

 First backuppc uses a native tool to transfer files.  Then it checks the
 file contents against the pool with a hashing mechanism, and replaces
 any exact matches with a link to the existing pool copy.

  For instance: I can understand how tar over SSH transfers files. But
  who decides what files to transfer?

 Your file include or exclude lists are mapped into the options
 appropriate for the xfer program with the 'share' as the top of the tree.

  Does BackupPC crawl the share
  first and build a filelist? Or is there an option for tar that takes
  care of if for BackupPC?

 With tar and smb, backuppc doesn't know much about the remote side - it
 just passes the options to the program.  Tar runs over ssh entirely on
 the remote side.

  For SMB I understand that it would just look like a local filesystem
  after the share is mapped to the BackupPC server. Then what? Does it
  use rsync against the network share?

 The smb method actually uses the smbtar program so it looks more like
 tar than a mapped file system.

 The rsync method runs a native rsync via ssh on the remote side, using a
 perl implementation on the server.   Rsyncd is similar, but talks to a
 standalone rsync running in daemon mode that must be set up on the
 target.  Rsync sends the entire directory tree you request from the
 remote, then both sides walk the list to find and send differences.

 The practical difference is that rsync uses less bandwidth and is better
 at catching every change in incrementals.   The smb and tar methods go
 strictly by file timestamps and will miss moved or copied files that
 keep their old timestamps, where rsync will find them with the directory
 comparison against your previous full tree.

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




 --
 Nokia and ATT present the 2010 Calling All Innovators-North America
 contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
 marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 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/

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
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] Documentation lagging behind the GUI

2010-10-21 Thread Kris Lou
The Wiki would be a great place to host that CentOS/RHEL Howto that Max
Hetrick originally created for the CentOS Wiki, but now is hosted/maintained
by Sorin Sobu?  If not, I believe I have an offline copy that I can forward
to whomever has wiki access.

Kris Lou
k...@themusiclink.net


On Thu, Oct 21, 2010 at 9:43 AM, Carl Wilhelm Soderstrom 
chr...@real-time.com wrote:

 On 10/21 11:52 , itismike wrote:
  Thanks for the perspective and the encouragement. How does one go about
 requesting editor permissions on the wiki?

 have you created an account?
 if you have; then the question is beyond me. I think there's been some
 changes that other people know more about than I.

 --
 Carl Soderstrom
 Systems Administrator
 Real-Time Enterprises
 www.real-time.com


 --
 Nokia and ATT present the 2010 Calling All Innovators-North America
 contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
 marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 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/

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
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] Two NICs In One Client

2010-10-15 Thread Kris Lou
It is also simple enough to run DNSmasq on your BackupPC box.  Setup is
REALLY easy.

http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html^ has the man
pages, but the /etc/dnsmasq.conf file is well documented.

Kris

On Fri, Oct 15, 2010 at 7:38 AM, Tyler J. Wagner ty...@tolaris.com wrote:

 On Fri, 2010-10-15 at 17:54 +0400, Paul R. Clark wrote:
  BackupPC works with each of these clients when only one connection (wired
 or Wi-Fi) is active.
  Note that both Wi-Fi (11) and wired (12) connections work well.
 
  BackupPC cannot find the client when both connections (wired and Wi-Fi)
 are active.

 Hi Paul,

 What you want is DNS. I use an embedded router which runs DNSmasq. This
 provides both DHCP and DNS. It always matches hostnames (from DHCP
 requests) to DNS names, as well as reverse records. Thus my BackupPC
 server can just look for 12 and find it, on whatever IP it has.
 You might consider it. You can do the same setup with BIND and DHCPd,
 but it is a lot more work to set up.

 The alternative is to use BackupPC's DHCP setting
 in /etc/backuppc/hosts. This causes BackupPC to scan the IP range for
 the host itself.

 Regards,
 Tyler

 --
 A competent and self-confident person is incapable of jealousy in
 anything. Jealousy is invariably a symptom of neurotic insecurity.
   -- Lazarus Long, Time Enough for Love, by Robert A. Heinlein



 --
 Download new Adobe(R) Flash(R) Builder(TM) 4
 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
 Flex(R) Builder(TM)) enable the development of rich applications that run
 across multiple browsers and platforms. Download your free trials today!
 http://p.sf.net/sfu/adobe-dev2dev
 ___
 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/

--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev___
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] Best way to backup Windows clients?

2010-05-06 Thread Kris Lou
Hey people,

I'm wondering what the preferred method is to backing up Windows clients,
especially in terms of performance.  Currently, I'm simply mounting windows
drives via SMB/autofs, and running rsync over that.  I like it because I
don't have to install any additional software on the clients.  But I
know/read that a lot of people run Cygwin and rsync directly.  What are the
advantages of that?

Thanks,

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] SELinux preventing server connection.

2010-04-29 Thread Kris Lou
I emailed the Zmanda folk, and they uploaded the SRPM to the below link.

Kris Lou
k...@themusiclink.net


On Thu, Apr 29, 2010 at 11:33 AM, Johan Cwiklinski maili...@x-tnd.bewrote:

 Hello,

 Le 29/04/2010 19:43, Kris Lou a écrit :
  Out of curiosity, is there a difference (besides version/release of
  BackupPC) between the Fedora/EPEL rpm and the rpm available from Zmanda?
 
  http://www.zmanda.com/download-backuppc.php
 
  Kris Lou
  k...@themusiclink.net
 

 First of all, the version you pointed out is 3.2.0beta ; on Fedora/EPEL
 repositories provides 3.1.0 for now.

 As for the differences beetween RPM themselves, there is no zmanda SRPM
 available, so I cannot say if it is different or not.

 Regards,
 Johan


 --
 ___
 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 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] NAS

2010-04-07 Thread Kris Lou
I have 2 QNAP NASes - one running NFS for VMs, and the other as mounted as a
NFS share for BackupPC pools.  I like them - full feature set, reasonably
low power requirements, etc.  I don't have any benchmarks for you (I'm sure
you can find them on smallnetbuilder), but so far the thing that I DON'T
like about it is that it won't run a LDAP client for user authentication.
 Oddly enough, it will do LDAP authentication for PHP, but not for general
user/Samba.  Yet . . . (crosses fingers)

But unless you're going to buy a 4+ drive NAS, I'd think that you're better
off buying a small bare bones and setting it up yourself.  Then you KNOW its
more flexible with custom configurations.  At home I have a MSI Wind box
(atom 230), ripped out the CD drive, put in a 2nd HD enclosure, so have 2
1.5TB drives in RAID 1 for data, and the OS running off of a mounted Compact
Flash card . . .

But I'm no expert.  So take that with your grain of salt.

Kris Lou
k...@themusiclink.net


On Wed, Apr 7, 2010 at 7:10 AM, David Williams dwilli...@dtw-consulting.com
 wrote:

  Thanks Erik,



 I think that buying a bare bones setup without the disks would be
 preferable so that I can choose the exact type of disks that I’d like to
 have J



 ___

 Dave Williams

 Check out our WebOS mobile phone app for the *Palm Pre* and *Pixi*:

 Golf Caddie http://www.dtw-consulting.com/GolfCaddie | Golf Caddie 
 Forumhttp://www.dtw-consulting.com/GolfCaddie/forum| Golf
 Caddie FAQ http://www.dtw-consulting.com/GolfCaddie/faq.html by
 DTW-Consulting, Inc.

 [image: site_logo]



 *From:* Erik Hjertén [mailto:erik.hjer...@companion.se]
 *Sent:* Wednesday, April 07, 2010 9:46 AM

 *To:* backuppc-users@lists.sourceforge.net
 *Subject:* Re: [BackupPC-users] NAS



 David,

 I think it depends on, as you say, the flavour. Here in sweden these NAS:es
 comes with and without disks. I bought mine without disks as I had two
 Western Digital Caviar Green (WD10EACS) from my previous setup. These disks
 are 5400 rpm.

 Regards
 /Erik

 David Williams skrev 2010-04-07 14:03:

 Erik,



 Thanks for the feedback.  That’s helpful.

 What type of drives come with the NAS?  Are they 7200rpm or 5400rpm? Or
 does that depend on which flavour of the Netgear NAS one buys?



 ___

 Dave Williams

 Check out our WebOS mobile phone app for the *Palm Pre* and *Pixi*:

 Golf Caddie http://www.dtw-consulting.com/GolfCaddie | Golf Caddie 
 Forumhttp://www.dtw-consulting.com/GolfCaddie/forum| Golf
 Caddie FAQ http://www.dtw-consulting.com/GolfCaddie/faq.html by
 DTW-Consulting, Inc.

 [image: site_logo]



 *From:* Erik Hjertén 
 [mailto:erik.hjer...@companion.seerik.hjer...@companion.se]

 *Sent:* Tuesday, April 06, 2010 5:53 PM
 *To:* backuppc-users@lists.sourceforge.net
 *Subject:* Re: [BackupPC-users] NAS



 Hi David

 I have a ReadyNAS Duo [X-RAID] with two 1TB disks in raid 0 (mirrored). I
 believe it's close to what you are looking at. It's mounted as NFS in my
 Ubuntu server. I use this set-up in my home for personal as well as business
 use. It has worked flawlessly since I installed it, I think it was in
 october last year. I backup several clients to it as well as the Ubuntu
 server it self. A full backup typically reaches a speed of 8 MB/s, but I
 haven't made any effort to tune the setup, I just plug and pray ;-) . I also
 store some larger files on it and I stream video from it as well. Works
 great.

 What do you want to know?

 Regards
 /Erik

 David Williams skrev 2010-04-06 23:11:

 I currently have a Western Digitial 1TB My Book World device which seems
 like it’s starting to play up, which is a shame because I’ve hacked it (it’s
 basically a Linux server) so that I could mount the drive as NFS under Linux
 and perform backups using Backuppc.  I haven’t look into the problem with
 the drive too much, but after a few days of it being mounted I can’t cd into
 the mount partition of the drive  L



 I’m looking to get a replacement which will mainly be used to backup
 various mount points on my home Linux server.  I haven’t done too much
 research yet but need something that is one the cheap side, is compatible
 with Linux and preferably will let me format the drives to ext3 too, or at
 least mount the drives such that I can perform backups using Backuppc, which
 requires hardlinks.



 I took a very quick look around and saw the Netgear RND2210-100NAS which
 looks pretty decent (states that it’s compatible with Linux) and has 2
 drives.  Looks like it already comes with 2 x 1TB drives (no idea what type
 of drives though if it does indeed come with 2 HDs) and this would be great
 as I could use 1 on the 1TB drive for my backups and the other to hold my
 photos, music and videos, which would free up some space on my Linux server.



 Has anyone ever used (or is currently using) the above Netgear device and
 could provide feedback?



 If I can’t

Re: [BackupPC-users] Installing on Red Hat Enterprise

2010-03-26 Thread Kris Lou
On Fri, Mar 26, 2010 at 9:23 AM, Les Mikesell lesmikes...@gmail.com wrote:

 On 3/26/2010 10:31 AM, John BORIS wrote:
 
 
  John J. Boris, Sr.
  JEN-A-SyS Administrator
  Archdiocese of Philadelphia
  Remember! That light at the end of the tunnel
  Just might be the headlight of an oncoming train!
 
  Josh Malonejmal...@nrao.edu  3/26/2010 11:15 AM
 
  Is the backuppc process running?
  Yes
 
  backuppc  6534 1  0 09:59 ?00:00:00 /usr/bin/perl
  /usr/local/BackupPC/bin/BackupPC -d
  backuppc  6536  6534  0 09:59 ?00:00:00 /usr/bin/perl
  /usr/local/BackupPC/bin/BackupPC_trashClean
  backuppc  7058  7056  0 10:09 ?00:00:00 /usr/sbin/httpd
 
  Are you using suexec?
  Yes
  If this is a dedicated backuppc server (like mine)
  just change the apache user to 'backuppc'. I'm running on RHEL5.4
  using the
  standard tarball with no issues, but with apache running as backuppc.
  Yes
  Here is the BackupPC.conf
  Directory   /usr/local/BackupPC
  order deny,allow
  deny from all
  allow from 127.0.0.1
  AuthType Basic
  AuthUserFile /etc/BackupPC/BackupPC.users
  AuthName BackupPC Community Edition Administrative Interface
  require valid-user
  /Directory
 
  Alias   /BackupPC   /usr/local/BackupPC/bin
  ScriptAlias /BackupPC_Admin /BackupPC_Admin

 Shouldn't the target of the ScriptAlias be the full path to the
 BackupPC_Admin program?

 The easy way on RHEL/Centos is to enable the epel yum repository and
 yum install BackupPC
 But be aware that it will put things in different locations.

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


The other easy way is the RPM from Zmanda :
http://www.zmanda.com/download-backuppc.php

Kris Lou
k...@themusiclink.net
--
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/


[BackupPC-users] Having Problems Creating Archives

2010-03-23 Thread Kris Lou
Hey,

I have a working installation of 3.2.0beta1 on CentOS, but for some reason I
can't get the Archive function to work.  Working from the web interface, I
create the archive host, change the target to /Backups/Archive (mounted
share on the BackupPC server), check the hosts I want archived, and then it
fails with:

Error: Can't open/create /Backups/pc/localhost/archiveReq.1035.0

(archive hostname = localhost for this trial).

It doesn't create the pool for this host.  Is anybody else having these
problems with 3.2.0beta1?
The archive string/command is the default
$Installdir/bin/BackupPC_archiveHost $tarCreatePath $splitpath $parpath
$host $backupnumber $compression $compext $splitsize $archiveloc $parfile *

Thanks,

Kris Lou
k...@themusiclink.net
--
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/


[BackupPC-users] BackupPC on Cherokee Web Server

2010-03-03 Thread Kris Lou
Hi all,

I (mostly) successfully was able to get BackupPC (3.2.0beta1) running on a
CentOS box with the Cherokee web server.  If anybody is also using this web
server, have you noticed any issues with the Server Status link?  For me,
it always points to the current page.  Not a deal breaker, but certainly an
annoyance.

Thanks!

Kris
k...@themusiclink.net
--
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/