Closed (outdated)
Project:
Demonstration site (Sandbox / Snapshot)
Version:
6.x-1.1
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Aug 2008 at 15:16 UTC
Updated:
23 Dec 2017 at 11:40 UTC
Jump to comment: Most recent
Comments
Comment #1
smk-ka commentedWould a special Admin Menu entry leveraging hook_admin_menu() qualify as a solution?
Comment #2
sunCould work. However, we don't really need hook_admin_menu() for this. Simple menu items on admin/demo/dump and admin/demo/reset would be sufficient.
More important is whether we want to overwrite the currently configured default snapshot, or, create new snapshots by using a pre-defined filename pattern and appending a counter or whatever. Personally, I'd say that overwriting/resetting always the same snapshot is not that valuable... Maybe we can also provide both ways?
Comment #3
arhak commented+1
Comment #4
pkej commentedIt would be nice to have an option to increment the snapshot number for each time; thus with a cron run you could have backup of the database at intervals.
Comment #5
gaurav.kapoor commented