Project

General

Profile

Bug #1399

updating the DB backups plugin to round it up

Added by cpg about 6 years ago. Updated about 6 years ago.

Status:
Feedback
Priority:
Medium
Assignee:
Target version:
-
Start date:
06/05/2014
Due date:
% Done:

0%


Description

here are the things we should change:

  • the plugin should probably be best called db-backups, for consistency (but this is not critical)
  • the app hosting the plugin should install cleanly, instead of "This app failed to install :-( We REALLY HATE that." even cleaning the DB causes this
  • the ui needs to be updated a little bit to serve as a good example to plugin developers

Here is some UI feedback (sorry for all the detail):

https://dl.dropboxusercontent.com/u/364883/Screenshots/db-backups.png

0 - the url should probably be /tab/apps/db-backups (or dbbackups) -- not shown in the image
1 - the title of the subtab should be something like "DB Backups"
2 - the whole table needs to be separated from the submenus. i think maybe there is some simple div missing around this area (see other areas in subtabs)
3 - the "App Db" column title should be "Database" and the app name in the column should be somewhat separated from the edge of the table and should have the name of the app not the DNS name ... e.g. "Jinzora", not "jinzora" or "Zoneminder", not "zm"
4 - put "-" instead of '"Not Backed up yet"' (no need to have locales for "-"). Instead of a date, it would be best to have "10 minutes ago"
5 - the title of the column should be just "Backed Up" (note the capitalization)
6 - this column could be combined with the middle column, e.g. with the date (or "last updated") followed by an icon to download, e.g. an arrow pointing down
7 - this column could be just an icon (combined with the previous column ... as noted in #6)

ideally the downloaded file should have the following format: <timestamp>-foo.bz2, example 140603043622-videos5.sql.bz2 ... <YYMMDDHHMMSS>-<db>.sql.bz2 ... two digits for year, e.g.

Time.now.strftime("%y%m%d%H%M%S-#{name}.sql.bz2")

i do wonder if zip would be the best format, for maximum compatibility for windows users. we can add a package dependency of zip for the app.

History

#1 Updated by cpg about 6 years ago

  • Description updated (diff)

#2 Updated by cpg about 6 years ago

great progress!

i think we need some tweaks:

  • label "DB Backups"
  • put the icon on a third column
  • if there has not been a backup, put a space or something, not "-" ... does not look as well as i thought
  • add protection against bad DBs with a rescue, just in case with "(unknown apps)"

#3 Updated by agmps17 about 6 years ago

  • Status changed from Assigned to Feedback

#4 Updated by cpg about 6 years ago

we need to beef up the app, with description(s), screenshot, logo, etc.

#5 Updated by cpg about 6 years ago

  • Assignee changed from agmps17 to cpg

Also available in: Atom