From: Silvio Rhatto Date: Tue, 2 Jul 2013 20:17:17 +0000 (-0300) Subject: Backing up with hardlinks X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d37d569fbfa16cf8f8a7f29372f25ed4b7b595d0;p=puppet-wordpress.git Backing up with hardlinks --- diff --git a/templates/wordpress.sh.erb b/templates/wordpress.sh.erb index c17d81b..052543c 100644 --- a/templates/wordpress.sh.erb +++ b/templates/wordpress.sh.erb @@ -67,7 +67,7 @@ function wordpress_upgrade { exit fi - cp -a wordpress-$old wordpress-$old.backup + cp -alf wordpress-$old wordpress-$old.backup # Deploy a fresh wordpress tree wordpress_deploy $new