You are not logged in.

#1 2015-04-27 20:14:50

Forgotten Path
Member
Registered: 2012-02-07
Posts: 20

[SOLVED] Recovery from rm -R /var ??

So, I was clearing out the ABS tree after uninstalling...  Issued

$  sudo rm -R /var/abs

Then proceeded to check if it was deleted properly by pressing up arrow to where I had issued

$  ls /var/abs

deleted /abs, hit enter, and immediately realized I had only pressed the up arrow once and had just ran

$  sudo rm -R /var

sad  Is there any way to recover from this??    I have just recently installed on a new laptop and haven't made a backup yet.  neutral
I would rather avoid a re-install if possible, as I just spent a lot of time improving my boot speed.  Wish I had spent it making backups.  roll

Thanks in advance for advice!

Last edited by Forgotten Path (2015-04-28 01:31:42)

Offline

#2 2015-04-27 20:18:42

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: [SOLVED] Recovery from rm -R /var ??

Without a backup you're kinda screwed.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2015-04-28 01:30:08

Forgotten Path
Member
Registered: 2012-02-07
Posts: 20

Re: [SOLVED] Recovery from rm -R /var ??

Well, that's what I was afraid of.  Just thought I would check before I went through it...  smile

I've learned two important lessons:

1)  Backups come before everything else,
2)  Never get comfortable and stop double and triple checking your command line before hitting enter!

Thanks.  ...now if I can get this stupid systemd issue sorted out.  Got it!  Haha!

Last edited by Forgotten Path (2015-04-28 01:41:42)

Offline

#4 2015-04-28 01:53:26

bleach
Member
Registered: 2013-07-26
Posts: 264

Re: [SOLVED] Recovery from rm -R /var ??

if it is recent you might be able to recover with something like testdisk.

Offline

#5 2015-04-28 02:37:44

Forgotten Path
Member
Registered: 2012-02-07
Posts: 20

Re: [SOLVED] Recovery from rm -R /var ??

I had considered trying that by booting up Knoppix, but I was having trouble with it starting via UEFI, and I figured by the time I sorted it out or downloaded another ISO I could have Arch re-installed.

Offline

Board footer

Powered by FluxBB