Re: [BackupPC-users] Allow web access to clients to make backups?

2007-05-09 Thread Nils Breunese (Lemonbit Internet)
B Wooster wrote:

 Still struggling to get permissions and usernames sorted out, so
 hoping someone already using BackupPC can help out.
 
 Is this tool appropriate to build a private remote-backup service
 that can be offered to friends and family?
 
 So, on my Linux server, I would like to run BackupPC server.
 
 Then, would like any remote user, anywhere in the world, to go to a
 web site, log in using their username/password, and be able to backup
 their machine specifying folders they want backed up. And restore
 files as needed.
 
 I am not sure yet if this is doable - can anyone shed light on this?

No, this is not exactly how it works. The BackupPC administrator (i.e.
you) create a list of hosts (hostnames, IP addresses, NetBIOS names)
that are backed up by BackupPC. You can give people logins to their
backups, but the users don't specify what is backed up. The normal
scenario is also that hosts are backed up automatically (say, daily),
but I believe that can be changed to an on-demand scenario (no automatic
backups). BackupPC can certainly be used as a private remote backup
service, but mainly the problem is your 'anywhere in the world', as the
hostname/IP address/NetBIOS name is a constant in this system.

Nils Breunese.



signature.asc
Description: OpenPGP digital signature
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Allow web access to clients to make backups?

2007-05-09 Thread Marty
Nils Breunese (Lemonbit Internet) wrote:
  BackupPC can certainly be used as a private remote backup
 service, but mainly the problem is your 'anywhere in the world', as the
 hostname/IP address/NetBIOS name is a constant in this system.

If it doesn't handle that now, that seems like an important shortcoming of 
BackupPC, to be included a feature wishlist.  I think it would be a common 
issue 
with backing up or restoring to laptops.  It might be also exist in corporate 
WANs or campus area networks.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Allow web access to clients to make backups?

2007-05-09 Thread Samuel Bancal
Hi,

If I understand well, this looks very interesting for different reasons :
- backup of hosts which are not routable
- no open port needed on the client

Do you have any tips to do this?

Thanks,
Samuel Bancal - Uni-GE

Les Mikesell wrote:
 Marty wrote:
 Nils Breunese (Lemonbit Internet) wrote:
   BackupPC can certainly be used as a private remote backup
 service, but mainly the problem is your 'anywhere in the world', as the
 hostname/IP address/NetBIOS name is a constant in this system.
 If it doesn't handle that now, that seems like an important shortcoming of 
 BackupPC, to be included a feature wishlist.  I think it would be a common 
 issue 
 with backing up or restoring to laptops.  It might be also exist in 
 corporate 
 WANs or campus area networks.

 
 You could arrange this with a vpn connection like openvpn that presents 
 a known address for the connection, or with dedictated ports for ssh 
 tunnels set up by the client.  The web side will already work.  If you 
 specify someone as an 'owner' of one or more machines, that is all that 
 the corresponding web login will be able to see.
 

-- 
/ --- \
   Mr Samuel BancalMail : [EMAIL PROTECTED]
   Université de GENEVE   User   = Samuel.Bancal
   Division Informatique  Domain = adm.unige.ch
   24 rue Général-Dufour   Tel  : +4122 379 7506
   1211 GENEVE Fax  : +4122 379 7986
   Suisse  www  : http://www.unige.ch/dinf
\ --- /

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] International Characters

2007-05-09 Thread Jean-Michel Beuken
Hello Francis,

Same kind of observations but inverse !

Results of some tests with the same server and the same Vista client (XP 
is same)

- configuration of my server : Solaris 10/x86 with samba-3.0.24 (unix 
charset = UTF-8), BackupPC 3.0.0
- browser under MacOS X (Safari or FireFox)

1) with Xfer = smb

- show correctly in the cgi = YES
- correct download of one file from browser (respect of accents) = NO
- correct restore and decompressed archive ( with 7zip, PowerArchiver, 
Winzip,...) = NO

2) with Xfer = rsyncd

- show correctly in the cgi = NO
- correct download of one file from browser (respect of accents) = YES
- correct restore and decompressed archive ( with 7zip, PowerArchiver, 
Winzip,...) = YES

last but not least : the only way to restore correctly the file/folders 
with respect of accents with Xfer = smb,
it's to use a MacOS X to unzip the archive !

I think that everything is in UTF-8 encoding but why these kinds of 
behavior ??

Definitely, rsyncd is the best method for windows client, but it's harm 
that there is a this problem
with accent in browser : not so critical because we can restore with 
respect of accents ...

regards

jmb

Francis Lessard wrote:

 Hi !

 This software if wonderful ! I have only a small glitch with 
 international characters in french. My test file name have « accents » 
 on my system. I use the rsyncd way of backing up. This file is backed 
 up correctly, shown correctly in the cgi (with all the accents). My 
 only problem is when restoring… The filename is mangled when clicking 
 on the link to download only this file. I havent tried direct restore 
 though…

 Any idea on how to correct this ?

 Thanks !

 Francis

 

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 

 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/backuppc-users
 http://backuppc.sourceforge.net/
   


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] SSH Tunnel HOWTO for BackupPC

2007-05-09 Thread Francis Lessard
Hi Johan,

You document on how to use ssh tunneling with BackupPc is brilliant. I tried
it and it works in test, but not in BackupPc.
In my shell, loggued as backuppc (I replaced internalip, username, gateway)

   [EMAIL PROTECTED]:/home$ /etc/BackupPC/ssh-wrapper -p 3022 -f -L
7001:internalip:873 [EMAIL PROTECTED] sleep 20

works good : SSH Started succesfully

After, ONLY this command have worked :

   [EMAIL PROTECTED]:/home$ rsync --port=7001
[EMAIL PROTECTED]::myrsyncservice

I tried to used the --port=7001 argument in BackupPC Cgi + several combos,
no success, I have not found in logs the complete rsync command that
BackupPC sends. Maybe it could me debug... My only hint is the port 3022 I
use instead of the standard port 22 on the ssh gateway. Could that mix
things up ? 

Thank you for opinion on that.


Regards,

Francis



-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Johan
Ehnberg
Envoyé : 7 mai 2007 10:13
À : Johan Ehnberg; Craig Barratt
Cc : BackupPC Users
Objet : Re: [BackupPC-users] SSH Tunnel HOWTO for BackupPC

Johan Ehnberg wrote:
 Dear BackupPC users and developers,
 
 I have created a short HOWTO for BackupPC on using SSH tunnels 
 automatically with each job. This is the first version, but it should be 
 complete.
 
 The HTML version of the document can be found on:
 http://www.ehnberg.net/johan/files/docs/backuppc-ssh-tunnel-howto.html
 
 Please feel free to try it out and send comments. It can also be added 
 to the SSH FAQ later on, if it is useful.
 
 Best regards,
 Johan Ehnberg

I have now been running this model for two weeks and it works like a 
charm. I consider it production quality and it could be added to the 
FAQ. It's mature software and a proven model - not much to prove there.

If my HOWTO is too long, only section 4 could be merged, of course. Or 
it could be a page of it's own. In any case, it's free for use and 
modification as long as my name is in it somewhere ;).

BTW. I am going to change my whole backup system from another program to 
BackupPC; I was simply _very_ impressed by the smart use of rsync and 
disk oriented intelligence:

Bacula: 3606 minutes for Full backup number n
BackupPC: 46 minutes for Full backup number 1+n

Bacula: 113 GB disk usage for all jobs
BackupPC: 63 GB disk usage for all jobs

Not to mention BackupPC handles partial backups, which is necessary for 
the first data set over the Internet for very long jobs. Go BackupPC, 
and thanks to Craig Barratt!

Best regards,
Johan

-- 
Johan Ehnberg

Email: [EMAIL PROTECTED]
GSM:   +358503209688
WWW:   http://www.ehnberg.net/johan/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] International Characters

2007-05-09 Thread Francis Lessard
Weird thing...

On my side, I found that Firefox (PC) handles correctly the direct download
(for the file name)

My results so far are : 

On client (windows) conf client charset is cp1252, backup method rsynd
On Server (ubuntu LTS) locale is UTF-8

CGI- OK
LS directly os server = OK
Direct download from CGI = OK in firefox, BAD in IE7
Download Zip = BAD
Download TAR = OK
Rsync Restore = OK !


Have you specified the clientcharset correctly for your client ? I'm not
sure about Macs though...


I will post futur results if I solve the zip / IE7!

Francis




-Message d'origine-
De : Jean-Michel Beuken [mailto:[EMAIL PROTECTED] 
Envoyé : 9 mai 2007 16:44
À : Francis Lessard
Cc : backuppc-users@lists.sourceforge.net
Objet : Re: [BackupPC-users] International Characters

Hello Francis,

Same kind of observations but inverse !

Results of some tests with the same server and the same Vista client (XP 
is same)

- configuration of my server : Solaris 10/x86 with samba-3.0.24 (unix 
charset = UTF-8), BackupPC 3.0.0
- browser under MacOS X (Safari or FireFox)

1) with Xfer = smb

- show correctly in the cgi = YES
- correct download of one file from browser (respect of accents) = NO
- correct restore and decompressed archive ( with 7zip, PowerArchiver, 
Winzip,...) = NO

2) with Xfer = rsyncd

- show correctly in the cgi = NO
- correct download of one file from browser (respect of accents) = YES
- correct restore and decompressed archive ( with 7zip, PowerArchiver, 
Winzip,...) = YES

last but not least : the only way to restore correctly the file/folders 
with respect of accents with Xfer = smb,
it's to use a MacOS X to unzip the archive !

I think that everything is in UTF-8 encoding but why these kinds of 
behavior ??

Definitely, rsyncd is the best method for windows client, but it's harm 
that there is a this problem
with accent in browser : not so critical because we can restore with 
respect of accents ...

regards

jmb

Francis Lessard wrote:

 Hi !

 This software if wonderful ! I have only a small glitch with 
 international characters in french. My test file name have « accents » 
 on my system. I use the rsyncd way of backing up. This file is backed 
 up correctly, shown correctly in the cgi (with all the accents). My 
 only problem is when restoring… The filename is mangled when clicking 
 on the link to download only this file. I havent tried direct restore 
 though…

 Any idea on how to correct this ?

 Thanks !

 Francis

 

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 

 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/backuppc-users
 http://backuppc.sourceforge.net/
   


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] International Characters

2007-05-09 Thread Craig Barratt
Francis writes:

 On my side, I found that Firefox (PC) handles correctly the direct download
 (for the file name)
 
 My results so far are : 
 
 On client (windows) conf client charset is cp1252, backup method rsynd
 On Server (ubuntu LTS) locale is UTF-8
 
 CGI- OK
 LS directly os server = OK
 Direct download from CGI = OK in firefox, BAD in IE7
 Download Zip = BAD
 Download TAR = OK
 Rsync Restore = OK !

I use firefox, so it looks like I need to do more testing with
other browsers.

Looks like zip needs to be fixed too.  Does anyone know the
correct charset to use in a zip file, or is it whatever
matches the machine that is running unzip?

Craig

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/