Commit graph

68 commits

Author SHA1 Message Date
Jonathan Math
0e81d2f346 no need to pass filename into backup_psql.py in ansible postgres backup. removing it 2021-06-27 14:40:00 -06:00
Jonathan Math
a78dec3ed9 fix syntax for backup_redis and duse socket for getting hostname instead of passing in as an argument 2021-06-27 14:36:24 -06:00
Jonathan Math
4846457bc4 fix syntax for mongo backups 2021-06-27 14:32:37 -06:00
Jonathan Math
8ede5a3987 change get_postgres_credentials.py to get_credentials.py so it can also be used to get the s3 bucket name. Fix postgres backups 2021-06-27 14:11:14 -06:00
Jonathan Math
4cea718d40 add redis backup and remove redundant redis backup scripts. Use one script and pass in hostname argument instead 2021-06-19 12:52:04 -06:00
Jonathan Math
c2bef5565b add backup to ansible for postgres 2021-06-19 12:35:28 -06:00
Jonathan Math
97bc306567 add python paths to backup_mongo.py and backup_psql.py to make them executable 2021-06-19 12:24:33 -06:00
Jonathan Math
1dfd36630f make backup_postgres compatible with docker/ansible 2021-06-19 12:17:19 -06:00
Jonathan Math
a71069994c add mongo backup cronjob for ansible and integrate backup_mongo.py with docker setup 2021-06-19 12:02:29 -06:00
Samuel Clay
d1e9f6764f Merge branch 'master' into dashboard3
* master:
  Backing up postgres version
2021-02-18 20:59:22 -05:00
Samuel Clay
8e224de2b9 Backing up postgres version 2021-02-18 20:57:56 -05:00
Samuel Clay
ab2d9804ef Adjusting to newsblur_web. Also adding feed chooser to dashboard river. Needs hookup. 2021-01-12 15:52:10 -05:00
Samuel Clay
b89e7dc429 Merge branch 'django1.11' into django2.0
* django1.11: (152 commits)
  request.raw_post_data -> request.body (django 1.6)
  Upgrading pgbouncer to 1.15.0.
  Finishing off Postgresql 13 upgrade.
  Upgrading to Postgresql 13.
  Ubuntu 20.04
  Fixing supervisor path issues
  Upgrading setuptools
  Fixing flask
  Handling over capacity for twitter.
  Max length for image_urls.
  Properly filtering newsletter feeds.
  Fixing issue with text importer on feed-less urls.
  Removing dependency, fixing encoding issue for pages.
  Fixing DB Monitor.
  Updating User Agent for all fetchers.
  Ignoring VSCode.
  Fixing DB Monitor.
  Updating User Agent for all fetchers.
  Ignoring VSCode.
  Fixing Statistics by fixing how timezones are handled.
  ...
2020-12-03 14:04:26 -05:00
Samuel Clay
baa4d505a4 Updating env vars, attempting to deploy django 1.11. 2020-11-09 12:24:32 -05:00
Jonathan Math
2e8deade58 2to3 the rest of utils/ 2020-06-19 02:29:40 -04:00
Samuel Clay
055fcbc0ea Fixing notifications dialog bug. 2016-11-17 11:37:10 -08:00
Samuel Clay
70c6dc78b2 PostgreSQL 9.2 -> 9.4. 2015-07-20 18:55:41 -07:00
Samuel Clay
a266d9f585 Adding DF missing users. 2015-05-26 17:58:45 -07:00
Samuel Clay
bd4e3c322e Fixing delete feeds recreator. 2015-05-26 17:57:26 -07:00
Samuel Clay
d6e6e6410c Fixing backups. 2015-03-10 12:02:23 -07:00
Samuel Clay
17412b6277 Adding redis sessions backups. Also adding crontabs for backups directly to fabfile and db server creation. 2015-03-09 14:50:07 -07:00
Samuel Clay
159db6090e Using folders for backups. 2015-03-09 14:27:33 -07:00
Samuel Clay
ec7847a922 Fixing DF users. 2014-09-05 18:17:07 -07:00
Samuel Clay
6be5d1c595 Adding backup of user ids. 2014-09-05 16:55:28 -07:00
Samuel Clay
428fba705b Updating search indexing progress in real-time. 2014-04-16 15:31:44 -07:00
Samuel Clay
7ae3692957 Removing starred stories from mongo backups. 2013-12-22 14:26:37 -08:00
Samuel Clay
4f511600a4 Cleaning up after failed backup. 2013-12-12 15:35:41 -08:00
Samuel Clay
c509177500 Adding redis backup for new redis stroy server. 2013-08-12 16:29:48 -07:00
Samuel Clay
dfceb5bff1 Mongo backups using gzip instead of bzip2. 2013-08-01 19:11:47 -07:00
Samuel Clay
98d5ebd4f6 Fixing mongo backup script. 2013-08-01 18:15:40 -07:00
Samuel Clay
40f1243e02 Updating postgres backup. 2013-06-24 20:07:11 -07:00
Samuel Clay
d5972c0eef Adding automated redis backup. 2013-05-18 21:48:03 -07:00
Samuel Clay
4d014033b6 Adding redis backup script. 2013-04-29 14:06:42 -07:00
Samuel Clay
408fb99802 Adding logging to mongo backup. 2013-04-20 15:06:32 -07:00
Samuel Clay
eb08ef5569 Versioning postgres backup script. 2013-04-14 21:07:49 -07:00
Samuel Clay
4eb49687e0 Versioning postgres backup script. 2013-04-14 21:07:07 -07:00
Samuel Clay
0b38e1bece Fixing pgsql backup. 2013-03-21 10:41:48 -07:00
Samuel Clay
37c8d36eb7 sclay -> /srv 2013-02-25 19:01:11 -08:00
Samuel Clay
093887b39c Adding collections for mongo to backup. 2012-10-16 14:12:38 -07:00
Samuel Clay
059c5cca79 Adding necessary import when not running from the REPL. 2011-12-20 22:32:15 -08:00
Samuel Clay
c0adece057 Updating the mongo db copy util to also look for updated stories. 2011-12-20 08:56:34 -08:00
Samuel Clay
786a170f4c Adding my very special mongo serialization backup utility to get around the damn unrepairable mongo database. This is taking 14 hours to run. 2011-12-18 20:57:18 -08:00
Samuel Clay
08fe9f5ce8 Fixing mongo db backup. 2011-10-05 19:30:21 -07:00
Samuel Clay
9f915347d6 Fixing mongo backups to use new mongo_db settings. 2011-08-30 09:33:03 -07:00
Samuel Clay
a909c675b8 Cleaning up mongo backup. 2011-05-18 14:59:05 -04:00
Samuel Clay
06a46993d2 Backup mongo + psql. Removing ridiculous FeedUpdateHistory table. 2011-05-18 14:36:31 -04:00
Samuel Clay
0b4527c3f0 Cleaning up emailed stories. 2011-05-08 20:24:37 -04:00
Samuel Clay
de89b527ff Adding python backup for postgresql. This will be much easier to run automatedly. 2011-05-03 11:07:09 -04:00
Samuel Clay
430603d916 Adding pgbouncer configs to fabfile. Also fixing psql backups. 2011-03-20 20:16:28 -04:00
Samuel Clay
bb4e81b278 Fixing a whole lot of feed fetch bugs. 2011-02-15 21:08:40 -05:00