Deleted VAR folder by accident

Welcome to our Community
Wanting to join the rest of our members? Feel free to sign up today.
Sign up

dragonn

New Member
Nov 17, 2007
1
0
0
#1
hi there,

i might have accidentally deleted da VAR folder from ROOT.
Was in the middle of creating a var/root/media/PDF folder.
but each time i click on VAR link. its a short cut that links to Private/var.
The phone now shows that its a locked sim again and all my sms, contacts and all have gone. The phone also is very laggy.
Does anyone know how i can restore it back? im on 1.1.1


Appreciate any help at all. Thank u.
 

Tinman

Evangelist
Gold
Jul 16, 2007
4,334
183
63
Aridzona
#2
If you can get in via SSH/SCP I would attempt to recreate the structure as much as possible before trying a restore.

For starters var is linked to /private/var but I am not sure if via a hard or symbolic link. Try creating /private/var and see if /var works. If so it's a hard link and you can begin recreating the folders. If not you'll need to create the symlink too.


--
Mike