On Mon, 10 Nov 2003, Chris Roubekas wrote:
Can someone please help me with a backup procedure that I am trying to figure out. I have a SuSE8.1 machine being a PDC in a small Windows network. I would like every day, at 12:00 midnight, the PDC to initialize a backup procedure where all the files of specific directories be backed-up. The problem is not to make a small script. That I have accomplished so far. I want to be able to have a 5 day backup with days on numbers i.e. Backup_Mon, Backup_Tue etc... I have no idea how to do this. Can someone please help me?
Put this command in script... backup-command -o Backup_$(date +%a) in a script where -o etc tell what the name of output file is going to be. This shall automatically always create a backup file with the name of the day in it. And hence shall overwrite the previous backup... ********************************************************* Disclaimer This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. ********************************************************* Visit us at http://www.mahindrabt.com