Help! Accidental deletion of /etc/tomcat6 folder.

Hi Folks,

I accidentally deleted my /etc/tomcat6 folder and was not able to get it even after upgrading and updating with 'apt-get update' and 'apt-get upgrade'.

I'm running Ubuntu 10.04. And my /etc/apt/sources.list was updated as shown in http://library.linode.com/frameworks/ap … 0.04-lucid">http://library.linode.com/frameworks/apache-tomcat/ubuntu-10.04-lucid

Please tell me what to do to get back the folder and get tomcat6 installed again!

Thanks in advance,

Priya

2 Replies

unless you have backups, you wont be getting the folder back.

you can probably get apt to bring you back the default files and config, but not anything youve customized

You'll have to use apt-get to restore the defaults, and re-customize.

Linode does have a backup service (I think you need to pay for it). You can also have a script run on your linode via cron to create a tarball of your important files, then either have the script scp/rsync the tarball to another location, or retrieve it manually.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct