Arieh
Verified User
I want to make daily admin backups and upload them to 1 or more ftp servers. First I just configured the cron to make a admin backup to a remote ftp server, but as I wanted the files on the DA machine itself + multiple ftp servers I can't do it like this anymore.
What I've tried to do is making admin backups just localy to /home/admin/admin_backups and running another script about one hour later to upload the backups to my ftp server. I made a little php script with some basic ftp_put functions (because php is about the only language I can write in) but I noticed it slows things down.
DirectAdmin's backup to ftp totally takes only 15 minutes, mine one hour.
Today's local backup took 6 minutes, so I take it DA's ftp transfer takes about 10 minutes.
Could using php be so much slower? If so, does anyone have a script in another language willing to share?
Any other suggestions are also welcome.
What I've tried to do is making admin backups just localy to /home/admin/admin_backups and running another script about one hour later to upload the backups to my ftp server. I made a little php script with some basic ftp_put functions (because php is about the only language I can write in) but I noticed it slows things down.
DirectAdmin's backup to ftp totally takes only 15 minutes, mine one hour.
Today's local backup took 6 minutes, so I take it DA's ftp transfer takes about 10 minutes.
Could using php be so much slower? If so, does anyone have a script in another language willing to share?
