ispCP - Board - Support
Send away backups - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Send away backups (/thread-5077.html)



Send away backups - TXC - 12-04-2008 10:47 PM

Is it possible to modify the backup script that backup sites to send away the backups to a remote host. Via SCP o FTP.

Only one day backup is not a option for me.


RE: Send away backups - alecksievici - 12-05-2008 09:07 PM

(12-04-2008 10:47 PM)TXC Wrote:  Is it possible to modify the backup script that backup sites to send away the backups to a remote host. Via SCP o FTP.

Only one day backup is not a option for me.

well, why put the dev team to work when you can do it yourself.
use webmin and you can easily create your own back-up cron jobs.
i'm using it for about 2 months and every day at 3am it uploads a back-up of my var/www/virtual to a remote ftp. works great Big Grin.
http://www.webmin.com/ enjoy!


RE: Send away backups - TXC - 12-05-2008 09:33 PM

Webmin sucks, it's slow and eats resources.

I'm not looking for the dev team to do the work for me.
If you read my question again it says "Is it possible to modify".


RE: Send away backups - kurgans - 12-05-2008 09:48 PM

And sqls, where you put ?

/ var / lib / mysql Big Grin


RE: Send away backups - TXC - 12-05-2008 10:10 PM

(12-05-2008 09:48 PM)kurgans Wrote:  And sqls, where you put ?

/ var / lib / mysql Big Grin

What do you mean with that?

My MySQL server is hosted on a separate server.


RE: Send away backups - kurgans - 12-05-2008 10:17 PM

(12-05-2008 09:07 PM)alecksievici Wrote:  
(12-04-2008 10:47 PM)TXC Wrote:  Is it possible to modify the backup script that backup sites to send away the backups to a remote host. Via SCP o FTP.

Only one day backup is not a option for me.

i'm using it for about 2 months and every day at 3am it uploads a back-up of my var/www/virtual to a remote ftp. works great Big Grin.


Is not sorry for the partner who does the backup with webmin.
I did not see your post before replying


RE: Send away backups - sci2tech - 12-05-2008 10:31 PM

Maybe this solution running as cron can help you
Code:
#!/bin/bash

hostname="HOSTNAME"
username="USER"
password="PASSWD"
for i in /var/www/virtual/*; do
  for j in $i/backups/*; do
    filename=$j
    ncftpput -E -u $username -p $password $hostname . $filename
  done
done



RE: Send away backups - Zothos - 12-09-2008 11:39 PM

or use reoback / ftplicity or similar to backup your system. Im currently using reoback and the ispcp function is disabled.


RE: Send away backups - TXC - 12-09-2008 11:45 PM

sci2tech's solution was something that i was looking for.