Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

minor backup issue


nofxjay

Recommended Posts

hi guys

 

having a small issue backing up my site.......

 

i just went into admin to create a backup and the actual button is missing followed by a message stating:

 

Error: Backup directory does not exist. Please set this in configure.php.

 

im in configure.php and cannot seem to locate where this info should be placed.

 

possibly simple but any ideas?

 

thanks

jay

Link to comment
Share on other sites

Do you have the backups folder there in admin Jay?

 

hi nic

 

in the admin panel under the 'database backup manager' heading there is a link to the backup directory. other than that there is a warning header at the top of the page advising the directoryt does not exist.

 

should there be a backup button under the backup manager header?

 

many thanks

jay

Link to comment
Share on other sites

Only if you have the backups folder there, in older versions 2.2MS you need to actually create it on the server then set its permissions to 777 or 755

 

thanks nic, im using 2.2 rc1.

 

so i need to manually create a backups folder on the server? do i literally call this folder 'backups'? i notice in admin>includes>configure.php there is a piece of code:

 

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

now im assuming if i set up the backups folder on the server this piece of code will connect to backups for me enabling a button?

 

forgive the questions but with your advice i am attempting to answer the questions myself, more of a guidance thing really!

 

jay

Link to comment
Share on other sites

Yes create it in admin so it will b

admin/backups

i am pretty sure this version has it already there but yes check anyway, if it is there check the permissions of the folder, if all ok there then the problem lies else where

 

unfortunately there was no file there...... just set one up but no luck, changed config.php path to admin/backups too but no luck. the warning is now advising me to 'set the backup directory in configure.php' so im going to check out there again and see if i can make any changes.......

 

i dont know how this happenned!

 

jay

Link to comment
Share on other sites

leave the configure as

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

that means admin/backups already Jay

 

hi again nic

 

still no joy...... configure is still define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); i have created a backups folder in catalog>admin but nothing has changed.

 

ill have a think over the next couple of hours about what else it could be!

Link to comment
Share on other sites

Check the directory you have created in the admin directory is spelt exactly the same way as on the admin page as this is displayed using the values in admin/includes/configure.php

 

backup

backups

Backups

 

are all different.

 

Looking at the value in post 9 the directory should be

 

/admin/backups

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Check the directory you have created in the admin directory is spelt exactly the same way as on the admin page as this is displayed using the values in admin/includes/configure.php

 

backup

backups

Backups

 

are all different.

 

Looking at the value in post 9 the directory should be

 

/admin/backups

 

G

 

hi geoffrey

 

thanks for taking the time to take a look.

 

the value is now: define('DIR_FS_BACKUP', DIR_FS_ADMIN . '/admin/backups/');

 

i have checked the folder name i created in admin and it is backups. just to clarify this is a folder that i created and the path is catalog/admin/backups. does this sound as it should be?

 

many thanks

jay

Link to comment
Share on other sites

hi geoffrey

 

thanks for taking the time to take a look.

 

the value is now: define('DIR_FS_BACKUP', DIR_FS_ADMIN . '/admin/backups/');

 

i have checked the folder name i created in admin and it is backups. just to clarify this is a folder that i created and the path is catalog/admin/backups. does this sound as it should be?

 

many thanks

jay

 

hi again

 

i just realised why this is happening.

 

my store is not the root of the site, it is within a subfolder. i just extended the value to accommodate this and the path is now correct :lol:

 

i just backed up so i can now get on with some changes!

 

thanks to both nic and geoffrey for your time and efforts!

 

jay

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...