kenneth59 Posted November 3, 2013 Posted November 3, 2013 Is it necessary or a safeguard to download an entire osc store from the server (all files, all images, etc) to my computer? OR should i just DL certain php files instead of the entire site?
oscMarket Posted November 3, 2013 Posted November 3, 2013 Your control panel should be able to download a backup of your files. Most of them have option to either download a full backup or a backup of the by you selected files. Make sure when do a full backup, that you also have the DB with it. As said , some can provide a full backup, including the DB but some let you backup the DB separated.
♥altoid Posted November 3, 2013 Posted November 3, 2013 As Henry said, full back up. See how your CP works. Mine allows me to first compress the entire site and then I download/save that zip file. Database backup can be done from the admin side of your shop, I down load those periodically as well. However when I am in my CP I will sometimes use phpmyadmin to do a database backup there as well. Someday you'll need a backup most definitely. I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can. I remember what it was like when I first started with osC. It can be overwhelming. However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc. There are several good pros here on osCommerce. Look around, you'll figure out who they are.
MrPhil Posted November 3, 2013 Posted November 3, 2013 Back up ("dump"/"export") your database to a file (.sql or .sql.gz) on your site. Then it's a one-click operation on almost any FTP client to copy the entire site down to your PC in one step. There's no need to pick and choose files to transfer, unless you're on an incredibly slow dial-up connection. In that case, talk to your host about any way to compress the site files into one small package. If you absolutely have to pick and choose files, the database backup is number ONE. Don't rely on your host to keep it safe -- every host has had its accidents and problems. Number TWO are your configure.php files. Number THREE are your product image files, assuming you didn't keep a copy on your PC. After that, do you have any custom coding in your site (including tweaks to the .css files)? If not, you'll be able to reconstruct your site from a vanilla osC install plus re-install of your add-ons. Backing up those files (.php mostly) becomes a convenience for a faster restoration. Once you have a given file copied to your PC, there's no need to copy it again unless you change it on your site (install an add-on, etc.).
jhande Posted November 3, 2013 Posted November 3, 2013 Is it necessary or a safeguard to download an entire osc store from the server (all files, all images, etc) to my computer? OR should i just DL certain php files instead of the entire site? Hey Kenneth, I recommend a complete backup to your PC, also whenever you make changes/edits to any files. Make backups of your database on a regular basis. ;) - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
alexman Posted November 3, 2013 Posted November 3, 2013 The host of my site was attacked by a hacker who deleted all the servers..., including my site. I have saved on my PC all backups(and aditional copy-paste of public_html) during time,but how to install them?I'veto uploaded all the files from public_html, but site still dowsn't work. Should I reinstall database again from phpadmin?
♥altoid Posted November 4, 2013 Posted November 4, 2013 @@alexman As I see it the contents that have been deleted (by the hacker) from the public_html need to be replaced with the backups you did in the exact same directly structure. How old is the backup? If the database was effected that needs restored, do it using your database backup using phpmyadmin to carry that out for you. Import function. Time to consider another host if that hack is as you laid out. They should offer some support on this situation. I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can. I remember what it was like when I first started with osC. It can be overwhelming. However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc. There are several good pros here on osCommerce. Look around, you'll figure out who they are.
MrPhil Posted November 4, 2013 Posted November 4, 2013 Any host worth the label will have their own backups of entire servers, and can quickly restore them. If they're so inept that they don't have good backups, AND their security is so bad that a hacker can wipe entire servers, RUN AWAY from them as fast as you can!
alexman Posted November 4, 2013 Posted November 4, 2013 @@alexman As I see it the contents that have been deleted (by the hacker) from the public_html need to be replaced with the backups you did in the exact same directly structure. How old is the backup? If the database was effected that needs restored, do it using your database backup using phpmyadmin to carry that out for you. Import function. Time to consider another host if that hack is as you laid out. They should offer some support on this situation. The hacker called at the central office and asked for console access- he said he is a new employer. He tdeleted all the files from 5 servers.The host doesn't have any backup......no comment.... I have got the latest backup on my PC. I tried to copy from my last public_html to the new created by host, but the page doesn't work. I tried to create a new database and import the last sql backup but again it doesn't work. I'll look after another good host.
♥joli1811 Posted November 4, 2013 Posted November 4, 2013 Well simple test would be to create a test index.html page that will then rule out the database settings I have attached a test page upload by ftp call this in your browser www.YOURSITE/index.html and see if it appears This is a test. This is a simple index.html and does not use a database so if it does not appear ask your host again why ?? regards Joli To improve is to change; to be perfect is to change often.
alexman Posted November 9, 2013 Posted November 9, 2013 Well simple test would be to create a test index.html page that will then rule out the database settings I have attached a test page upload by ftp call this in your browser www.YOURSITE/index.html and see if it appears This is a test. This is a simple index.html and does not use a database so if it does not appear ask your host again why ?? regards Joli Joli many thanks for your advice. Indeed they've also changed the names of their servers....I'll run away quickly from them.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.