.key Date
.bra <
.ket >

;FAMEBackUpUserDatas 1.0
;
;Simple FAME BackUp subscript by David Wettig (strider@trsi.de).
;
;Or call it SlaveScript ;))))
;
;This script simply backups the user.data and user.key files of FAME.
;If manually enhanced it also backups the UserCnf.data files of
;your FAME BBS Conferences.

;*******************************************************************
;-------------- Conference and ConfAccess data backup --------------
;*******************************************************************

;Create subdirectories
Echo "Creating subdirectories..." NOLINE

;Create subdirectories.
IF NOT EXISTS FAME:BackUp/<Date>/Conferences
	MakeDir >NIL: FAME:BackUp/<Date>/Conferences
ENDIF

;--------------------------------------------------------------
;Insert the paths of your Conferences here where do you want to
;backup your UserCnf.data files from.
;--------------------------------------------------------------
;Example:
;IF NOT EXISTS FAME:BackUp/<Date>/Conferences/Amiga
;	MakeDir >NIL: FAME:BackUp/<Date>/Conferences/Amiga
;ENDIF

;Say done.
Echo "done!"

;Inform about copy process.
Echo ""
Echo "Now copying files..." NOLINE

;Copy user.data.
Copy >NIL: FAME:user.data FAME:BackUp/<Date>/
;Copy user.keys.
Copy >NIL: FAME:user.keys FAME:BackUp/<Date>/

;--------------------------------------------------------------
;Insert the paths of your above created Conference directories
;here but to your existing UserCnf.data files in your
;Conferences.
;And insert the paths here you created above too.
;--------------------------------------------------------------
;Example:
;Copy >NIL: FAME:Conferences/Amiga/UserCnf.data FAME:BackUp/<Date>/Conferences/Amiga/

;Inform about copy process.
Echo "done."

;Final words.
Echo ""
IF WARN
	Echo "BackUp not completely successful!"
ELSE
	Echo "BackUp successful!"
ENDIF

