gw_fct_admin_manage_backup - Giswater/giswater_dbmodel GitHub Wiki
Function to manage backups for specific table
SELECT gw_fct_admin_manage_backup ($${"data":{
"action":"CREATE", "backupName":"test", "table":"config_form_fields"}}$$)
SELECT gw_fct_admin_manage_backup ($${"data":{
"action":"RESTORE", "backupName":"test", "newBackupName":"test2", "table":"config_form_fields"}}$$)
{"message":{"level":"0", "text":"BACKUP <<test>> for config_form_fields table sucessfully CREATED.
Rows affected: 5248."}}