Backup db file

Issue #140 resolved
Former user created an issue

Originally reported on Google Code with ID 140

How about adding a small link beside the names of the databases to let users backup
db files?

  [rw] mydb1.db3 ()
  [rw] mydb2.db3 ()

Reported by teryaki1963 on 2012-11-10 23:26:15

Comments (4)

  1. Christopher Kramer
    Yes, might be useful. I am just thinking about where to add it. I see these possibilities.
    
    - db-list (like you proposed)
    - on the structure-tab of the DB
    - as a third option on the export-tab (hmm. it's not really an export. But users or
    traditional dbms might think using a dump is the best option as a backup and might
    not even think about just downloading the db-file.)
    - as another tab?
    
    Maybe we could even add it at multiple places.
    

    Reported by crazy4chrissi on 2012-11-11 17:56:09 - Status changed: Accepted

  2. Former user Account Deleted
    Yah its very useful. I always download after saving new data.
    - db_list its a handy way instead of clicking db name than export_tab or any other
    tab than download. This way i can download all databases directly one after another.
    - in export_tab is also good to call attention, that there is a better way to backup
    db
    
    i think these 2 options are enough. Its not worth to make a new tab for a small link
    
    i'll add the first option cause i already made in my copy
    If it bothers you, just move it away
    

    Reported by teryaki1963 on 2012-11-11 19:37:51

  3. Christopher Kramer
    Doesn't bother me. I like it.
    
    I just added a hint on the export tab with another link.
    
    And added htmlencode() around the path in the link. E.g. "file &a bla" is a valid (Windows)-filename
    but not valid HTML because of &a. We need to encode everything ("file &a bla") that
    might contain &<> and so on.
    

    Reported by crazy4chrissi on 2012-11-13 22:57:33 - Status changed: Fixed

  4. Log in to comment