Commit graph

48 commits

Author SHA1 Message Date
Sahil Khan
94bfc16bfb fix: declare site_config_backup_path variable before referencing 2020-06-29 19:30:43 +05:30
Revant Nandgaonkar
ec881a4977 fix: remove unused variable 2020-06-27 20:47:53 +05:30
Revant Nandgaonkar
1bfa56cd0c feat: backup and restore postgres site 2020-06-27 16:01:30 +05:30
Revant Nandgaonkar
86ee3bae1f fix: site_config backup file naming
naming matches other names
{time_stamp}-{site_slug}-{file_name}
2020-06-24 12:26:46 +05:30
Sahil Khan
912a811ac1 chore: consistent naming for site_config backups 2020-06-23 14:29:16 +05:30
Chinmay Pai
3a6a03f4c9
chore: use common timestamp 2020-06-22 19:54:24 +05:30
Sahil Khan
2a303d0ffd feat: take site_config backup
Co-authored-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-06-22 17:00:03 +05:30
Gavin D'souza
fd9fd7c940 fix: backwards compatible verbose flag 2020-05-22 12:12:14 +05:30
Gavin D'souza
716ae57b29 style: sort imports and spacing 2020-05-20 18:01:32 +05:30
Gavin D'souza
931e35b554 fix: handle verbose kwarg in BackupGenerator 2020-05-20 17:59:08 +05:30
Gavin D'souza
3fcc15685a fix: dont show any output unless verbose set 2020-05-14 13:13:29 +05:30
Suraj Shetty
6efce72a3a fix(backup): Use fallback dbport if no port is set for a site 2020-04-28 09:21:48 +05:30
Fumin
580fa4a144
fix: backups on mariadb listening on other ports
Previously, databases not listening on the default 3306 port are not being backup, due to port information not passed to mysqldump.
2020-04-26 04:59:21 +08:00
Saurabh
f1ba214b0b feat: merge gzip and mysqldump to speedup backup (#8524) 2019-10-21 15:24:26 +05:30
Aditya Hase
6b72faf44f style: Linting fixes (#6809)
* style: Remove unused imports

* style: Remove unused local variables
2019-01-23 16:39:55 +05:30
Saurabh
fbf66336fb [hotfix][urgent] fix backup compression (#5418) 2018-04-09 15:18:55 +05:30
Ameya Shenoy
a8f9a652e1 dropbox backup not ablt to find filepath (#5406) 2018-04-07 19:55:01 +05:30
Saurabh
4e98f1689e [fix] breakdown backup process into two parts #5365 (#5390) 2018-04-05 18:24:19 +05:30
Rushabh Mehta
80679f1b2f Merge pull request #4135 from mbauskar/backup
[minor] change backup filename format to DDMMYY_HHMMSS_SITE_DATABASE.*
2017-09-20 11:22:00 +05:30
Rushabh Mehta
16148abc9b Update backups.py 2017-09-20 11:21:40 +05:30
Nabin Hait
44277a35fb Delete backups if path exists 2017-09-18 15:41:00 +05:30
mbauskar
bcc861ad28 [minor] change backup filename format to DDMMYY_HHMMSS_SITE_DATABASE.* 2017-09-15 15:32:11 +05:30
Saurabh
91415a6508 Download attachments backup (#3663)
* [enhance] provision to download attachments backup

* [fix] enqueue files backup job if job not in queue
2017-07-12 12:59:03 +05:30
tundebabzy
7b41d7e5eb Python 3 compatible print statements (#3199)
* changes print statements in file to python 3 compatible style using `__future__`

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* changes deprecated md5 module to hashlib

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements
2017-05-01 12:34:29 +05:30
Rushabh Mehta
4df583b1cf [fix] email, deprecate frappe.email.sendmail, use frappe.sendmail 2016-11-18 11:32:18 +05:30
Rushabh Mehta
85f24c694c [minor] keep backups 24 hours old instead of 48 hours 2016-09-21 11:26:19 +05:30
Anand Doshi
b01edff59a [minor] backup naming to use datetime_random_string_database.sql instead of date_random_number_database.sql 2016-07-01 15:34:28 +05:30
Anand Doshi
8a5addaae7 [feature] Private files. Fixes #927
- Option during upload + all new incoming email files will be private
- Paired with @rmehta
2015-12-09 14:02:14 +05:30
Pratik Vyas
855147f155 bench changes 2015-11-02 11:47:55 -08:00
Rushabh Mehta
20a332bf86 [enhancement] uninstall-app, list-apps, fixes #602 2015-07-31 11:49:33 +05:30
Pratik Vyas
7226d640f5 Print filenames after backup 2015-06-05 11:40:48 +05:30
Rushabh Mehta
bedf6602f2 [backups] keep for 48 hours 2015-05-15 10:38:22 +05:30
Pratik Vyas
d86eb386e5 add cli backup 2015-03-04 10:53:52 +05:30
Anand Doshi
2995f02f3b Web Notes to Frappe, better alerts, css fixes, fixed splash 2015-03-03 15:09:34 +05:30
Rushabh Mehta
4e9f796298 [cli] added --remove_from_installed_apps 2014-09-29 12:21:13 +05:30
Rushabh Mehta
7dd7944590 [refactor] frappe.utils.email_lib > frappe.email 2014-09-29 12:21:12 +05:30
Rushabh Mehta
f48b9809a7 [fix] [backup] email link to md 2014-09-01 11:52:36 +05:30
Anand Doshi
edde35f10b Fixed Download Backup 2014-06-07 01:12:48 +05:30
Pratik Vyas
aa90e2a049 optimize mysqldump 2014-05-14 23:01:08 +05:30
Rushabh Mehta
ea55d77200 added validation for update_after_submit #270 2014-04-15 15:11:00 +05:30
Rushabh Mehta
246a2a84fb fixed strings for translation 2014-04-15 14:40:00 +05:30
Pratik Vyas
c08e9cb888 fix backups (broke due to lazy db connect) 2014-03-27 03:19:09 +05:30
Anand Doshi
1b496fa712 Raise Forbidden if backup download is not allowed, verbose is default in cli.py 2014-03-07 14:01:34 +05:30
Pratik Vyas
7668316916 only system manager can download backups 2014-03-07 00:11:20 +05:30
Anand Doshi
edbadc18b2 Changed frappe.conn to frappe.db 2014-02-26 12:35:02 +05:30
Rushabh Mehta
d8caa061d1 sync statics spooks 2014-02-24 18:57:59 +05:30
Anand Doshi
d594822d9c -webnotes +frappe 2014-02-14 17:44:19 +05:30
Rushabh Mehta
024ddfcc5b -webnotes +frappe 💥 2014-02-14 14:55:11 +05:30
Renamed from webnotes/utils/backups.py (Browse further)