Results 1 to 5 of 5

Thread: Website Backup/Restore script required

  1. #1
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default Website Backup/Restore script required

    Hi,

    I'm looking for a website backup/restore script that does the following/has the following features:

    1 - All php/html web pages (not doc/images) in a root directory and/or selected sub-directories can be backed-up via an online GUI, accessible to 5 admins.
    2 - The web pages can be backed-up/restored by 5 admins so should be password protected.
    3 - The backup is done as-and-when/manually at the click of a button - no cron job required.
    4 - Individual and multiple web pages can be selected and restored from the backup archive via an online GUI by 5 admins.
    5 - I do not need a web page edit option just a backup-whole-webpage/restore-whole-webpage function.

    The situation that has brought this about is this:
    One of 5 website admins made a small change to a web page but accidentally messed the whole page up.
    They didnt have a copy of the original code or a previously saved page version to revert back to and had to email me for the master file.
    There was a time delay of several hours before a working web page went back online.

    So basically, I would like some sort of backup archive in place which can be created/updated for the whole site on an as-and-when basis once page updates have been made, but if a mistake is made, an admin can restore one or multiple web pages from the backup archive instantly so the site/page doesnt go down.

    Does anyone know of a suitable script than would suit these purposes?

    Thanks

    Beverley

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    I have mashed together something that does the job to 90% of what I want - the following scripts may be useful to others:

    Website backup script here: http://www.absoft-my.com/pondok/sitebackup.php
    (my final working version of the script has been edited to include only certain sub directories and just files in the root)

    Password protection here: http://www.zubrag.com/scripts/password-protect.php

  3. #3
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Looks like you need to use SVN or another version control system. 5 people working on the same site at potentially the same time can dangerous.

  4. #4
    Join Date
    Oct 2008
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I totally agree. I have battled this many times.

    You'd better at least get everyone writing to a change log, or what I do when I "have" to deal with this...is set up SMF (simple machines forum), and make danged sure each topic(change) is described.

    The ones that don't post changes, stick to the rules...well, they're not a very good admin :-)

  5. #5
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Hi

    I understand what youre saying but for my purposes, what I mashed together is fine.

    The other admins can only edit 1 or 2 pages that have been specifically allocated to them alone - there is no overlap.

    The only overlap occurs with me because I've got master access to everything but as I'm in the UK and everyone else is in the US, there is never a clash as we work on the pages at different hours of the day

    Their updates are rather sporadic too, with updates only taking place every few weeks so its easy to follow whos doing what and when they're doing it.

    Thanks

    Beverley

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •