Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Automated FTP scheduling

  • 10-11-2006 12:47pm
    #1
    Registered Users, Registered Users 2 Posts: 2,423 ✭✭✭


    Ok, if I have a website on a dedicated server. A client requires a back-up site to be available. For cost reasons this would be on a shared server.

    What is the best way (or best tools) to go about automated FTP scheduling - perhaps nightly - from the dedicated site to the shared back-up? Can just updated files be detected?


Comments

  • Registered Users, Registered Users 2 Posts: 3,514 ✭✭✭Rollo Tamasi


    If you're on apache you can setup a cron job to backup your database.
    Cpanel comes with this function built in.

    For files you can check out this guy here > http://webnet77.com/scripts/backup-lite/index.html
    It's a perl script.

    I'm sure there are php variants out there for this but i don't know of any off hand. If you're going from one sever to another server you will need to make sure you're allowed to do remote sql connections for db backups.


  • Registered Users, Registered Users 2 Posts: 2,423 ✭✭✭pburns


    If you're on apache you can setup a cron job to backup your database.
    Cpanel comes with this function built in.

    For files you can check out this guy here > http://webnet77.com/scripts/backup-lite/index.html
    It's a perl script.

    I'm sure there are php variants out there for this but i don't know of any off hand. If you're going from one sever to another server you will need to make sure you're allowed to do remote sql connections for db backups.

    Thanks for this.

    However, I should have explained it's Windows hosting. It's mainly web files at the moment rather than a db-backend site.


  • Registered Users, Registered Users 2 Posts: 6,628 ✭✭✭Asok


    What you could do is schedule an automatic upload of the site using windows task scheduler and a batch file. http://www.textheavy.com/tutorials/batchfile.html has a descent guide on how to construct the configuration script and the batch file itself. I don't know if it will suit what you want to do but if you hit any bumps with it let us know what they are and we can try help.


Advertisement