break backup and restore code into smaller functions
break backup and restore code into smaller functions

sameersbn/docker-redmine,sameersbn/docker-redmine,otsuka512/docker-redmine,otsuka512/docker-redmine,otsuka512/docker-redmine,sameersbn/docker-redmine