Commit 52f2d9296c4a8e0fd4442bac939c58fe17af208d

Authored by Athos
1 parent 0f067c27

Do not upload the backups directory

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
Rakefile
... ... @@ -17,6 +17,8 @@ ENV['CHAKE_TMPDIR'] = "tmp/chake.#{$SPB_ENV}"
17 17  
18 18 ENV['CHAKE_SSH_CONFIG'] = ssh_config_file
19 19  
  20 +ENV['CHAKE_RSYNC_OPTIONS'] = '--exclude backups'
  21 +
20 22 if $SPB_ENV == 'lxc'
21 23 system("mkdir -p config/lxc; sudo lxc-ls -f -F name,ipv4 | sed -e '/^softwarepublico/ !d; s/softwarepublico_//; s/_[0-9_]*/:/ ' > #{ips_file}.new")
22 24 begin
... ...