Question
I have created a backup server which I would like to use with my Main TWiki server. Every night I would like to set up a cron job to copy all of the documents from the Main server to the backup. Does anyone know what folders I should be copying, Instead of the entire TWiki directory?
Thanks!
Environment
--
BrianMahoney - 23 Aug 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
If you use
rsync (over SSH) to copy, then specifying the entire TWiki directory doesn't harm. You could restrict to the
data and
pub directories, but they'll pretty soon make up most of the "volume" of your installation, so this doesn't save much.
Do
not copy the configuration files (
bin/LocalLib.cfg,
lib/LocalSite.cfg), this will most probably ruin your backup server.
--
HaraldJoerg - 24 Aug 2007
Harald, you are the best, thank you
--
BrianMahoney - 24 Aug 2007