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

RE: [cobalt-users] backing up conf files



Tiny script you can use.

create a file in /etc/cron.daily
rotate_apache

#!/bin/sh

cp /etc/httpd/conf/*.conf /home/backups/






Andy Brown


-----Original Message-----
From: Jorge Otero [mailto:jorge@xxxxxxxxxxxxxxx]
Sent: 28 August 2001 3:06 PM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: [cobalt-users] backing up conf files


I was wondering if it would be a good idea to backup the apache conf
files 
several times a day using cron, if there's any way to backup the conf
files 
automatically when editing them with pico, or if there's something wrong

with doing this.

Thanks,
Jorge
P.S.: I've never used cron

_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users