• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Backing up and restoring a website without ftp or sftp access

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Backing up and restoring a website without ftp or sftp access

    New job, crap pay (it's startup territory), but it gets us out of the house.

    Bad news first. Crappy XP system at work, not much security, no ftp, ssh or sftp access to the outside world, and at the moment not enough privs to install the likes of PuTTY

    The good news is that we have a free rein to do whatever we want, as long as we start off cheap. Plan B's are encouraged here as long as we produce something useful for ClientCo along the way.

    I've already set up a web site (on my own ISP host) for us to use, but we are surely going to make cockups on the way so I'm after an idea for backing up and restoring the website via clickable links. Due to security concerns there is no way I am going to use my ISP master username and password on a work system.

    P.S. I've also got a learning curve to tackle with Office 2007. I now understand comments I've read here about corporates being reluctant to adopt it. Has anyone got some links to online tutorials?
    Behold the warranty -- the bold print giveth and the fine print taketh away.

    #2
    Originally posted by Sysman View Post
    I've already set up a web site (on my own ISP host) for us to use, but we are surely going to make cockups on the way so I'm after an idea for backing up and restoring the website via clickable links. Due to security concerns there is no way I am going to use my ISP master username and password on a work system.

    Doesn't your ISP offer a control panel for remotely administering hosted sites over HTTP?

    The control panels typically provided should offer an easy way of creating backups and even secondary user accounts without the full privileges.
    Feist - 1234. One camera, one take, no editing. Superb. How they did it
    Feist - I Feel It All
    Feist - The Bad In Each Other (Later With Jools Holland)

    Comment


      #3
      If it's a CPanel based site then there should be backup/restore in it.

      Often it is possible to use https to access Cpanel, just use port 2083 to access it.

      Comment


        #4
        No, it's not CPanel

        Thanks for the answers, but I really don't want to store my account details on the XP system at work. Access to a directory which is only readable from the outside world would be ideal.

        I am thinking a bit of password protected PHP or CGI should do the trick. I might also do a regular sweep from my home system to pick up any backups available, but I'm not going to give anyone access to that.
        Behold the warranty -- the bold print giveth and the fine print taketh away.

        Comment


          #5
          If you don't have SFTP/FTP access how do you upload stuff? Surely the mechanism used to upload data can be used to download data as well...

          Comment


            #6
            Why not just register a new domain on a host that uses cPanel and use that instead of using your own?
            My all-time favourite Dilbert cartoon, this is: BTW, a Dumpster is a brand of skip, I think.

            Comment


              #7
              Set up a Subversion repository accessible over HTTP. (You were planning on using version control, weren't you? Hint: do so.)

              Then it should be a reasonably straightforward matter to set up a script in PHP or similar which can update and rollback as desired using either a Subversion client installed on the server or a slightly more laborious procedure using cURL to scrape the results from the HTTP connection to the repository and retrieve the appropriate resources.

              Comment


                #8
                I do have a control panel available over https. The problem is that I don't really want to store php files containing passwords on the works PC.

                Thanks Nick. You are correct in divining that I really ought to have a version control system.

                Updated: Fortunately Subversion is already on the host, so we're set to go
                Last edited by Sysman; 8 February 2010, 15:07. Reason: Updated
                Behold the warranty -- the bold print giveth and the fine print taketh away.

                Comment

                Working...
                X