Commit graph

8 commits

Author SHA1 Message Date
julien MILLAU
a331a06aa8 Ignore "lost+found" folder during backup on a volume 2017-12-20 08:11:13 +00:00
Douwe Maan
87c9df29ce Don’t exclude some file in lib from rubocop 2017-02-23 09:32:42 -06:00
Drew Blessing
d6584c94a4 # This is a combination of 2 commits.
# This is the 1st commit message:

Add `copy` backup strategy to combat file changed errors

The backup Rake task used to stream data directly from the live
data directory into the backup. Under many circumstances this worked
OK. However, really active instances would experience a 'file changed
as we read it' error - especially with data like the registry. This
now copies the data first, then compresses it. It will take a bit
more disk space while the backup is in progress, but it's a
necessary thing.

# The commit message #2 will be skipped:

#	Add env var
2017-02-21 16:03:54 -06:00
bogdanvlviv
96ebc8c4f7 Use File::exist? instead of File::exists?
Since version ruby-2.2.0, method `File::exists?` is deprecated.
2016-08-11 13:54:45 +03:00
Jacob Vosmaer
58260a0327 Do no rely on basename of builds, uploads 2015-10-16 17:16:17 +02:00
Jacob Vosmaer
7d58489fd9 Remove unused variable 2015-10-06 15:22:08 +02:00
Jacob Vosmaer
7b71727c56 Remove old "files" tarball explicitly 2015-10-06 15:10:13 +02:00
Jacob Vosmaer
d3734fbd89 Use tar for intermediate backup storage
During the backup we create an intermediate copy of two directories:
builds and uploads. Instead of creating many small files with 'cp
-r', we now use tar (and fast gzip) to create single intermediate
files. This saves on disk IO and disk space while creating a backup.
2015-10-06 14:43:19 +02:00