Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: CKConsulting on February 08, 2005, 05:34:12 AM
-
First a big thanks to Duncan for the work on getting BackupPC to work on SME.
I'm looking for a way to create an easier path to get to the web page.
Current: http://server-address/backuppc/cgi-bin/BackupPC_Admin.cgi
I would like somthing like:
http://server-address/backuppc or http://backuppc/server-address Or
maybe a short cut in server-manager
question 2:
Could backupPC be used to backup data accross the WAN with out using a VPN??
question 3:
I've been use SMB to backup WIN clients any success/horror stories using cwRsync?
Thanks,
Rick
-
Coincidently I have built a new package that will simply have an address like https://server-address/backuppc/admin.
If you want to do it with the current package just edit
/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/99backup and change the entry to
ScriptAlias /backuppc/admin /opt/backuppc/cgi-bin/BackupPC_Admin.cgi
Alias /backuppc /opt/backuppc/html
You will need to expand the template and restart httpd.
I am doing remote offsite backups now using rsync over ssh. I switched to rsync as it is a lot more efficient than tar or smb. I just set my local machines to listen on different ports as well as the standard ssh port 22 and port forward those ports to the appropriate machine at the firewall. Data is encrypted via ssh.
Cygwin works well enough as a rsyncd server – it would be nice to do as rsync over ssh as an alternative – keep everything the same across the board.
-
And watch for the line wrapping in that code.
-
Hi Rick,
We back up 5 sites over the WAN using rsync over ssh. Pretty solid although the initial FULL is slow (one took 8 days).
Hats off to Duncan.
Damian
-
Sounds like what I'm looking for.
Can this be done backing up a windows box?
If you have doc's on this I would love to see them!
Thanks again,
Rick
-
I tried the suggestion above but what do you mean by expland the template.
I edited the file above and then restarted httpd.
I also restared the server but no luck.
Rick
-
Expand template
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
/sbin/service httpd restart
Regards Duncan
-
I only back up SME or SUSE boxes using rsync over ssh. From the backuppc mailling list ....
The other reason I'd like to use ssh is that I use the -C flag to get compression with rsync transfers, but this isn't possible with windows because of the bug in the cygwin version of rsync/ssh. My current workaround is to keep a Linux box at each remote office and first rsync the windows machines to samba shares on the Linux server, then let backuppc back up the Linux machine using rsync over ssh.
Les Mikesell 17/12/04 15:11
I haven't looked at stunnel though, only openssh.
Damian
-
Here are my notes on installing backuppc.
99% stolen from multiple posts from DUNCAN, I'll take credit for the 1% of mistakes you may find below.
lat-users -a -c "backuppc|backup|pc|yourpassword"
mkdir /apps
cd /apps
wget http://mirror.contribs.org/smeserver/contribs/dthomas/smeserver/6.x/Beta/Backuppc/perl-File-RsyncP-0.52-8.i386.rpm
wget http://mirror.contribs.org/smeserver/contribs/dthomas/smeserver/6.x/Beta/Backuppc/smeserver-backuppc-2.1.0-3.noarch.rpm
rpm -Uvh smeserver-backuppc*
rpm -Uvh perl-File-RsyncP*
/sbin/e-smith/db configuration setprop backuppc status enabled
/sbin/e-smith/signal-event console-save
echo "--------Your done please reboot ----------"
****************************
If you need to uninstall
rpm -e smeserver-backuppc
****************************
To change the path to access BackupPC from http://server-address/backuppc/cgi-bin/BackupPC_Admin.cgi to https://server-address/backuppc/admin edit the file below
/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/99backup and change the entry to
ScriptAlias /backuppc/admin /opt/backuppc/cgi-bin/BackupPC_Admin.cgi
Alias /backuppc /opt/backuppc/html
Run the following commands
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
/sbin/service httpd restart
You can now access backuppc via:
https://server-address/backuppc/admin
Thanks to everyone that helped a windoz guy see a little more light.
Rick
-
Duncan has already written this into a howto:
http://mirror.contribs.org/smeserver/contribs/dthomas/smeserver/6.x/Beta/Backuppc/Tar%20over%20ssh/taroverssh-howto.htm