Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #162: direct call to TDTopezGemStoneClient>>restoreFromBackupFr…
…omClient:restoreSessionDescription:commitRestoreSessionDescription: when doing devKitCommandLine restore...allow for a restore session description (DataCurator/swordfish) that matches $GEMSTONE/bin/extent0.dbf and a commit restore session description (bozo/theClown) that matches the user/password required by restored system
- Loading branch information
1 parent
f9a37b9
commit c7a432c
Showing
7 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
...vKitRestoreFromBackupAlternateUserCommandLineHandler.class/instance/restoreFromBackup..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
actions | ||
restoreFromBackup: backupPath | ||
self | ||
restoreFromBackup: backupPath | ||
restoreSessionDescription: self sessionDescription | ||
commitRestoreSessionDescription: super sessionDescription |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
....package/GsDevKitRestoreFromBackupCommandLineHandler.class/instance/restoreFromBackup..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
actions | ||
restoreFromBackup: backupPath | ||
self | ||
restoreFromBackup: backupPath | ||
restoreSessionDescription: self sessionDescription | ||
commitRestoreSessionDescription: self sessionDescription |
11 changes: 11 additions & 0 deletions
11
.../instance/restoreFromBackup.restoreSessionDescription.commitRestoreSessionDescription..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
actions | ||
restoreFromBackup: backupPath restoreSessionDescription: restoreSessionDescription commitRestoreSessionDescription: commitRestoreSessionDescription | ||
| shell | | ||
shell := TDShell sessionDescription: restoreSessionDescription. | ||
shell batchMode: true. | ||
[ | ||
shell topezClient | ||
restoreFromBackupFromClient: backupPath | ||
restoreSessionDescription: restoreSessionDescription | ||
commitRestoreSessionDescription: commitRestoreSessionDescription ] | ||
ensure: [ shell logout ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
shared/repos/todeClient/GsDevKit-Tode-CommandLine.package/monticello.meta/version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters