File backup simplified practical approach!

cp -p /etc/passwd{,.`date +%Y%m%d`}
#This will create copy on the same location with .<date> at the end

# another example
cp -p /etc/security/access.conf{,.`date +%Y%m%d`}

Using -p to preserve file attributes, such as permission and timestamp

Welcome to Ask DevOps!
You can find quick one line answers to popular DevOps, Amazon AWS, Microsoft Azure, Google cloud services, tools & basic to advanced Linux questions!
DevOps Tools list