[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Which /var/ contents are disposable



On 11/01/12 18:13, T o n g wrote:

Hi, 

Which /var/ contents are disposable?
I mean, for contents in var/backups/ var/log/ var/mail/ var/tmp/ etc, if 
I don't backup them, when doing a *full* system restore, will there be 
any problem?

Any more folders I can add to above list?

  

This will be useful for you: http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard

For the purposes of doing a full system restore, I believe it should be safe to NOT back up:
  • /var/cache - stuff that can be re-generated if needed.
  • /var/lock - run-time lock files. IIRC it starts out empty upon boot anyway
  • /var/run - pid files and the like
To this list you may be able to add:
  • /var/spool - but things like personal crontabs, at-jobs, printer spool files (stuff-not-yet-printed) will be lost
  • /var/tmp - usually only used for saving files by editors for crash recovery
  • /var/mail - if people are OK losing their mail (but they're usually not).

Hope this helps



The Fizzback Group Limited ("Fizzback") is registered in England under company number, 04768253. The registered office of Fizzback is at Tollbar Way, Hedge End, Southampton, Hampshire SO30 2ZP. 

Confidentiality: This communication and any attachments are intended for the above-named persons only and may be confidential and/or legally privileged. Any opinions expressed in this communication are not necessarily those of Fizzback. If this communication has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please delete/destroy and inform the sender by e-mail immediately.

Monitoring: Fizzback may monitor incoming and outgoing e-mails.

Viruses: Although we have taken steps toward ensuring that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. 


Reply to: