OS Platform: SCO Unix Sys/V
Hello,
Beside of doing backup on tape everyday, i would like to do the backup on Hard Disk too. I have created a batch file for doing this but however i DO NOT WANT it to be overwritten everyday. The command is
tar cvf /ibm3/bakXXXXX.tar /u/peg
/u/peg --> is the Data folder which need to be backed up.
/ibm3/bakXXXXX.tar ---> is the filename i want to put at it.
The problem is that i would like to know if there's a command which exist or a short program which can automatically assign the filename ( in the place of bakXXXXX.tar ) as per the date stamp. That is if today is 01.07.2002, the filename is bak010702.tar and tomorrow will be bak020702.tar and so on and so forth.
Could anybody help me please, i have been trying lot's of stuff but in vain.
Thank you so much
Regards.
Salim
Hello,
Beside of doing backup on tape everyday, i would like to do the backup on Hard Disk too. I have created a batch file for doing this but however i DO NOT WANT it to be overwritten everyday. The command is
tar cvf /ibm3/bakXXXXX.tar /u/peg
/u/peg --> is the Data folder which need to be backed up.
/ibm3/bakXXXXX.tar ---> is the filename i want to put at it.
The problem is that i would like to know if there's a command which exist or a short program which can automatically assign the filename ( in the place of bakXXXXX.tar ) as per the date stamp. That is if today is 01.07.2002, the filename is bak010702.tar and tomorrow will be bak020702.tar and so on and so forth.
Could anybody help me please, i have been trying lot's of stuff but in vain.
Thank you so much
Regards.
Salim