Does Hetzner do site back-ups's

zagame

Well-Known Member
Joined
Jan 24, 2008
Messages
326
Reaction score
2
Location
In my house silly
Good Morning

I am busy redoing a clients website, and the previous designer created a quote form with a admin log-in (very simple) now before the client got to me he got some random to do some edits on this form and now it doesn't work - seems that pages where renamed or something.

The original designer of the form is not available or has had enough of the client :)

Now does Hetzner do rolling site back-up's so that I can try get a copy of the original Form/files to see what the problem could be. - Need 3-4 months back

The reason that I am posting this here first is that incase somebody has a similar request we can have a record of it for all to see ;)
 
From hetzner site

http://www.hetzner.co.za/helpcentre...ent/category/backups/how_long_do_you_keep_240

Backups are usually kept for a minimum of one week and a maximum of two weeks.

It is advisable that you always keep another backup copy somewhere else, for example on you local PC or a CD. The reason for this is simply that backup servers can also fail, just like any other server.

Backups are made of the user’s home directory as well as MySQL databases. The user’s home directory will include site content, web logs and any mail that was on the server at the time of the backup. This means that any mail arriving after the backup has completed and downloaded before the next backup took place, will not have been backed up.
 
It's not that hard to see what the issue is, just do a View Source and use common sense to figure out why it's not working anymore.

else if you really lazy just paste the code here and let one of us look it through
 
It's not that hard to see what the issue is, just do a View Source and use common sense to figure out why it's not working anymore.

else if you really lazy just paste the code here and let one of us look it through

:)

Thanks but it consists of 22 php files all with names like sddel, f_l, s_cu etc.

it seems to call to a index.php file but that opens the front-end form and not the admin/index.php

But I will post the code here

login.php
<?php
$m = $_GET['i'];
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Admin Login</title>
</head>

<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle">
<form name="lform" method="post" action="s_cu.php">
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; color: #454545;">
Please Enter Login Password</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; color: #ff0000;">
<?php echo $m; ?>
</div>
<br>
<input type="password" name="textfield">
<br><br>
<input name="" type="submit" value="Login">
</form>
</td>
</tr>
</table>
</body>
</html>

it refers to s_cu.php but opens the frontend index.php ( I think that this file has been overwritten)

s_cu.php
<?php
session_start();

$q = $_POST['textfield'];

$prechk = substr($q, 0, 2);
$sfx1chk = substr($q, 2, 2);
$sfx2chk = substr($q, 4, 2);

$x = date("d");
$y = date("m");

if ($prechk == 'xx') {
if (($sfx1chk == $x) && ($sfx2chk == $y)) {
$_SESSION['logok'] = 'y';
header("Location:index.php");
} else {
header("Location:login.php?i=Invalid Login");
}
} else {
header("Location:login.php?i=Invalid Login");
}
?>

now you get the log-in form - input password etc. - and get kicked straight to the front-end form, back-end editing is out of the question

the front-end form (index.php) and the admin back-end index.php is the same form this has obviously been overwritten or something stupid like, hence does Hetzner do rolling back-ups?
 
Last edited:
Surely you should have done one before you started messing with it?

I have a copy but it is from the second guy, hence me looking for a back-up of the orig. and he is not taking any responsibility and there is no proof that he fusked it up.

Thanks for the input everybody, it seems that the easiest would be to remake the system from scratch and hopefully get the client to pay for the extra work, even though i feel sorry for him since this will be the second time he pays for it ( second guy is a friend of the client and didnt charge him)

enjoy your week-end

Thread closed
<------------>
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X