Backing up a website on a MBP

Peter Franks

macrumors 68000
Original poster
Jun 9, 2011
1,715
30
Just a quick one, is there a way of backing up a website on an older system 10.6.8. I know nothing about site building or backing up, only that it was built for me several years ago, and the web-builder has lost all back ups and doesn't do it anymore. I downloaded Filezilla and Cyberduck as this is what I was told to do, but neither of these support my OSX. I see a few online backup companies, but I'd feel happier having it physically on my Mac. Is there any idiot proof programmes out there more basic that does this.
 

Peter Franks

macrumors 68000
Original poster
Jun 9, 2011
1,715
30
It's on a server who's only online backups are for Windows. They're updating their platform on Tuesday and as I understand it, this is from them, it means nothing to me... their hosting only supports PHP version 7, and mine is 5.2. So before this happens I need to back up site incase it's completely incompatible. It's not a WordPress site. It's updated via admin pages, apparently...? Pics and text
 
Last edited:

Jessica Lares

macrumors G3
Oct 31, 2009
9,200
722
Near Dallas, Texas, USA
It's on a server who's only online backups are for Windows. They're updating their platform on Tuesday and as I understand it, this is from them, it means nothing to me... their hosting only supports PHP version 7, and mine is 5.2. So before this happens I need to back up site incase it's completely incompatible. It's not a WordPress site. It's updated via admin pages, apparently...?
Alright. You want 4.6.5 of Cyberduck, that was the last one to work on Snow Leopard.

https://update.cyberduck.io/Cyberduck-4.6.5.zip
 
  • Like
Reactions: Peter Franks

Peter Franks

macrumors 68000
Original poster
Jun 9, 2011
1,715
30
Brilliant, thank you. Is it pretty straight forward to back up the whole site if I have the FTP password. Presume that's all I need?
 

Jessica Lares

macrumors G3
Oct 31, 2009
9,200
722
Near Dallas, Texas, USA
Brilliant, thank you. Is it pretty straight forward to back up the whole site if I have the FTP password. Presume that's all I need?
Kinda depends. When you get in there, just grab everything. If the index.htm isn't in the top level of it, it's going to probably be in a public_html folder or something. But when you find it, try opening it and see what shows up in a web browser. If everything looks fine locally then you're fine. If it's just blank then you probably got stuff in a database that you'll need to pull, and that is going to be elsewhere.
 
  • Like
Reactions: Peter Franks

Peter Franks

macrumors 68000
Original poster
Jun 9, 2011
1,715
30
Thanks for your help. I'll give this a go today. If when connected I just see a list of folders and files, copying them and pasting them on my MBP should cover it though, that will be all of it?
 
Last edited:

Jessica Lares

macrumors G3
Oct 31, 2009
9,200
722
Near Dallas, Texas, USA
Thanks for your help. I'll give this a go today. If when connected I just see a list of folders and files, copying them and pasting them on my MBP should cover it though, that will be all of it?
Yeah, provided they're like index.html, about.html, contact.html, whatever.html, and folders/files like style.css, min.js, and images.

But then if they are, you really shouldn't be worrying about the version of PHP. That matters if your site is depended on it, and those would be a bunch of files ending in .php.
 
  • Like
Reactions: Peter Franks

Peter Franks

macrumors 68000
Original poster
Jun 9, 2011
1,715
30
Thanks again for all your help.

These are all I see, 'Private' folder is empty.

If I cut and paste the 3 folders and keep on MBP, that is all I need to do to back up the whole site?
Not sure what the health check is? There is a fair bit of PHP in htdocs too.

Is the unsecured connection relevant? Also had an alert come up 'Interoperability failure', but just repeated till it went, And every move brings up 'unsecured connection'.

I dragged and dropped and did a few back ups, to be sure.

But the worrying part is every back up shows a different MB figure?
Is this normal? All are showing 1667 items, but a couple on 27MB and one on 109? Confused. And when it's doing it, it says '.....of 20MB'.





 
Last edited:

Jessica Lares

macrumors G3
Oct 31, 2009
9,200
722
Near Dallas, Texas, USA
You just want the htdocs. Don't worry about the other folders.

That warning about the Unsecured FTP connection is normal. To fix the "Interoperability failure" go into Cyberduck's Preferences, Transfers, and then under Transfer Files, change it from Open multiple connections to Open new connection, reconnect and then reconnect. It might fix your file sizes being wrong.

Screen Shot 2016-10-15 at 5.16.59 PM.png

I'm not sure how/if Cyberduck has changed through the years, so this may look different on 10.6.
 

Peter Franks

macrumors 68000
Original poster
Jun 9, 2011
1,715
30
These are the only options I get, and it was on that one anyway.



I think what's confused me is it always shows 'downloading ... of 20MB', but when it's finished it's always 27MB when downloaded.



Also, there is over 1000 pictures on the site, and the total only being 27MB confused me, but they're not huge pics so it must be right. Image file does show over 1000. I was expecting a lot higher MB and couldn't work out why it wasn't a lot higher figure.

Your help has been invaluable, I've had the site up since 2005, and to be lost overnight, which could happen when they update this platform and it may be incompatible, would not be worth thinking about. So that one file would be able to restore the whole site's design as is, should it go down even if handed to another host to put up who haven't see the layout before?

The whole back up of the site is 27MB, and the images are 25MB, all the other files are just little tiny KB, so I am wondering where all the text is kept in that back up as i don't see it in any of the files. And there is a lot up there?

Thanks so much
 
Last edited:

Jessica Lares

macrumors G3
Oct 31, 2009
9,200
722
Near Dallas, Texas, USA
Make sure those photos work in the Finder Quick Look just to make sure.

If you're not seeing the content in plain text on the files then it's going to probably be in a database. Screenshot a list of those php files and I can tell you where that information will probably be in. You'd have to talk to the host about getting in there though.

PHP 5.2 reached end of life almost six years ago, a lot of other web hosts would have moved away from it by now or in the process of doing so too. So you're going to have to get that code updated to work on the newer versions.

And you're welcome. :)
 

Peter Franks

macrumors 68000
Original poster
Jun 9, 2011
1,715
30
Thanks, you think it won't convert when it changes over then?
So if it goes down, and I only have what I have, just the images/visuals of site, how would they or I access it after?
 

Jessica Lares

macrumors G3
Oct 31, 2009
9,200
722
Near Dallas, Texas, USA
It depends on how it's written. Worst case scenario, you get a bunch of blank pages, but you could also have the pages show up with errors at the top "something in line 235 on index.php".

You won't be able to load it correctly on that host again as is, locally on your computer, you use something like MAMP with PHP 5.2.17. https://www.mamp.info/en/downloads/older-versions/ That doesn't fix the problem, but a developer could see how the site works, and then make the updates needed or make/convert you to a new system.
 
  • Like
Reactions: Peter Franks