How can i backup accounts of FIRST server to SEOCND HDD of SECOND server?!
maybe the main question was how can i create a safe FTP account in PureFTPd?!
Thanks
How can i backup accounts of FIRST server to SEOCND HDD of SECOND server?!
maybe the main question was how can i create a safe FTP account in PureFTPd?!
Thanks
I would suggest using rsync or scp.
SCP is file transfer over a ssh tunnel so as long as you can login to the shell as the user you can transfer files.
Rysnc is used to sync files, it will only transfer the files that have changed.
John W
www.eth0.us
Thanks
so i should use a backup script to do that for me, is there any script in the Internet?!
Thanks
Just Back up FIRST server to your normal back up location on that server
and set up a public key to server 2 and set up a cron job to scp the backups to run once a day
thats what I do![]()
I use this as my script, yet i haven't figured out how to get it fully functional:
rsync --port=23 -P -v -z -a -e "ssh -p 23 -l root" --exclude "/proc" --exclude "/var/log" --exclude "/usr/backup" --delete clienthost.com:/ daily.1
I ideally would like it to reflect:
rsync --port=23 -z -a -e "ssh -p 23 -l root" --exclude "/proc" --exclude "/var/log" --exclude "/usr/backup" --delete clienthost.com:/ daily.1 touch daily.1
but it returns an error of :
rsync error: syntax or usage error (code 1) at main.c(933)
Originally Posted by dalem
this link would be useful
http://samba.anu.edu.au/rsync/examples.html
Last edited by manghooli; 12-08-2004 at 07:47 AM.
that was a good one manghooli![]()
cPanel Certified Specialist
http://www.admin-ahead.com
https://ticketforge.com
AIM: tux image Skype: admin-ahead
can we mix cpanel backup solution with rsync??
or
can we use simple CPanel FTP Backup solution for this reason?!
oops, i must read a lot about rsync n test it a lot![]()
the most useful document that i found is:
http://www.mikerubel.org/computers/rsync_snapshots/