Hi,
I'm running a webserver and decided to back it up using a crontab.
But first I need a good shell script for crontab to execute.
I created this shell script:
Can someone look at this is give a bit of advice.
#!/bin/bash
echo "beginning to copy files..."
cp -R * /mnt/DesktopBackup/website/
echo "done copying files..."
I run this script from inside of my web directory. which is the source
of the backup.
Question: is the -R what allows me to copy folders and their
subdirectories?? or is their a better way to do this?
I have lots of folders within folders within folders... it's a mess.
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss