Skip to content

Commit

Permalink
fix(backup): make auto backup logs verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
gavindsouza committed Apr 16, 2020
1 parent 90f951c commit f28c376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def setup_backups(bench_path='.'):
if bench.FRAPPE_VERSION == 4:
backup_command = "cd {sites_dir} && {frappe} --backup all".format(frappe=get_frappe(bench_path=bench_path),)
else:
backup_command = "cd {bench_dir} && {bench} --site all backup".format(bench_dir=bench_dir, bench=sys.argv[0])
backup_command = "cd {bench_dir} && {bench} --verbose --site all backup".format(bench_dir=bench_dir, bench=sys.argv[0])

job_command = "{backup_command} >> {logfile} 2>&1".format(backup_command=backup_command, logfile=logfile)

Expand Down

0 comments on commit f28c376

Please sign in to comment.