PDA

View Full Version : what path should I use


Shaybloom
03-28-2013, 01:21 PM
now ONLY THING IS THIS I'M GETTING AN ERROR

Backup Error : Could not write to destination file ( home2/gagalitt/backups/2013-06-08/Forum-2013-06-08-Gagalittaccess.sql )


THATS THE ERROR CAN YOU Please help me?

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

for this plugin?
https://vborg.vbsupport.ru/showthread.php?t=231481&page=56

to store backups?

it says

Backups Path
Path to backups folder, this must have a trailing slash and folder must be writable.
Try to use a relative path if possible.

Brandon Sheley
03-28-2013, 02:14 PM
Why didn't you ask in that thread? :confused:

you can find your forum path by making a php file and navigating to it.

<?php

if ($_SERVER['PATH_TRANSLATED'])
{
$path = $_SERVER['PATH_TRANSLATED'];
}
else if ($_SERVER['SCRIPT_FILENAME'])
{
$path = $_SERVER['SCRIPT_FILENAME'];
}
else
{
echo 'We are sorry, but this script is unable to determine your forums path.';
exit;
}

echo substr($path, 0, (strlen($path) - 14));

?>

Shaybloom
03-28-2013, 02:33 PM
done
it says
/home2/gagalitt/public_html/alphaf

but folder alphaf does not exist..

theres this folder which is my forum root which is there after public_html though

Brandon Sheley
03-28-2013, 02:37 PM
personally I would put the backups under the public_html so according to your post, make a writable folder here

home2/gagalitt/backups/

Shaybloom
03-28-2013, 02:41 PM
thanks
which permissions should i select so that hackers cant download my database :/
http://gyazo.com/02cf9a41a1dd9f2e37dc2773ee16fb4d

if they know the url

Brandon Sheley
03-28-2013, 02:47 PM
777 but if it's under the public_html, it's not accessible by the public

Shaybloom
06-09-2013, 04:21 AM
Could not write to destination file ( home2/gagalitt/backups/2013-06-08/Forum-2013-06-08-Gagalittaccess.sql )