You can enter below command to take the backup of your https.conf file.
cp -a /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak
If you are Ubuntu user then you have to use below command:
sudo cp /etc/apache2/apache2.conf /etc/apache2/apache2.conf.bak