backup_dir="$1/conf/nginx" sudo mkdir -p $backup_dir sudo cp -a /etc/nginx/conf.d/. $backup_dir