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

how to backup and restore /var partition.



I want to reinstall Debian on a machine which is also running my local web server. I am planning on backing up /home, /var and /etc.

When I want to restore these on the newly installed system, how exactly do I do the restore with /var? Do I just copy the earlier /var to the new one? During and right after installation, I am sure /var/log/syslog is being build up. What is the recommended way to restore /var in this situation?

Regarding apache, I suppose I just copy the /var/log/apache to the new system before starting apache?

Any further tips are much appreciated.

Regards.


Reply to: