you can also use a flash memory card to store a backup copy of a configuration file. follow these steps to copy a configuration file to a flash memory card:
step 1 enter privileged exec mode:
router] enable
password: [password]
step 2 enter the copy running-config {slot0: | slot1:}[partition:filename] command. replace partition with the partition number and filename with the name of the file, for example:

if you omit the partition and filename variables, you are prompted for them.
step 3 press return or enter y to erase the current contents of the partition, or enter n to save the contents. then confirm your selection: