We have done some work on our site and it gets to the point where we start worrying about what would happen if something goes wrong and we lose everything, or if a change in the site will need a rollback that may be tedious. Drush provides a couple of commands to deal with this:
For example, let's create a directory out of our Drupal project where we will store our backups and then create one and place it there. Whenever you start to use this command on production environments, it is highly recommended that you copy these backups periodically to a safer machine, out of the server where the site runs.
$ cd /home/juampy
$ mdkir backups
$ cd projects/drupal
$ drush archive-dump
Archive...