Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

back up main files


momonie/lillybears

Recommended Posts

i need to learn how to back up my store... i tried before and the disc that i put it on ... showed nothing when i went to use it again. so maybe i need to learn what to do.

 

also can you back up if there are errors on pages?

 

 

thanks for any help givin.

 

paula <_<

Knowledge Base

 

In Perfect Love, And Perfect Trust. The Circle Is Open, But Never Broken!

Link to comment
Share on other sites

i need to learn how to back up my store... i tried before and the disc that i put it on ... showed nothing when i went to use it again.  so maybe i need to learn what to do. 

 

also can you back up if there are errors on pages?

thanks for any help givin.

 

paula  <_<

To backup the files themselves you'll want an ftp program and d/l all the files. If you used the tools/backup, that's just for the database.

Go New England Patriots!!!!

Link to comment
Share on other sites

To backup the files themselves you'll want an ftp program and d/l all the files.  If you used the tools/backup, that's just for the database.

 

 

i have an ftp ... i just go there and tell it to download to a disc right?

 

thanks

Paula <_<

Knowledge Base

 

In Perfect Love, And Perfect Trust. The Circle Is Open, But Never Broken!

Link to comment
Share on other sites

ok maybe i am not understanding the basics of this...

 

i tried to use an ftp server to download... but got an error message that said...

started with the mysql folder and got this...

 

RETR address_book.frm

553 Permission denied.

CWD /

250 "/" is new cwd.

PWD

257 "/" is cwd.

Cached directory reloaded.

 

:angry: grrrrr... help..

 

what to do now?

 

paula

Knowledge Base

 

In Perfect Love, And Perfect Trust. The Circle Is Open, But Never Broken!

Link to comment
Share on other sites

I may be missing something here, but didn't you get started by downloading the osC files to your hard drive and then uploading them to your server via ftp? In other words, you already have a "backup" of your server files on your hard drive, and you could make another backup by burning a CD from your hard drive. Why do you need to download everything from the server to make a backup?

"Buy the ticket, take the ride..." -HST

Link to comment
Share on other sites

I may be missing something here, but didn't you get started by downloading the osC files to your hard drive and then uploading them to your server via ftp? In other words, you already have a "backup" of your server files on your hard drive, and you could make another backup by burning a CD from your hard drive. Why do you need to download everything from the server to make a backup?

 

 

 

no i paid for a store to be put on my server... i have never recieved any files to down load... but i did i thought make a backup of the files... but when the hurricans came threw florida my pc was destroyed and the flopy that i thought had my files on it were a dud... lol

 

my store was hacked into which is to say it will probably happen again till i can figure out how to lock it... lol... so much to learn.

 

hope that answered your questions.

 

paula <_<

Knowledge Base

 

In Perfect Love, And Perfect Trust. The Circle Is Open, But Never Broken!

Link to comment
Share on other sites

Hi Paula

 

Sounds to me like the people who sold you your store did you wrong. Did they do any customizing for you, or is it a stock installation? If the former (seems likely), didn't they do a backup of their own work?

 

Best regards.

"Buy the ticket, take the ride..." -HST

Link to comment
Share on other sites

Merry Meet Doug,

 

No they did the customizing background, products,that kinda stuff.. all i have done is gone in and changed the wording ... and added new products to the store... i had a hacker come in and mess things up... thats why i am having problems... things were miss placed... some even missing ... still... lol...

 

 

oh well... live and learn i guess ... sigh... i guess this is gonna be a long hard lesson huh?

 

Blessed Be

Paula <_<

Knowledge Base

 

In Perfect Love, And Perfect Trust. The Circle Is Open, But Never Broken!

Link to comment
Share on other sites

Cheers Paula:

 

i guess this is gonna be a long hard lesson huh?

 

Blessed Be

Paula <_<

 

It'd be a lot easier if the folks who set you up could provide some support.

 

On the '553 Permission denied' thing, did you try other directories? You should be able to back up your database through your osCommerce admin--no need to access your host's mysql directory. But if you still need to get into the mysql directory, suggest you contact your host administrator.

 

Regarding the customized files, I still suspect they have a backup somewhere. Talk to them!

"Buy the ticket, take the ride..." -HST

Link to comment
Share on other sites

Cheers Paula:

It'd be a lot easier if the folks who set you up could provide some support.

 

On the '553 Permission denied' thing, did you try other directories? You should be able to back up your database through your osCommerce admin--no need to access your host's mysql directory. But if you still need to get into the mysql directory, suggest you contact your host administrator.

 

Regarding the customized files, I still suspect they have a backup somewhere. Talk to them!

 

 

Merry Meet Again Doug,

 

i was told to look here for support... lol... hows that for the typical run around.. lol... that my friend is my luck in life...

 

anyways... i was told not to use the admin for my back up...

as far as backing up other files... i tried... some i could others i could not..

the image folder only did about 1/2 and quit. i really need to know which files to back up... this is all so new to me ... i feel like pulling my hair out...

i guess i need to find the wiz and pay him to fix it... sigh... such as my lot in life... lolol...

 

thanks for the help with this

 

What is that saying... if it weren't for bad luck i would have no luck at all!! lol thats me!!

 

Brightest Blessings Douglas

paula <_<

Knowledge Base

 

In Perfect Love, And Perfect Trust. The Circle Is Open, But Never Broken!

Link to comment
Share on other sites

ok maybe i am not understanding the basics of this...

 

i tried to use an ftp server to download... but got an error message that said...

    started with the mysql folder and got this...

 

RETR address_book.frm

553 Permission denied.

    CWD /

250 "/" is new cwd.

    PWD

257 "/" is cwd.

    Cached directory reloaded.

 

:angry: grrrrr... help..

 

what to do now?

 

paula

 

 

does anyone have any ideas?

 

thanks

paula

Knowledge Base

 

In Perfect Love, And Perfect Trust. The Circle Is Open, But Never Broken!

Link to comment
Share on other sites

does anyone have any ideas?

 

thanks

paula

If you have an FTP program, (such WS FTP or Smart FTP) and all the details to be able to connect to your server - ftp.servername.com, username, password you can access all you files on your live server.

 

The FTP program should have 2 windows like MS Windows Explorer. You can the create a folder on you local pc, (the one you are sat at) and drag the files from your server to the folder on your local pc. The you just copy them on to CD from the local pc.

 

Does that help?

Link to comment
Share on other sites

If you have an FTP program, (such WS FTP or Smart FTP) and all the details to be able to connect to your server - ftp.servername.com, username, password you can access all you files on your live server.

 

The FTP program should have 2 windows like MS Windows Explorer.  You can the create a folder on you local pc, (the one you are sat at) and drag the files from your server to the folder on your local pc.  The you just copy them on to CD from the local pc.

 

Does that help?

 

 

:thumbsup: Yeah...

 

thank you very much... i will do this straight away...

 

 

Paula

Knowledge Base

 

In Perfect Love, And Perfect Trust. The Circle Is Open, But Never Broken!

Link to comment
Share on other sites

If it helps you at all.....

 

The stuff you need to backup falls into the following distinct categories :

 

1) The PHP code that is osCommerce

2) The product images (unless you have moved them, these tend to live somewhere in .../catalog/images/... in the PHP code directory)

3) The database files

 

DATABASE FILES

--------------------

I am assuming that you are on a shared server, rather than your own dedicated machine. This being the case, you will almost certainly NOT be able to get direct access to the database files. It looks like you have already discovered this - this is why you get the 'permission denied' error when you try and back them up.

 

Why does this happen ? Well.... (assuming you know little about file permissions and users and stuff), this happens because the database files are 'owned' by the 'database' user. In contrast, your osc PHP files (and the product images) are 'owned' by some other user probably called 'paula' or something.

 

Now, when connect to the server machine (whether it is via FTP or whatever), you can get access to the files owned by 'paula' because that's what the system administrator has set up to allow you to do.

 

However, you can't get DIRECT access to the database files because 'paula' does not own the database files; the 'database' user does !

 

It's not quite as cut and dry as this but I'm trying to simplify things for you.

 

OK, WHY is this so ? Well, it would be a huge security risk to allow you direct access to the raw database files. If you did have access (and you have o remember that the system administrator doesn't know you - you could be anybody), you could corrupt them ,delete them or access someone else's database files !

 

The other issue is that you can't really backup the raw database files without first shutting down the database server program (again, this is a bit simplified but nonetheless true).

 

So you are left with the only other option - you have to access the database records via the database program. This is what the 'database backup' option of osCommerce does. If you are using the easypopulate contribution, you can also do a very similar thing.

 

PHP FILES

------------

As you seem to have been left in the lurch by your helpful friend, it would seem that you do indeed need to backup you PHP files. As I said above, you should be able to get to these quite easily (probably via FTP). If you get some sort of 'permission denied' error then complain to your hosting provider - they have messed up something if you can't get access to this stuff. If they insist that they haven't messed up and "that's how it is" then your service provider is **** and you need to find another one.

 

IMAGE FILES

---------------

As with the PHP files, you should be able to back these up no problem.

 

No idea if this helps,

 

Rich.

Link to comment
Share on other sites

:thumbsup:

WOOOOHOOOOO!!!!!!!!!!!!!!

I did it... lol

 

that was like pulling teeth... lol

 

thank you very much everyone that left a post.

 

was at a loss as to what to do.

 

 

Thank You, Thank You, Thank You,

 

 

Brightest Blessings,

Paula

 

Go Cubs :P

Knowledge Base

 

In Perfect Love, And Perfect Trust. The Circle Is Open, But Never Broken!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...