Changes between Version 6 and Version 7 of NifDB
- Timestamp:
- Apr 17, 2012, 10:13:31 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NifDB
v6 v7 50 50 % and file operations (e.g. adding or dropping a file). 51 51 ri:backup(). 52 53 % After that the output will be54 52 {ok, backup.1} 55 53 % This backup will be created in the directory of the graph … … 73 71 ri:ls_backups(). 74 72 75 % Undo all changes made since the last backup. So it will load 'backup.2'. 76 ri:undo(). 77 78 % You can restore a certain backup. 79 % Here you can specify the backup as in ri:backup_info/1. 73 % You can restore a certain backup by specifying it as in ri:backup_info/1. 80 74 ri:restore(1). 81 75 … … 123 117 ri:delete_graph(some_other_name). 124 118 125 % Or you can just delete all graphs.119 % ... or you can just delete all graphs. 126 120 % After the deletion, it creates the default refactorerl_0 graph. 127 121 ri:delete_all_graphs().