Current time: 12-25-2024, 03:05 AM Hello There, Guest! (LoginRegister)


Post Reply 
Send away backups
Author Message
TXC Offline
Junior Member
*

Posts: 43
Joined: Jun 2008
Reputation: 1
Post: #1
Send away backups
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.
12-04-2008 10:47 PM
Find all posts by this user Quote this message in a reply
alecksievici Offline
Junior Member
*
Beta Team

Posts: 112
Joined: May 2008
Reputation: 0
Post: #2
RE: Send away backups
(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!
(This post was last modified: 12-05-2008 09:07 PM by alecksievici.)
12-05-2008 09:07 PM
Visit this user's website Find all posts by this user Quote this message in a reply
TXC Offline
Junior Member
*

Posts: 43
Joined: Jun 2008
Reputation: 1
Post: #3
RE: Send away backups
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".
12-05-2008 09:33 PM
Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #4
RE: Send away backups
And sqls, where you put ?

/ var / lib / mysql Big Grin
(This post was last modified: 12-05-2008 09:49 PM by kurgans.)
12-05-2008 09:48 PM
Visit this user's website Find all posts by this user Quote this message in a reply
TXC Offline
Junior Member
*

Posts: 43
Joined: Jun 2008
Reputation: 1
Post: #5
RE: Send away backups
(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.
12-05-2008 10:10 PM
Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #6
RE: Send away backups
(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
12-05-2008 10:17 PM
Visit this user's website Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #7
RE: Send away backups
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
(This post was last modified: 12-05-2008 10:31 PM by sci2tech.)
12-05-2008 10:31 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #8
RE: Send away backups
or use reoback / ftplicity or similar to backup your system. Im currently using reoback and the ispcp function is disabled.
12-09-2008 11:39 PM
Find all posts by this user Quote this message in a reply
TXC Offline
Junior Member
*

Posts: 43
Joined: Jun 2008
Reputation: 1
Post: #9
RE: Send away backups
sci2tech's solution was something that i was looking for.
12-09-2008 11:45 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)