plainblack.com
Username Password
search
Bookmark and Share

backup.pl over ssh

I have created a quick fix to backup.pl from the /data/wre/sbin/ directory to be able to make backups over ssh.

You will have to create an ssh key (ssh-keygen -t dsa works fine for me) and copy the contents of the file.pub to the authorized_keys in the .ssh/ directory of the homedir of the user that you are going to put the files to on the other system.

You will have to create a config file for ssh and scp and put that somewhere (example provided).

You will have to change the wre.conf file to tell the backup the host and configfile to use (and the fact that you want to use the scp backup).

And you'll have to replace the backup.pl with the adjusted version.

Good luck!

Please let me know if this worked for you.

Koen de Jonge - ProcoliX
http://www.procolix.com
Hosting - WebGUI - Virtualization

System Requirements

Please be advised: this contribution was tested with something older than WebGUI 7.5. When this contribution was uploaded there was no field for the author to fill out regarding it's requirements.

Comments
4koen: "Has anyone been using this besides from myself?"
Downloadbackupscp.zip backupscp.zip
LinksKoen de Jonge
No Support Offered
Statistics Downloads: 547
Views: 3518
Rating: 4
Updated: 9/2/2008
Keywords miscellaneous utility WRE
NavigationMore from Koen de Jonge
Back to the Bazaar
© 2018 Plain Black Corporation | All Rights Reserved