Hey guys,
Could anyone help me learn what it takes to put together a script to run a backup of a fixed
directory on command?
What I would like to do, is have a script that will simply
cp directory/* directorybackup/
cp directory2/* directorybackup2/
etc...
When I run a single command.
The only thing I need to watch out for is that the destination drive is a detachable device
that is not always there. It's a firewire HD. Maybe this doesn't matter, but I've never done
this sort of thing before so...
I imagine I could create some kind of shell script that will run thru the motions for me.
It would be even cooler if I could throw in a command to tar the files on the backup drive
as well after they are copied over.
Let me know if anyone has done anything like this, or knows of any software that does!
Thanks!
-Harvey
Could anyone help me learn what it takes to put together a script to run a backup of a fixed
directory on command?
What I would like to do, is have a script that will simply
cp directory/* directorybackup/
cp directory2/* directorybackup2/
etc...
When I run a single command.
The only thing I need to watch out for is that the destination drive is a detachable device
that is not always there. It's a firewire HD. Maybe this doesn't matter, but I've never done
this sort of thing before so...
I imagine I could create some kind of shell script that will run thru the motions for me.
It would be even cooler if I could throw in a command to tar the files on the backup drive
as well after they are copied over.
Let me know if anyone has done anything like this, or knows of any software that does!
Thanks!
-Harvey