Re: [BackupPC-users] How to backup a laptop over internet

2017-05-30 Thread Xuo

Hi,

Thank you for the explanations, even though I think I've understood 
about 10% of what you wrote ;-)
I understand it's not easy to implement each request any user can ask 
for. So don't worry.
I've started working on this vpn connection without knowing exactly what 
I could use it for, but I see that little by little, it will become more 
and more useful.
I'm still working on it and when I'll have better understood how it 
works, I'll re-read all these posts.


Regards.

Xuo.


Le 30/05/2017 à 21:18, Holger Parplies a écrit :

Hi,

Xuo wrote on 2017-05-30 19:03:03 +0200 [Re: [BackupPC-users] How to backup a 
laptop over internet]:

I'm using BackupPC 3.3.0 (got from the Web gui).
Yes this feature would be really great (at least for me !!).

sorry, really busy, two quick remarks:
Can't be too difficult to backport "this feature" (context = array argument
to ClientNameAlias possible) to 3.3.0. Supposing I find the time before
someone else does, I'd look at it ...


Thank you to all for your help. I'm still fighting with the vpn
connection. I'll tell you if I succeed (one day) to backup through
this f... vpn connection.
vpn + nice feature => king of the world.

You *can* use a VPN locally, too. That way, you'd be reachable via the same
address in both cases (plus a local one if you're on the local net; probably
faster for non-BackupPC traffic). Routing might be a little tricky. You'd
probably need to NAT to the VPN gateway address for connections from the LAN
to your notebook (via the VPN address) - something along the lines of

   iptables -t nat -A POSTROUTING -o tun0 -d 1.2.3.4 -j SNAT --to-source 1.2.3.1

(replace tun0 with the VPN device name, 1.2.3.4 with the notebook VPN address
and 1.2.3.1 with the VPN gateway VPN address). You'll also need to prevent
routing to your local subnet via the VPN when you're on the local subnet
(which OpenVPN with "push route ..." would do, for instance).

Or you could DNAT connections to the VPN address to the local address when
the VPN isn't connected (that's a DNAT in PREROUTING *and* an SNAT in
POSTROUTING, because you need to catch the return packets).

Requires some networking skills and possibly some experimentation, but it
can definitely be done. The ClientNameAddress variant is easier to implement
without doubt, but the VPN variant is more generic, i.e. it doesn't require
 to be able to handle multiple addresses.

If you need help with routing or firewall rules, feel free to contact me
off-list (hopefully, my MTA will behave ...), and I'll try to respond soon.

Regards,
Holger

--
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] How to backup a laptop over internet

2017-05-30 Thread Xuo

Hi,

I'm using BackupPC 3.3.0 (got from the Web gui).
Yes this feature would be really great (at least for me !!).
Thank you to all for your help. I'm still fighting with the vpn 
connection. I'll tell you if I succeed (one day) to backup through this 
f... vpn connection.

vpn + nice feature => king of the world.

Regards.

Xuo.

Le 30/05/2017 à 01:30, B a écrit :

On Tue, 30 May 2017 09:13:14 +1000
Adam Goryachev  wrote:


Wasn't there a recent extension to ClientNameAlias which allows
multiple addresses to be used, which will be tried (in order), and the
first found would run the backup?

Duno, Adam, I'm still in v.3 for production use and no time to explore
v.4 (is it now rock-stable ?); this might change when Debian Stretch
will become the new stable (around mid june ?), but I must see about
solid version migration before any change can take place.


This seems a perfect use case for that, adding the local IP and the
remote IP as the two aliases, hence only a single "host" in backuppc,
consistent ordered backups all in one place.

This is really a nice feature, especially in this case.


PS, this probably only applies to BPC4.x and I forget what version the
OP is using.

He did not state it, just that he use mageia5, which, from their site
is a fork of mandriva - might work the same as rh: one click and it
installs a hexabyte "package" with no other choice *<;-{p)

Jean-Yves

--
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] How to backup a laptop over internet

2017-05-29 Thread Xuo
Thank you for the explanations. I'm currently fighting setting up an 
openVpn connection.

I'll have a close look at your proposal.

Regards.

Xuo.

Le 29/05/2017 à 21:21, Les Mikesell a écrit :

On Mon, May 29, 2017 at 1:56 PM, Xuo  wrote:

Hi,
l
Thank you for the replies.
My pc is running Mageia5.
I don't understand how a VPN connection could help solving my problem. Could

Some VPNs (OpenVPN for example) can be configured to have a fixed
private IP address at the remote end, even though the connecting
public addresses will vary with your location.   If you set a
point-to-point tunnel VPN up on your laptop and your backuppc server
(or another host or the router on your home network) then backuppc can
be configured to use the end point address as its target, and if you
don't want to wait for a scheduled backup to run you can also use it
to access the web interface.   A good starting point would be looking
at point-to-point configurations of OpenVPN.You'll need either a
stable IP address for your home network or at least something that
will work with a dynamic DNS service.




--
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] How to backup a laptop over internet

2017-05-29 Thread Xuo

Hi,
l
Thank you for the replies.
My pc is running Mageia5.
I don't understand how a VPN connection could help solving my problem. 
Could you please explain more in details ?
I understand the proposal from Johan Ehnberg setting 2 hosts, but I'd 
prefer to avoid this.


Regards.

Xuo.

Le 28/05/2017 à 21:21, B a écrit :

On Sun, 28 May 2017 20:50:55 +0200
Xuo  wrote:


Le 22/051/2217 à 198.44, Xuo a écrit :

Hi,

Hi,


I am using BackupPC on my laptop when it is connected to my local
network at home.
But, when I'm not at home (durin the work week), I don't know how to
do. I'm not in some hotels, ... but in another flat (that I rent),
where I have a static IP and where I could open some ports if
necessary (ssh, ...).

If you're under Linux, use a VPN, such as: https://www.wireguard.io/ ;
under m$, duno (& don't care very much.)


I think I could define my laptop ip (on my BackupPC server
configuration) using my remote ip adress, but this wouldn't work
when I come back home.

This means you'll be obliged to reach your server through the VPN
connection when in a home-home configuration; so your VPN MUST be able
to connect like that and preferably not eating your CPU.

And this won't work, even if you know by advance the IP where your
laptop can be reached, unless you open a hole in the firewall &| adsl
box/modem in the home that host you.


What should I do to perform these backups from my server (located at
home) to my laptop located either on my local network or remotely
(on internet).

Notice that if you usually backuppc@1600Z, you'd better already be
connected at this particular time, unless you wanna shift it.

Under m$, this should be the same, however it depends greatly on your
user's permissions & groups, which can be quite a PITA and depends
on your setup and user's type - notice m$ VPN almost all have large
security problems.

Other possibility: in case of breakdown, ask the nsa a copy taken from
their last incursion ;-p)

Jean-Yves

--
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/


[BackupPC-users] How to backup a laptop over internet

2017-05-28 Thread Xuo

Hi,

Nobody knows how to answer my question ?

Regards.

xuo.

Le 22/05/2017 à 19:44, Xuo a écrit :

Hi,
I am using BackupPC on my laptop when it is connected to my local 
network at home.

But, when I'm not at home (durin the work week), I don't know how to do.
I'm not in some hotels, ... but in another flat (that I rent), where I 
have a static IP and where I could open some ports if necessary (ssh, 
...).
I think I could define my laptop ip (on my BackupPC server 
configuration) using my remote ip adress, but this wouldn't work when 
I come back home.


What should I do to perform these backups from my server (located at 
home) to my laptop located either on my local network or remotely (on 
internet).


Regards.

Xuo.






--
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/


[BackupPC-users] How to backup a laptop over internet

2017-05-22 Thread Xuo
Hi,
I am using BackupPC on my laptop when it is connected to my local 
network at home.
But, when I'm not at home (durin the work week), I don't know how to do.
I'm not in some hotels, ... but in another flat (that I rent), where I 
have a static IP and where I could open some ports if necessary (ssh, ...).
I think I could define my laptop ip (on my BackupPC server 
configuration) using my remote ip adress, but this wouldn't work when I 
come back home.

What should I do to perform these backups from my server (located at 
home) to my laptop located either on my local network or remotely (on 
internet).

Regards.

Xuo.




--
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] cygwin-rsyncd-3.0.9.0 released

2013-08-15 Thread Xuo
hi,

I replaced all c:/rsyncd/ by /cygdrive/c/rsyncd/ in the file
c:/rsyncd/rsyncd.conf, stopped and restarted the rsyncd service and it
works.
Thank you very much for your help.

Xuo.

Le 15/08/2013 16:53, Mark Campbell a écrit :
>
> Xuo,
>
>  
>
> I ran into this problem recently as well, change your paths from
> C:/rsyncd/* to /cygdrive/c/rsyncd.  Older versions accepted the
> windows paths, but newer versions prefer/insist on the unix-styled path.
>
>  
>
> Thanks,
>
>  
>
> --Mark
>
>  
>
> *From:*Xuo [mailto:x...@free.fr]
> *Sent:* Thursday, August 15, 2013 10:46 AM
> *To:* backuppc-users@lists.sourceforge.net
> *Subject:* Re: [BackupPC-users] cygwin-rsyncd-3.0.9.0 released
>
>  
>
> Hi,
>
> I have installed rsync with the cygwin-rsyncd-3.0.9.0_installer.exe
> <http://sourceforge.net/projects/backuppc/files/cygwin-rsyncd/3.0.9.0/cygwin-rsyncd-3.0.9.0_installer.exe/download>
> file and modified the rsyncd.secrets and rsyncd.conf files.
> The TCP port 873 is open.
> When I try to connect to the PC under windows 7, I get :
>
> # rsync -rlt --delete xuo@192.168.0.25::Pauline
> <mailto:xuo@192.168.0.25::Pauline> Trimestriel
> Password:
> @ERROR: chdir failed
> rsync error: error starting client-server protocol (code 5) at
> main.c(1516) [Receiver=3.0.9]
>
> Any idea to solve this problem ? I still do not have run the service
> as the user to be "rsynced" (Pauline) as I don't know its password (I
> am waiting for it to see if this solves the problem).
>
> The rsyncd.conf file is the following.
>
>
> #
> use chroot = false
> max connections = 2
>  
> log file = c:/rsyncd/rsyncd.log
> #pid file = c:/rsyncd/rsyncd.pid
> lock file = c:/rsyncd/rsyncd.lock
> 
> [Pauline]
> path = c:/Users/pauline
> comment = Compte de Pauline
> strict modes = false
> auth users = xuo backuppc
> secrets file = c:/rsyncd/rsyncd.secrets
> hosts allow = 192.168.0.14
> read only = false
> list = false
>  
>
>
> Everything was working fine with some previous version of rsync but I
> wanted to use this one as I think it is a newer one.
>
> Regards.
>
> Xuo.
>
> Le 15/07/2013 00:02, Craig Barratt a écrit :
>
> Thanks to Ray Frush, I have released a new version of
> cygwin-rsyncd, the cygwin-based rsync for WinXX-based client
> machines.  As users have noted, the prior version is many years old.
>
>  
>
> The released files can be found on SF.net at:
>
>  
>
> https://sourceforge.net/projects/backuppc/files/cygwin-rsyncd/3.0.9.0/
>
>  
>
> Download and run cygwin-rsyncd-3.0.9.0_installer.exe to install
> rsyncd on your WinXX client for doing BackupPC backups.  The NSIS
> installer (see nsis.sourceforge.net <http://nsis.sourceforge.net>)
> is used to wrap everything into a single .exe.  This is based on
> the cwRsync installer, adapted by Ray.
>
>  
>
> Download cygwin-rsyncd-3.0.9.0_source.zip if you want to customize
> and build your own cygwin-rsyncd installer executable (eg:
> presetting some configuration parameters specific to your site).
>  You will need to download and run NSIS to build the installer
> executable.
>
>  
>
> This distribution includes rsync 3.0.9, a handful of cygwin 1.7.13
> libraries and blat (a utility for sending a notification email
> upon install, using a batch script notify.bat, which is commented
> out by default).  It was built using NSIS 3.0a0.
>
>  
>
> cygwin-rsyncd-3.0.9.0 will work with both BackupPC 3.x and 4.x.
>  For the new BackupPC 4.x, rsync 3.0.x is strongly recommended on
> the client side (versus rsync 2.x), since some optimizations like
> matching full-file md5 digests only work with rsync 3.0.x.  Also,
> rsync 3.0.x (and BackupPC4 rsync_bpc on the server side) both
> support rsync's incremental file list, which avoids the need to
> store the entire file list in memory (which was a drawback of
> rsync 2.x for big transfers).
>
>  
>
> Craig
>
>
>
>
> 
> --
>
> See everything from the browser to the database with AppDynamics
>
> Get end-to-end visibility with application monitoring from AppDynamics
>
> Isolate bottlenecks and diagnose root cause in seconds.
>
> Start your free trial of AppDynamics Pro today!
>
> 
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>
>
>
>
> _

Re: [BackupPC-users] cygwin-rsyncd-3.0.9.0 released

2013-08-15 Thread Xuo
Hi,

I have installed rsync with the cygwin-rsyncd-3.0.9.0_installer.exe
<http://sourceforge.net/projects/backuppc/files/cygwin-rsyncd/3.0.9.0/cygwin-rsyncd-3.0.9.0_installer.exe/download>
file and modified the rsyncd.secrets and rsyncd.conf files.
The TCP port 873 is open.
When I try to connect to the PC under windows 7, I get :

# rsync -rlt --delete xuo@192.168.0.25::Pauline Trimestriel
Password:
@ERROR: chdir failed
rsync error: error starting client-server protocol (code 5) at
main.c(1516) [Receiver=3.0.9]

Any idea to solve this problem ? I still do not have run the service as
the user to be "rsynced" (Pauline) as I don't know its password (I am
waiting for it to see if this solves the problem).

The rsyncd.conf file is the following.

#
use chroot = false
max connections = 2

log file = c:/rsyncd/rsyncd.log
#pid file = c:/rsyncd/rsyncd.pid
lock file = c:/rsyncd/rsyncd.lock

[Pauline]
path = c:/Users/pauline
comment = Compte de Pauline
strict modes = false
auth users = xuo backuppc
secrets file = c:/rsyncd/rsyncd.secrets
hosts allow = 192.168.0.14
read only = false
list = false


Everything was working fine with some previous version of rsync but I
wanted to use this one as I think it is a newer one.

Regards.

Xuo.

Le 15/07/2013 00:02, Craig Barratt a écrit :
> Thanks to Ray Frush, I have released a new version of cygwin-rsyncd,
> the cygwin-based rsync for WinXX-based client machines.  As users have
> noted, the prior version is many years old.
>
> The released files can be found on SF.net at:
>
> https://sourceforge.net/projects/backuppc/files/cygwin-rsyncd/3.0.9.0/
>
>
> Download and run cygwin-rsyncd-3.0.9.0_installer.exe to install rsyncd
> on your WinXX client for doing BackupPC backups.  The NSIS installer
> (see nsis.sourceforge.net <http://nsis.sourceforge.net>) is used to
> wrap everything into a single .exe.  This is based on the cwRsync
> installer, adapted by Ray.
>
> Download cygwin-rsyncd-3.0.9.0_source.zip if you want to customize and
> build your own cygwin-rsyncd installer executable (eg: presetting some
> configuration parameters specific to your site).  You will need to
> download and run NSIS to build the installer executable.
>
> This distribution includes rsync 3.0.9, a handful of cygwin 1.7.13
> libraries and blat (a utility for sending a notification email upon
> install, using a batch script notify.bat, which is commented out by
> default).  It was built using NSIS 3.0a0.
>
> cygwin-rsyncd-3.0.9.0 will work with both BackupPC 3.x and 4.x.  For
> the new BackupPC 4.x, rsync 3.0.x is strongly recommended on the
> client side (versus rsync 2.x), since some optimizations like matching
> full-file md5 digests only work with rsync 3.0.x.  Also, rsync 3.0.x
> (and BackupPC4 rsync_bpc on the server side) both support rsync's
> incremental file list, which avoids the need to store the entire file
> list in memory (which was a drawback of rsync 2.x for big transfers).
>
> Craig
>
>
> --
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>
>
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/

--
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=48897031&iu=/4140/ostg.clktrk___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] cygwin-rsyncd outdated No recent version ?

2013-07-10 Thread Xuo
Hi,

I am interested in this feature.

Regards.

Xuo.

Le 09/07/2013 17:28, Ray Frush a écrit :
>
> Here at $WORK we created a "Nullsoft Scriptable Install System"
> (http://nsis.sourceforge.net/Main_Page) package that creates an
> install package for the Cygwin Rsync(d) 3.0.9. 
>
> We created the package by copying just the rsync, and cygrunsrv.exe
> (and needed DLLs) from a full Cygwin.  The installer puts rsync in
> C:\rsync, and installs and starts the rsyncd service. 
>
> We include in the package our site specific rsyncd.conf and
> rsyncd.secrets and additional files in the package that submit a call
> to our ticketing system to alert us that a new machine is ready to be
> added to BackupPC. 
>
> Because of our customization, I can't just release our package into
> the wild.   If there's enough interest, I can "sanitize" our build
> tree and I can share our NSIS config so others can easily customize
> and build their own rsyncd installers.
>
>
>
>
>
> -- 
> Ray Frush   "Either you are part of the solution
> T:970.288.6223   or part of the precipitate."
> -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
>  Avago Technologies, Inc. | Technical Computing | IT Engineer
>
>
> --
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>
>
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Latest rsync.exe and cygwin1.dll for Windows 7.

2011-07-14 Thread Xuo
Hi,

I just used your 2 files : cygwin1.dll and rsync.exe but the rsyncd
service did not start. It is probably because the cygrunsrv.exe file is
not compatible with the 2 previous files.
If you have a cygrunsrv.exe file compatible with your cygwin1.dll, I am
interested in.

Regards.

Xuo.

Le 11/07/2011 12:25, Eduardo Díaz Rodríguez a écrit :
> Hi I have a windows 7 Spanish UTF8 files for backup my pc.
>
> I use aways the same configuration.
>
> DeltaCopy.
>
> Overwrite the files with this.
>
> http://www.pk25.com/temp/DeltaCopyFiles_cygwin1.7.7z
>
> This is UTF-8 support files long directorys and all you need.
>
> regards
>
>
> On Mon, 11 Jul 2011 05:34:21 -0400, Doug Lytle wrote:
>> Dinesh Shah (દિનેશ શાહ/दिनेश शाह) wrote:
>>> We hope to release the setup binary later this month and installer
>>> sources later.
>> Excellent!
>>
>> Thank you very much,
>>
>> Doug
>>
>> --
>> Ben Franklin quote:
>>
>> "Those who would give up Essential Liberty to purchase a little
>> Temporary Safety, deserve neither Liberty nor Safety."
>>
>>
>>
>> --
>> All of the data generated in your IT infrastructure is seriously 
>> valuable.
>> Why? It contains a definitive record of application performance, 
>> security
>> threats, fraudulent activity, and more. Splunk takes this data and 
>> makes
>> sense of it. IT sense. And common sense.
>> http://p.sf.net/sfu/splunk-d2d-c2
>> ___
>> 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/


--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
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] Latest rsync.exe and cygwin1.dll for Windows 7.

2011-07-11 Thread Xuo
Le 11/07/2011 12:25, Eduardo Díaz Rodríguez a écrit :
> Hi I have a windows 7 Spanish UTF8 files for backup my pc.
>
> I use aways the same configuration.
>
> DeltaCopy.
>
> Overwrite the files with this.
>
> http://www.pk25.com/temp/DeltaCopyFiles_cygwin1.7.7z
Hi,

I'll try to use your files on next week end.

Thank you.

Xuo.
>
> This is UTF-8 support files long directorys and all you need.
>
> regards
>
>
> On Mon, 11 Jul 2011 05:34:21 -0400, Doug Lytle wrote:
>> Dinesh Shah (દિનેશ શાહ/दिनेश शाह) wrote:
>>> We hope to release the setup binary later this month and installer
>>> sources later.
>> Excellent!
>>
>> Thank you very much,
>>
>> Doug
>>
>> --
>> Ben Franklin quote:
>>
>> "Those who would give up Essential Liberty to purchase a little
>> Temporary Safety, deserve neither Liberty nor Safety."
>>
>>
>>
>> --
>> All of the data generated in your IT infrastructure is seriously 
>> valuable.
>> Why? It contains a definitive record of application performance, 
>> security
>> threats, fraudulent activity, and more. Splunk takes this data and 
>> makes
>> sense of it. IT sense. And common sense.
>> http://p.sf.net/sfu/splunk-d2d-c2
>> ___
>> 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/


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
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] Latest rsync.exe and cygwin1.dll for Windows 7.

2011-07-11 Thread Xuo
Le 11/07/2011 09:53, Dinesh Shah (દિનેશ શાહ/दिनेश शाह) a écrit :
> Hello Group,
>
> On Sun, Jul 10, 2011 at 8:39 PM, Doug Lytle  wrote:
>> Xuo wrote:
>>> can anybody provide a tar/zip
>> I'd love to see this as well!
> We @ Shah Micro System Pvt. Ltd. are working to package the latest
> versions of Cygwin + OpenSSH + RSync in single setup.exe file.
>
> We hope to release the setup binary later this month and installer
> sources later.
Great !!

Xuo.
>
>> Doug
> HTH
> With regards,


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
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] Latest rsync.exe and cygwin1.dll for Windows 7.

2011-07-10 Thread Xuo
Hi,

There was already a post about this subject a few weeks ago asking for
the possibility to use the latest version of rsync under Windows but
without any real answer.
My question is the following : can anybody provide a tar/zip/... file
with the version 3.0.8 of rsync ,the correct cygwin1.dll and all other
relevant files to be able to run backuppc from a linux server onto
another PC running Windows 7.
I have some problems about long files that "could" (I am not sure at
all) be solved with the latest versions of all tools and I would like to
avoid installing the full cygwin stuff.

Thank you for your help.

Xuo.


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
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 are the advantages/disadvantages of smb vs rsyncd/rsync

2010-10-29 Thread Xuo
Le 28/10/2010 16:15, Rob Poe a écrit :
>
>
> On 10/9/2010 10:39 AM, Xuo wrote:
>>
>>
>> Le 06/10/2010 15:04, Michael Stowe a écrit :
>>>>  Hi,
>>>>
>>>> I would like to backup some laptop computers (for my personal needs).
>>>> For the moment, I automount the shared directories of the Windows 7 PC
>>>> on my Linux backuppc server. This works fine but the problem is that
>>>> some backups are not performed when the laptop is shut down. The backups
>>>> start because the Linux server is running but the mount point is down.
>>>> I would like to know what are the advantages/drawbacks for laptop pcs of
>>>> the following policies :
>>>>
>>>> * automount of shared directories + rsync (what I do now).
>>>> * smb + tar
>>>> * rsyncd
>>>> * Other ?
>>>>
>>>> Thank you.
>>>>
>>>> Xuo.
>>> * automount of shared directories + rsync (what I do now).
>>> Probably the least bandwidth-efficient, since rsync has to read every file
>>> over the mount.  Can't handle open files.
> Why would you mount the directories then rsync them?  I've been using
> the cygwin RsyncD module on Windows machines, and it's worked
> splendidly...
Hi,

This what I do now.
I wanted to avoid to install anything on the clients, but I think using
rsyncd is the best trade-off between efficiency and easiness of
installation.

Regards.

Xuo.
>
>
> --
> Nokia and AT&T 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 AT&T 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] What are the advantages/disadvantages of smb vs rsyncd/rsync

2010-10-09 Thread Xuo
 Le 09/10/2010 18:19, Les Mikesell a écrit :
> On 10/9/10 10:39 AM, Xuo wrote:
>>
>> Le 06/10/2010 15:04, Michael Stowe a écrit :
>>>>   Hi,
>>>>
>>>> I would like to backup some laptop computers (for my personal needs).
>>>> For the moment, I automount the shared directories of the Windows 7 PC
>>>> on my Linux backuppc server. This works fine but the problem is that
>>>> some backups are not performed when the laptop is shut down. The backups
>>>> start because the Linux server is running but the mount point is down.
>>>> I would like to know what are the advantages/drawbacks for laptop pcs of
>>>> the following policies :
>>>>
>>>>  * automount of shared directories + rsync (what I do now).
>>>>  * smb + tar
>>>>  * rsyncd
>>>>  * Other ?
>>>>
>>>> Thank you.
>>>>
>>>> Xuo.
>>> Well, if the laptop's down, none of these methods will help you back it
>>> up, obviously, but here's a brief outline of the pros and cons:
>>>
>>> * automount of shared directories + rsync (what I do now).
>>> Probably the least bandwidth-efficient, since rsync has to read every file
>>> over the mount.  Can't handle open files.
>>> * smb
>>> Requires the least amount of software on the client.  Uses timestamp for
>>> incrementals, so can miss copied files and renamed directories during
>>> incrementals.  Can't handle open files.
>>> * automount of shared directories + tar
>>> All the disadvantages of mounting plus all the disadvantages of tar
>>> * rsyncd/rsync
>>> Can be bandwidth efficient and seamless, there are scripts publicly
>>> available that can handle open files.  Within this category, the
>>> variations of ssh/rsyncd, rsyncd, winexe/rsync have varying degrees of
>>> speed, ease of deployment, and encryption.  I use the winexe/rsync method
>>> since we have no need of encryption, so we prioritize speed and ease of
>>> deployment.
>> Hi,
>>
>> Thank you for your answer and sorry for the delay in response.
>>
>> * Point 1 : you say rsync has to read all files over the mount, but I 
>> think
>>   it is more or less the same for all methods.
> If you run rsync over the network instead of locally over a network mount, 
> only 
> the differences are transferred.  The rsync instances at each end only 
> exchange 
> block checksums to identify already-matching content.  On a fast LAN, the 
> difference may not matter.
>
>> * Point 4 : it seems to be the most widely used but it needs so 
>> executables
>>   on all clients. This is a big disadvantage.
> Yes, there are some tradeoffs.  You could also use smb as the xfer method - 
> with 
> the disadvantage of missing new files with old timestamps in incrementals.
Hi,

How can this happen ? If this file has an old timestamps, then it means
that it was moved from a directory into the one which is saved. Then it
is a new file, then it should be saved.
>> * One point you did not mentioned and I considered as important (if I
>>   understand the way backupPC works).
>>   o In case of automounts, the mount point is considered as a local
>> directory. If the laptop PC is shutdown, then the directory is
>> considered empty and the backup ends normally. There is no more
>> backup till the next usual one.
> You could use a DumpPreUserCmd or DumpPreShareCmd action to check for 
> something 
> below the mount point and set UserCmdCheckStatus to fail the backup so 
> retries 
> will happen.
This is a good idea.
>>   o If backups are done with smb, then, if the laptop is shutdown, 
>> the
>> backup fails and it will be scheduled for the next time (for ex, 
>> one
>> hour later). This is a major advantage of smb vs automount.
>>   o With rsync/rsyncd, I don't know what the behavior is.
> Rsync/rsyncd will fail if the connection fails.
Thanks.

Xuo.


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
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] Graph data

2010-10-09 Thread Xuo
 Hi,

It is probably a stupid question, but what are graphs ?

Regards.

Xuo.

Le 06/10/2010 15:13, Rangel Caio a écrit :
> My graphs just not appear at all.
>
> Rangel Caio
>
>
> 2010/10/6 Trey Nolen  <mailto:supp...@internetpro.net>>
>
> Just to clarify, with the new version do you have graphs at all? I
> mean do you have graphs whose data starts when the new version was
> installed?  Or do the graphs just not appear at all?
>
>
>
> Trey Nolen
>
>
>
> Rangel Caio wrote:
>> Hy Trey,
>>
>> I just installed the new version over the last one using the
>> script configure.pl <http://configure.pl>. To work I just had to
>> replace the /etc/init.d/backuppc and edit Lang.pm. I didn't make
>> anything on any other file.
>>
>> Is there anything I can do to recover my graphs?
>>
>> Thanks,
>>
>> Rangel Caio
>>
>>
>> 2010/10/5 Trey Nolen > <mailto:supp...@internetpro.net>>
>>
>> I had that happen to me and it was because I had moved over
>> my CSS from the older version.   We had customized it some,
>> so I brought it over.   Could that be what happened to you?
>>
>> We also had an issue with some of the buttons not working
>> correctly on the web interface when we did that. 
>>
>>
>> Trey Nolen
>>
>>
>> Rangel Caio wrote:
>>> Hello guys,
>>>
>>> I´d done a upgrade of my BackupPC to version 3.2.0 and my
>>> graphs vanished.
>>>
>>> Does any one know how to activate that again?
>>>
>>> Thanks,
>>>
>>> Rangel Caio
>>> 
>>> 
>>>
>>> 
>>> --
>>> Beautiful is writing same markup. Internet Explorer 9 supports
>>> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
>>> Spend less time writing and  rewriting code and more time creating 
>>> great
>>> experiences on the web. Be a part of the beta today.
>>> http://p.sf.net/sfu/beautyoftheweb
>>> 
>>> 
>>>
>>> ___
>>> BackupPC-users mailing list
>>> BackupPC-users@lists.sourceforge.net 
>>> <mailto: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/
>>>   
>>
>> 
>> --
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2
>> & L3.
>> Spend less time writing and  rewriting code and more time
>> creating great
>> experiences on the web. Be a part of the beta today.
>> http://p.sf.net/sfu/beautyoftheweb
>> ___
>> BackupPC-users mailing list
>> BackupPC-users@lists.sourceforge.net
>> <mailto: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/
>>
>>
>> 
>>
>> 
>> --
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
>> Spend less time writing and  rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today.
>> http://p.sf.net/sfu/beautyoftheweb
>> 
>>
>> ___
>> BackupPC-users mailing list
>> BackupPC-users@lists.sourcefor

Re: [BackupPC-users] What are the advantages/disadvantages of smb vs rsyncd/rsync

2010-10-09 Thread Xuo


Le 06/10/2010 15:04, Michael Stowe a écrit :
>>  Hi,
>>
>> I would like to backup some laptop computers (for my personal needs).
>> For the moment, I automount the shared directories of the Windows 7 PC
>> on my Linux backuppc server. This works fine but the problem is that
>> some backups are not performed when the laptop is shut down. The backups
>> start because the Linux server is running but the mount point is down.
>> I would like to know what are the advantages/drawbacks for laptop pcs of
>> the following policies :
>>
>> * automount of shared directories + rsync (what I do now).
>>     * smb + tar
>> * rsyncd
>> * Other ?
>>
>> Thank you.
>>
>> Xuo.
> Well, if the laptop's down, none of these methods will help you back it
> up, obviously, but here's a brief outline of the pros and cons:
>
> * automount of shared directories + rsync (what I do now).
> Probably the least bandwidth-efficient, since rsync has to read every file
> over the mount.  Can't handle open files.
> * smb
> Requires the least amount of software on the client.  Uses timestamp for
> incrementals, so can miss copied files and renamed directories during
> incrementals.  Can't handle open files.
> * automount of shared directories + tar
> All the disadvantages of mounting plus all the disadvantages of tar
> * rsyncd/rsync
> Can be bandwidth efficient and seamless, there are scripts publicly
> available that can handle open files.  Within this category, the
> variations of ssh/rsyncd, rsyncd, winexe/rsync have varying degrees of
> speed, ease of deployment, and encryption.  I use the winexe/rsync method
> since we have no need of encryption, so we prioritize speed and ease of
> deployment.
Hi,

Thank you for your answer and sorry for the delay in response.

* Point 1 : you say rsync has to read all files over the mount, but
  I think it is more or less the same for all methods.
* Point 4 : it seems to be the most widely used but it needs so
  executables on all clients. This is a big disadvantage.
* One point you did not mentioned and I considered as important (if
  I understand the way backupPC works).
  o In case of automounts, the mount point is considered as a
local directory. If the laptop PC is shutdown, then the
directory is considered empty and the backup ends normally.
There is no more backup till the next usual one. 
  o If backups are done with smb, then, if the laptop is
shutdown, the backup fails and it will be scheduled for the
    next time (for ex, one hour later). This is a major
advantage of smb vs automount.
  o With rsync/rsyncd, I don't know what the behavior is.

Regards.

Xuo.
> * Other ?
>
> --
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> ___
> 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/

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
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] What are the advantages/disadvantages of smb vs rsyncd/rsync

2010-10-05 Thread Xuo
 Hi,

I would like to backup some laptop computers (for my personal needs).
For the moment, I automount the shared directories of the Windows 7 PC
on my Linux backuppc server. This works fine but the problem is that
some backups are not performed when the laptop is shut down. The backups
start because the Linux server is running but the mount point is down.
I would like to know what are the advantages/drawbacks for laptop pcs of
the following policies :

* automount of shared directories + rsync (what I do now).
* smb + tar
* rsyncd
* Other ?

Thank you.

Xuo.
--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
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 and -N option

2010-09-22 Thread Xuo
 Le 22/09/2010 21:26, Les Mikesell a écrit :
> On 9/22/2010 1:53 PM, Xuo wrote:
>>   Hi,
>>
>> I want to backup a directory of a PC running XP from my Linux BackupPC
>> server.
>> The command I use is smbclient with the following arguments :
>> /usr/bin/smbclient ordi_de_pauline\\Users -U admin -E -d 1 -c
>> tarmode\ full -Tc -
>>
>> The important thing is that I had to remove the -N option (no password)
>> of smbclient which is used by defaults in config.pl.
>> With the -N option, I had a "tree connect failed:
>> NT_STATUS_ACCESS_DENIED" error.
>>
>> I hope it can be useful to somebody.
>
> I think this is specific to the version of samba/smbclient on the 
> backuppc server - but I don't know which version(s) had this issue.
>
Hi,

I use version 3.5.3 of smbclient running under Mandriva 2010.1.

Regards.

xuo.

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
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] smbclient and -N option

2010-09-22 Thread Xuo
 Hi,

I want to backup a directory of a PC running XP from my Linux BackupPC
server.
The command I use is smbclient with the following arguments :
/usr/bin/smbclient ordi_de_pauline\\Users -U admin -E -d 1 -c
tarmode\ full -Tc -

The important thing is that I had to remove the -N option (no password)
of smbclient which is used by defaults in config.pl.
With the -N option, I had a "tree connect failed:
NT_STATUS_ACCESS_DENIED" error.

I hope it can be useful to somebody.

Regards.

Xuo.

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
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 exclude all hidden files except some of them ?

2010-09-12 Thread Xuo
 Le 24/08/2010 17:04, Richard Shaw a écrit :
> On Mon, Aug 23, 2010 at 12:31 PM, Xuo  wrote:
>>  Hi,
>>
>> My RsyncShareName is /home.
>> I would like to be able to backup everything under /home/* but NOT to
>> backup all hidden files (.xxx files) of /home/* EXCEPT (for ex) .tcshrc,
>> .ssh, .filezilla and .thunderbird files or dirs.
>>
>> I have excluded some .xxx files (with BackupFilesExclude) but it is
>> painful and some new .xxx files can be added anytime. The best should be
>> to exclude all except some of them.
>>
>> How can I do this ?
> I wish I could give you some specific advice but I haven't tried this
> so I'll have to speak in generalities.
>
> I'm pretty sure excludes are applied prior to includes so I would
> approach it like this:
> - Use a single exclude for all ".xxx" files. The excludes work
> differently depending on the backup method so I would play with this
> until I get it working. I don't even understand them completely.
> - Then include the specific directories you want to backup.
>
> Just be careful how you craft your excludes. If you use a glob (i.e.
> *) on the front of your exclude then I think it will apply to every
> directory, not just /home. Also, I don't think it will differentiate
> between hidden directories or hidden files.
>
> Richard
Hi,

I couldn't succeed to do what I wanted.
If in the "BackupFilesOnly" I just define the dot files I want to keep
(and in the "BackupFilesExclude", all the dot files), then ONLY the dot
files from "BackupFilesOnly" are saved, no other regular file.
For the moment, I exclude some dot files that are too big and that I
don't want to backup.

Xuo.
> --
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users 
> worldwide. Take advantage of special opportunities to increase revenue and 
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-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/


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
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 looks at files permissions but not at user's ones.

2010-09-11 Thread Xuo
 Le 28/08/2010 20:02, Les Mikesell a écrit :
> On 8/28/10 7:01 AM, Xuo wrote:
>>   Hi,
>>
>> I would like to notice a behavior that (I think) should be modified.
>> By default, my ping and ssh executables have the following file attributes :
>>
>> -rwsr-x--- 1 root ntools  34920 2010-04-18 12:31
>> /bin/ping
>>
>> -rwxr-x--- 1 root ntools 360896 2010-06-07 22:17 /usr/bin/ssh
>>
>> The cgi interface displays a red warning which says that the files are
>> not executable for user backuppc.
>>
>> This would be true if backuppc was not in the unix group ntools.
>> On the command line, I can run any of these commands when I am logged in
>> as user backuppc.
>>
>> To bypass the problem, I modified the file attributes as :
>>
>> -rwsr-xr-x 1 root ntools  34920 2010-04-18 12:31
>> /bin/ping
>>
>> -rwxr-xr-x 1 root ntools 360896 2010-06-07 22:17 /usr/bin/ssh
>>
>> But I think that the warning should not appear.
>> I did not try to run any backup while the warning was displayed. It is
>> possible that this does not prevent backuppc from doing its job.
> The web interface starts as your httpd/apache user and becomes backuppc 
> through 
> the suid setting on the perl script.  I'm not sure if the additional groups 
> would still follow the original apache user or the effective backuppc user, 
> but 
> I think the former.   The server side would be started as backuppc so this 
> would 
> only affect the web interface.
>
Hi,

I confirm that the "red warning" is just a warning and does not prevent
backups to be performed.
The unix protection has defined as follows and the backuppc user has
been added to the ntools unix group.

/root 7 # ls -als /bin/ping
/usr/bin/ssh

 36 -rwsr-x--- 1 root ntools  34920 2010-04-18 12:31
/bin/ping
   360 -rwxr-x--- 1 root ntools 360896 2010-06-07 22:17 /usr/bin/ssh

BUT, it is not possible to modify any settings through the Web gui because :

Error: No save because of errors.

is displayed in red in the gui. I need to modify by hand the config.pl file.

Regards.

Xuo.

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
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 looks at files permissions but not at user's ones.

2010-09-11 Thread Xuo
 Le 28/08/2010 20:02, Les Mikesell a écrit :
> On 8/28/10 7:01 AM, Xuo wrote:
>>   Hi,
>>
>> I would like to notice a behavior that (I think) should be modified.
>> By default, my ping and ssh executables have the following file attributes :
>>
>> -rwsr-x--- 1 root ntools  34920 2010-04-18 12:31
>> /bin/ping
>>
>> -rwxr-x--- 1 root ntools 360896 2010-06-07 22:17 /usr/bin/ssh
>>
>> The cgi interface displays a red warning which says that the files are
>> not executable for user backuppc.
>>
>> This would be true if backuppc was not in the unix group ntools.
>> On the command line, I can run any of these commands when I am logged in
>> as user backuppc.
>>
>> To bypass the problem, I modified the file attributes as :
>>
>> -rwsr-xr-x 1 root ntools  34920 2010-04-18 12:31
>> /bin/ping
>>
>> -rwxr-xr-x 1 root ntools 360896 2010-06-07 22:17 /usr/bin/ssh
>>
>> But I think that the warning should not appear.
>> I did not try to run any backup while the warning was displayed. It is
>> possible that this does not prevent backuppc from doing its job.
> The web interface starts as your httpd/apache user and becomes backuppc 
> through 
> the suid setting on the perl script.  I'm not sure if the additional groups 
> would still follow the original apache user or the effective backuppc user, 
> but 
> I think the former.   The server side would be started as backuppc so this 
> would 
> only affect the web interface.
>
Hi,

I confirm that the "red warning" is just a warning and does not prevent
backups to be performed.
The unix protection has defined as follows and the backuppc user has
been added to the ntools unix group.

/root 7 # ls -als /bin/ping
/usr/bin/ssh


 36 -rwsr-x--- 1 root ntools  34920 2010-04-18 12:31
/bin/ping  
360 -rwxr-x--- 1 root ntools 360896 2010-06-07 22:17 /usr/bin/ssh

Regards.

Xuo.

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
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] Web interface does not propose any user/password field.

2010-08-28 Thread Xuo
 Hi,

I have found the solution (with your help).
I have added the lines in /etc/httpd/conf/webapps.d/backuppc.conf.
This file now contains :

# BackupPC Apache configuration
Alias /backuppc /var/www/backuppc


Options ExecCGI
DirectoryIndex BackupPC_Admin.cgi
Allow from all
AuthType Basic
AuthUserFile /etc/backuppc/apache.users
AuthName "BackupPC"
require valid-user


This is for Mandriva 2010.1.

Regards.

Xuo.


Le 28/08/2010 18:47, Dinesh Shah (દિનેશ શાહ/दिनेश शाह) a écrit :
> On Sat, Aug 28, 2010 at 5:41 PM, Xuo  wrote:
>> Hi,
>>
>> I have just installed backuppc WITHOUT using mod_perl.
>> The $Conf{CgiAdminUsers} is set to 'backuppc'.
>> I can connect to the web interface but I am not asked for any user/password.
>> I can access to all computers managed by backuppc.
>> In fact, anybody from any computer has full access to the web interface.
>>
>> If I set $Conf{CgiAdminUsers} to any other user, then I do not have any
>> access to menus of the web interface (or only a very small number). So I
>> can't do anything.
>>
>> It seems that I need to keep the admin user as backuppc.
>>
>> Is it possible to configure the cgi interface of backuppc to grant access
>> only after a user/password field has been filled.
> The web user passwords are stored in /etc/BackupPC/apache.users (at
> least on my Fedora 10 Box) or equivalent file.
>
> Please use htpasswd command to add/change user password.
>
> Also check your web server configuration and make sure that you at least have
>
> AuthType Basic
> AuthUserFile /etc/BackupPC/apache.users
> AuthName "BackupPC
>
> require valid-user
>
> The Apache web server then will prompt for username and password
> before allowing access to BackupPC CGI
>
>> Regards.
>>
>> Xuo.
>>
> HTH
> With regards,


--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-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/


Re: [BackupPC-users] Web interface does not propose any user/password field.

2010-08-28 Thread Xuo
 Le 28/08/2010 18:47, Dinesh Shah (દિનેશ શાહ/दिनेश शाह) a écrit :
> On Sat, Aug 28, 2010 at 5:41 PM, Xuo  wrote:
>> Hi,
>>
>> I have just installed backuppc WITHOUT using mod_perl.
>> The $Conf{CgiAdminUsers} is set to 'backuppc'.
>> I can connect to the web interface but I am not asked for any user/password.
>> I can access to all computers managed by backuppc.
>> In fact, anybody from any computer has full access to the web interface.
>>
>> If I set $Conf{CgiAdminUsers} to any other user, then I do not have any
>> access to menus of the web interface (or only a very small number). So I
>> can't do anything.
>>
>> It seems that I need to keep the admin user as backuppc.
>>
>> Is it possible to configure the cgi interface of backuppc to grant access
>> only after a user/password field has been filled.
> The web user passwords are stored in /etc/BackupPC/apache.users (at
> least on my Fedora 10 Box) or equivalent file.
>
> Please use htpasswd command to add/change user password.
>
> Also check your web server configuration and make sure that you at least have
>
> AuthType Basic
> AuthUserFile /etc/BackupPC/apache.users
> AuthName "BackupPC
>
> require valid-user
>
> The Apache web server then will prompt for username and password
> before allowing access to BackupPC CGI
>
Hi,

Thank you for your answer but my mandriva seems really different from
your distribution ( ;-) ).
I have created the password for user backuppc (and for user xuo).
But I don't know where to add the Auth... lines.
Could you tell me in which file I should add the lines and where exactly
in this file.

Regards.

Xuo.
>> Regards.
>>
>> Xuo.
>>
> HTH
> With regards,


--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-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/


[BackupPC-users] Web interface does not propose any user/password field.

2010-08-28 Thread Xuo
 Hi,

I have just installed backuppc *WITHOUT* using mod_perl.
The $Conf{CgiAdminUsers} is set to 'backuppc'.
I can connect to the web interface but I am not asked for any
user/password. I can access to all computers managed by backuppc.
In fact, anybody from any computer has full access to the web interface.

If I set $Conf{CgiAdminUsers} to any other user, then I do not have any
access to menus of the web interface (or only a very small number). So I
can't do anything.

It seems that I need to keep the admin user as backuppc.

Is it possible to configure the cgi interface of backuppc to grant
access only after a user/password field has been filled.

Regards.

Xuo.
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-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/


[BackupPC-users] backuppc looks at files permissions but not at user's ones.

2010-08-28 Thread Xuo
 Hi,

I would like to notice a behavior that (I think) should be modified.
By default, my ping and ssh executables have the following file attributes :

-rwsr-x--- 1 root ntools  34920 2010-04-18 12:31
/bin/ping  

-rwxr-x--- 1 root ntools 360896 2010-06-07 22:17 /usr/bin/ssh

The cgi interface displays a red warning which says that the files are
not executable for user backuppc.

This would be true if backuppc was not in the unix group ntools.
On the command line, I can run any of these commands when I am logged in
as user backuppc.

To bypass the problem, I modified the file attributes as :

-rwsr-xr-x 1 root ntools  34920 2010-04-18 12:31
/bin/ping  

-rwxr-xr-x 1 root ntools 360896 2010-06-07 22:17 /usr/bin/ssh

But I think that the warning should not appear.
I did not try to run any backup while the warning was displayed. It is
possible that this does not prevent backuppc from doing its job.

Regards.

Xuo.


--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-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/


Re: [BackupPC-users] How to exclude all hidden files except some of them ?

2010-08-24 Thread Xuo
 Le 24/08/2010 17:04, Richard Shaw a écrit :
> On Mon, Aug 23, 2010 at 12:31 PM, Xuo  wrote:
>>  Hi,
>>
>> My RsyncShareName is /home.
>> I would like to be able to backup everything under /home/* but NOT to
>> backup all hidden files (.xxx files) of /home/* EXCEPT (for ex) .tcshrc,
>> .ssh, .filezilla and .thunderbird files or dirs.
>>
>> I have excluded some .xxx files (with BackupFilesExclude) but it is
>> painful and some new .xxx files can be added anytime. The best should be
>> to exclude all except some of them.
>>
>> How can I do this ?
> I wish I could give you some specific advice but I haven't tried this
> so I'll have to speak in generalities.
>
> I'm pretty sure excludes are applied prior to includes so I would
> approach it like this:
> - Use a single exclude for all ".xxx" files. The excludes work
> differently depending on the backup method so I would play with this
> until I get it working. I don't even understand them completely.
> - Then include the specific directories you want to backup.
>
> Just be careful how you craft your excludes. If you use a glob (i.e.
> *) on the front of your exclude then I think it will apply to every
> directory, not just /home. Also, I don't think it will differentiate
> between hidden directories or hidden files.
Hi,

Thank you for your answer. For the moment, I am working on something
else and I prefer not to modify too much my configuration (I'm not yet a
backuppc expert).
I'll do what you proposed on next week-end and I'll tell you the result.

Regards.

Xuo.
> Richard
>
> --
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users 
> worldwide. Take advantage of special opportunities to increase revenue and 
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-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/


--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-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/


[BackupPC-users] How to exclude all hidden files except some of them ?

2010-08-23 Thread Xuo
 Hi,

My RsyncShareName is /home.
I would like to be able to backup everything under /home/* but NOT to
backup all hidden files (.xxx files) of /home/* EXCEPT (for ex) .tcshrc,
.ssh, .filezilla and .thunderbird files or dirs.

I have excluded some .xxx files (with BackupFilesExclude) but it is
painful and some new .xxx files can be added anytime. The best should be
to exclude all except some of them.

How can I do this ?

Regards.

Xuo.

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-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/


Re: [BackupPC-users] rsync --server --sender does not work.

2010-08-23 Thread Xuo
 Le 22/08/2010 23:38, Les Mikesell a écrit :
> On 8/22/10 11:59 AM, Xuo wrote:
>>   Le 22/08/2010 18:07, Les Mikesell a écrit :
>>> On 8/22/10 10:24 AM, Xuo wrote:
>>>>Hi,
>>>>
>>>> I try to use backuppc with rsync to backup files of one client (ordi3)
>>>> onto the backuppc server (ordi4) .
>>>> I get the following error message :
>>>>
>>>> 2010-08-21 20:48:14 Got fatal error during xfer (Child exited prematurely)
>>>> 2010-08-21 20:48:19 Backup aborted (Child exited prematurely)
>>>> 2010-08-21 20:48:19 Saved partial dump 0
>>>>
>>>> To debug, I tried to run the same command manually from the server
>>>> backuppc account (I do not have permission to run ssh as root user, nor
>>>> from the server, neither from the client).
>>>>
>>>> /usr/bin/ssh -q -x -l backuppc ordi3 sudo /usr/bin/rsync --server
>>>> --sender --numeric-ids --perms --owner --group -D --links --hard-links
>>>> --times --block-size=2048 --recursive --ignore-times . /
>>>>
>>>> Nothing happens. The command does not do anything. I do not have any
>>>> error message. I need to Ctrl-C to stop it.
>>>>
>>>> To debug again, I run the command without the --server and --sender 
>>>> options.
>>>>
>>>>>  From the server, I ran :
>>>> /usr/bin/ssh -q -x -l backuppc ordi3 sudo /usr/bin/rsync  --numeric-ids
>>>> --perms --owner --group -D --links --hard-links --times
>>>> --block-size=2048 --recursive --ignore-times -av /home/eric/tmp/sources
>>>> ./tmp
>>>>
>>>> Then files are successfully copied locally onto ordi3 (the client)
>>>> without being prompted for any password.
>>>>
>>>>>  From the client, I ran :
>>>> /usr/bin/ssh -q -x -l backuppc ordi4 sudo /usr/bin/rsync --numeric-ids
>>>> --perms --owner --group -D --links --hard-links --times
>>>> --block-size=2048 --recursive --ignore-times -av /var/lib/backuppc
>>>> /tmp/tmpbck
>>>>
>>>> Then files are successfully copied locally onto ordi4 (the server)
>>>> without being prompted for any password.
>>>>
>>>> It means that there is someting wrong with the --server and --sender
>>>> options but I don't know what.
>>>>
>>>> Does anybody have any idea to solve the problem.
>>> The --server and --sender options aren't something you use with a normal 
>>> rsync
>>> command.  They are internally passed from the local to remote instance - you
>>> just see them in backuppc because the rsync is implemented internally in 
>>> perl.
>>>
>>> Did you get any files in that partial backup run?  If so, you might have a
>>> network problem or something causing the remote rsync to hang.
>> Hi,
>>
>> No, I do not have any partial backup at all.
>> Then it could be permissions problem for example.
>> Which user is running the rsync command from the server. Is it the user
>> 'backuppc' or 'root' ?
>>
> It runs as backuppc on the server side (thus using the private side of the 
> key 
> belonging to the backuppc user).   Normally it passes '-l root' in the 
> command 
> to run as root on the remote side, unless you've made some changes to run as 
> a 
> normal user or use the sudo command to become root on the remote.
>
Thank you for your help, now everything works fine.

Regards.

Xuo.

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-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] rsync --server --sender does not work.

2010-08-22 Thread Xuo
 Le 22/08/2010 18:07, Les Mikesell a écrit :
> On 8/22/10 10:24 AM, Xuo wrote:
>>   Hi,
>>
>> I try to use backuppc with rsync to backup files of one client (ordi3)
>> onto the backuppc server (ordi4) .
>> I get the following error message :
>>
>> 2010-08-21 20:48:14 Got fatal error during xfer (Child exited prematurely)
>> 2010-08-21 20:48:19 Backup aborted (Child exited prematurely)
>> 2010-08-21 20:48:19 Saved partial dump 0
>>
>> To debug, I tried to run the same command manually from the server
>> backuppc account (I do not have permission to run ssh as root user, nor
>> from the server, neither from the client).
>>
>> /usr/bin/ssh -q -x -l backuppc ordi3 sudo /usr/bin/rsync --server
>> --sender --numeric-ids --perms --owner --group -D --links --hard-links
>> --times --block-size=2048 --recursive --ignore-times . /
>>
>> Nothing happens. The command does not do anything. I do not have any
>> error message. I need to Ctrl-C to stop it.
>>
>> To debug again, I run the command without the --server and --sender options.
>>
>>> From the server, I ran :
>> /usr/bin/ssh -q -x -l backuppc ordi3 sudo /usr/bin/rsync  --numeric-ids
>> --perms --owner --group -D --links --hard-links --times
>> --block-size=2048 --recursive --ignore-times -av /home/eric/tmp/sources
>> ./tmp
>>
>> Then files are successfully copied locally onto ordi3 (the client)
>> without being prompted for any password.
>>
>>> From the client, I ran :
>> /usr/bin/ssh -q -x -l backuppc ordi4 sudo /usr/bin/rsync --numeric-ids
>> --perms --owner --group -D --links --hard-links --times
>> --block-size=2048 --recursive --ignore-times -av /var/lib/backuppc
>> /tmp/tmpbck
>>
>> Then files are successfully copied locally onto ordi4 (the server)
>> without being prompted for any password.
>>
>> It means that there is someting wrong with the --server and --sender
>> options but I don't know what.
>>
>> Does anybody have any idea to solve the problem.
> The --server and --sender options aren't something you use with a normal 
> rsync 
> command.  They are internally passed from the local to remote instance - you 
> just see them in backuppc because the rsync is implemented internally in perl.
>
> Did you get any files in that partial backup run?  If so, you might have a 
> network problem or something causing the remote rsync to hang.
>
Hi,

I've found something.
My server's backup path was /export1/Sauvegardes/BackupPC.
This path did not exist on the client side. I've created an NFS mount
point for both the client and server have the same destination path.
I still have one (last ??) question : is there a way to see the full
rsync command sent by the server to the client, including the exclude
paths and files to be sure they are properly described.

Thank you for your help.

Regards.

Xuo.



--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-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] rsync --server --sender does not work.

2010-08-22 Thread Xuo
 Le 22/08/2010 18:07, Les Mikesell a écrit :
> On 8/22/10 10:24 AM, Xuo wrote:
>>   Hi,
>>
>> I try to use backuppc with rsync to backup files of one client (ordi3)
>> onto the backuppc server (ordi4) .
>> I get the following error message :
>>
>> 2010-08-21 20:48:14 Got fatal error during xfer (Child exited prematurely)
>> 2010-08-21 20:48:19 Backup aborted (Child exited prematurely)
>> 2010-08-21 20:48:19 Saved partial dump 0
>>
>> To debug, I tried to run the same command manually from the server
>> backuppc account (I do not have permission to run ssh as root user, nor
>> from the server, neither from the client).
>>
>> /usr/bin/ssh -q -x -l backuppc ordi3 sudo /usr/bin/rsync --server
>> --sender --numeric-ids --perms --owner --group -D --links --hard-links
>> --times --block-size=2048 --recursive --ignore-times . /
>>
>> Nothing happens. The command does not do anything. I do not have any
>> error message. I need to Ctrl-C to stop it.
>>
>> To debug again, I run the command without the --server and --sender options.
>>
>>> From the server, I ran :
>> /usr/bin/ssh -q -x -l backuppc ordi3 sudo /usr/bin/rsync  --numeric-ids
>> --perms --owner --group -D --links --hard-links --times
>> --block-size=2048 --recursive --ignore-times -av /home/eric/tmp/sources
>> ./tmp
>>
>> Then files are successfully copied locally onto ordi3 (the client)
>> without being prompted for any password.
>>
>>> From the client, I ran :
>> /usr/bin/ssh -q -x -l backuppc ordi4 sudo /usr/bin/rsync --numeric-ids
>> --perms --owner --group -D --links --hard-links --times
>> --block-size=2048 --recursive --ignore-times -av /var/lib/backuppc
>> /tmp/tmpbck
>>
>> Then files are successfully copied locally onto ordi4 (the server)
>> without being prompted for any password.
>>
>> It means that there is someting wrong with the --server and --sender
>> options but I don't know what.
>>
>> Does anybody have any idea to solve the problem.
> The --server and --sender options aren't something you use with a normal 
> rsync 
> command.  They are internally passed from the local to remote instance - you 
> just see them in backuppc because the rsync is implemented internally in perl.
>
> Did you get any files in that partial backup run?  If so, you might have a 
> network problem or something causing the remote rsync to hang.
Hi,

No, I do not have any partial backup at all.
Then it could be permissions problem for example.
Which user is running the rsync command from the server. Is it the user
'backuppc' or 'root' ?

Regards.

Xuo.


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-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] rsync --server --sender does not work.

2010-08-22 Thread Xuo
 Hi,

I try to use backuppc with rsync to backup files of one client (ordi3)
onto the backuppc server (ordi4) .
I get the following error message :

2010-08-21 20:48:14 Got fatal error during xfer (Child exited prematurely)
2010-08-21 20:48:19 Backup aborted (Child exited prematurely)
2010-08-21 20:48:19 Saved partial dump 0

To debug, I tried to run the same command manually from the server
backuppc account (I do not have permission to run ssh as root user, nor
from the server, neither from the client).

/usr/bin/ssh -q -x -l backuppc ordi3 sudo /usr/bin/rsync --server
--sender --numeric-ids --perms --owner --group -D --links --hard-links
--times --block-size=2048 --recursive --ignore-times . /

Nothing happens. The command does not do anything. I do not have any
error message. I need to Ctrl-C to stop it.

To debug again, I run the command without the --server and --sender options.

>From the server, I ran :

/usr/bin/ssh -q -x -l backuppc ordi3 sudo /usr/bin/rsync  --numeric-ids
--perms --owner --group -D --links --hard-links --times
--block-size=2048 --recursive --ignore-times -av /home/eric/tmp/sources
./tmp

Then files are successfully copied locally onto ordi3 (the client)
without being prompted for any password.

>From the client, I ran :

/usr/bin/ssh -q -x -l backuppc ordi4 sudo /usr/bin/rsync --numeric-ids
--perms --owner --group -D --links --hard-links --times
--block-size=2048 --recursive --ignore-times -av /var/lib/backuppc
/tmp/tmpbck

Then files are successfully copied locally onto ordi4 (the server)
without being prompted for any password.

It means that there is someting wrong with the --server and --sender
options but I don't know what.

Does anybody have any idea to solve the problem.

Regards.

Xuo.



--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-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/