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

RE: What files and directories should be backed up from /etc



Hi.

This is what I use to backup my system Manually but you can insert the 
following commands into a cron-run shell script.

I have a directory under home called backup where all backups are stored.  You 
can use tape or ftp to some other machine.

The directories are Tared and can be restored by just un-compressing them when 
needed.

here is what I use beow:

cd /
tar -cpvz -f /home/backup/etc.tar.gz etc

cd /
tar -cpvz -f /home/backup/var.tar.gz var

cd /
tar -cpvz -f /home/backup/root.tar.gz root

cd /usr/
tar -cpvz -f /home/backup/usr-admserv.tar.gz admserv

cd /usr/
tar -cpvz -f /home/backup/usr-local.tar.gz local

cd /home/log/
tar -cpvz -f /home/backup/home-log-httpd.tar.gz httpd

cd /home/
tar -cpvz -f /home/backup/home-spool.tar.gz spool

cd /home/
tar -cpvz -f /home/backup/sites.tar.gz sites


aljuhani zajil net

>===== Original Message From redhat-list redhat com =====
>My company does not want to pay the license fees for client installs of
>the backup software on all our boxes.
>
>Many of the apps it was noted reside on the nas server and are remotely
>mounted.  Therefore, the decision came down to only back up certain
>files in /etc to provide for an easier re-install.
>
>I got ideas of course -- passwd, shadow, nsswitch.conf, exports etc...
>
>However, anybody got any more complete ideas on what should and should
>NOT be backed up.
>





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