Integrated Application Platform › Forums › General › How to upgrade app to new release of suneido? › Reply To: How to upgrade app to new release of suneido?
WARNING: Make sure you have backup copies before doing this. It is easy to get mixed up and overwrite things.
There are two main approaches. If your app does not have many libraries and tables, then you can individually dump them from the old database, copy them to the new directory, and load them into the new one.
Or you can go the other way. Individually dump stdlib, suneidoc, and imagebook from the new databse. Dump your entire old database and copy it to the new directory. Load the old database with the new version of suneido. Then load the new stdlib, suneidoc, and imagebook into the converted database.
To dump and load an entire database (suneido.db <=> database.su)
> start /w suneido -dump
> start /w suneido -load
To dump and load individual tables: (to/from
> start /w suneido -dump > start /w suneido -load This is from the command line, not inside suneido. suneido.db and the .su file must be in the same directory. You cannot specify a path on the tablename.