Commit Graph

7 Commits

Author SHA1 Message Date
Jacob Vosmaer baa157926d Stricter mkdir's in 'rake gitlab:backup:create' 2015-07-30 10:17:34 +02:00
Jacob Vosmaer c5aae30773 Set internal backup directory modes on create
This sidesteps problems with running 'chmod' on some CIFS mounts.
2015-07-29 11:18:55 +02:00
Bryan Stearns fc9832b1e6 Avoid "cannot copy directory to itself" restore error 2014-08-03 13:42:11 -07:00
Jacob Vosmaer a47a6f2afd Support symlinked public/uploads for backp restore
The backup restore code moves any existing uploads directory out of the
way before restoring the copy from the backup. If public/uploads was a
symlink, this move would replace the symlink. This commit avoids this
issue by first resolving any symlinks in the uploads path.
2014-02-26 17:26:48 +01:00
Jacob Vosmaer a540ab4290 Remove Bourne shell from backup code 2013-11-06 14:02:28 +01:00
Ben Bodenmiller d0b04b03b4 clarify restore 2013-05-27 04:35:54 -07:00
Dmitriy Zaporozhets e230551940 backup/restore uploads 2013-04-10 15:41:47 +03:00