Commit Graph

27 Commits

Author SHA1 Message Date
Arpit Jalan af4101f783 TRIVIAL: remove obsolete comments 2014-07-02 17:05:06 +05:30
Arpit Jalan d0753ec7a5 Send notifications for backup/restore from system user 2014-07-02 15:01:32 +05:30
Régis Hanol b52177a4b6 BUGFIX: better resiliency in the backup/restore processes 2014-05-13 16:18:22 +02:00
Louis Rose 1574485443 Perform the where(...).first to find_by(...) refactoring.
This refactoring was automated using the command: bundle exec "ruby refactorings/where_dot_first_to_find_by/app.rb"
2014-05-06 14:41:59 +01:00
Régis Hanol bb0baa6d7c BUGFIX: properly reconnect to the current db after forking 2014-04-07 19:38:47 +02:00
Régis Hanol d23585e444 BUGFIX: backup/restore operations keep track of the read-only mode status 2014-03-28 12:15:53 +01:00
Régis Hanol 0def4747da FEATURE: send the backup/restore logs when operation fails 2014-03-24 19:34:16 +01:00
Robin Ward c1b4f5b80b FIX: `sed` on OSX sucks and doesn't work with the same commands as on
most Linux machines. This regexp is compatible with both.
2014-03-21 11:57:33 -04:00
Régis Hanol dbe72fe26d FEATURE: minimize duration of read-only mode when backing up 2014-03-14 15:53:58 +01:00
Régis Hanol ea953c9c0e BUGFIX: only wait for jobs of the current_site when backing up 2014-03-14 15:49:35 +01:00
Robin Ward 085f7997a2 FEATURE: Upload backups to S3 when complete. 2014-03-12 16:24:45 -04:00
Robin Ward dc1d6decf5 Support for removal of old backups automatically via a site setting 2014-03-12 12:24:35 -04:00
Régis Hanol 8c89931747 do not log sensitive commands during backup/restore 2014-03-12 11:45:55 +01:00
Régis Hanol 9eb3958374 FEATURE: gzip backups using best compression 2014-03-11 12:47:51 +01:00
riking 01826b9c18 Add site name to beginning of backup filename 2014-03-06 16:34:31 -08:00
Régis Hanol 32e3058f16 BUGFIX: force tar to follow symlinks during the export 2014-02-25 19:23:37 +01:00
Régis Hanol 1f90f3044f BUGFIX: restore wasn't working when not using multisite in production 2014-02-20 18:42:17 +01:00
Régis Hanol 27f3aa6bdc BUGFIX: actually use db_conf everywhere 2014-02-19 15:43:59 +01:00
Régis Hanol 438f97d8b0 BUGFIX: backup/restore rake tasks weren't working 2014-02-19 15:25:31 +01:00
Régis Hanol f81680d5c7 BUFGIX: we should have uploads in the backup 2014-02-17 19:58:50 +01:00
Régis Hanol 6f6a8c3f1b dump only the public schema when backing up the db 2014-02-17 19:14:57 +01:00
Sam 0438abf139 BUGFIX: Use ENV["USER"] before falling back to postgres 2014-02-17 10:44:37 +11:00
Régis Hanol 29b6b71d61 don't pass arguments when they're empty to pg_sql/pg_dump 2014-02-14 02:58:36 +01:00
Régis Hanol b89d328de2 display/preload the logs of the last/current operation 2014-02-13 13:31:14 -08:00
Régis Hanol 62f98993cd fix pg_dump syntax to exclude schemes 2014-02-13 13:31:14 -08:00
Régis Hanol aff3463957 we want to wait for workers and not enqueued jobs 2014-02-13 13:31:13 -08:00
Régis Hanol 79a40658bf new backup & restore code 2014-02-13 13:31:13 -08:00