home *** CD-ROM | disk | FTP | other *** search
-
- GravityBackup.exe is a utility to save and restore a Gravity
- database and registry settings.
-
- How to use GravityBackup
- ------------------------
-
- To back up your Gravity database and registry settings, start
- GravityBackup and select the Gravity->Backup menu item. A
- dialog box will prompt you for the backup file's name. Enter
- the name of the file and hit OK.
-
- To restore a backup file, start GravityBackup and select the
- Gravity->Restore menu item. A dialog box will ask you for the
- name of the backup file. Enter the file's name and hit OK.
-
- Note that in this version of GravityBackup.exe, you should
- only restore a Gravity database to the same directory that you
- originally backed it up from. For more information on this,
- see the section below titled "Restoring to a different
- directory".
-
- Using command-line parameters
- -----------------------------
-
- -b<filename>
-
- If the -b command-line parameter is used, GravityBackup will
- back up the Gravity database to the specified backup file and
- exit. BackupGravity will overwrite the specified file if it
- exists. BackupGravity returns a status code of 0 for success
- and non-0 for error.
-
- -r<filename>
-
- If the -r command-line parameter is used, GravityBackup will
- restore the Gravity database from the specified backup file and
- exit. BackupGravity returns a status code of 0 for success
- and non-0 for error.
-
- Supported Gravity Versions
- --------------------------
-
- This is version 1.1 of GravityBackup. It supports versions 1.1
- through 2.1 of Gravity. Backup files generated by this program
- should be restored to the same version of Gravity that they were
- generated from.
-
- What does GravityBackup save?
- -----------------------------
-
- A backup file generated by GravityBackup.exe contains the
- Gravity database located in the "newsdb" subdirectory of the
- main Gravity directory. It also contains the Gravity settings
- contained in the registry under these keys:
-
- HKEY_CURRENT_USER/Software/MicroPlanet/Gravity
- HKEY_CURRENT_USER/Software/MicroPlanet/SSCE
- HKEY_CURRENT_USER/Software/MicroPlanet/Image Gallery
- HKEY_LOCAL_MACHINE/Software/MicroPlanet/Gravity
- HKEY_LOCAL_MACHINE/Software/MicroPlanet/SSCE
-
- HKEY_CURRENT_USER/Software/Anawave/Gravity
- HKEY_CURRENT_USER/Software/Anawave/SSCE
- HKEY_CURRENT_USER/Software/Anawave/Image Gallery
- HKEY_LOCAL_MACHINE/Software/Anawave/Gravity
- HKEY_LOCAL_MACHINE/Software/Anawave/SSCE
-
- To support Gravity versions 2.0 and 1.1, gravitybackup.exe backs
- up the Anawave registry keys, and it backs up the MicroPlanet
- registry keys in order to handle Gravity versions 2.1 and above.
-
- User Privileges required under Windows NT
- -----------------------------------------
-
- Under Windows NT, GravityBackup.exe cannot save/restore the
- registry settings unless the current user has the "Back up files
- and directories" and "Restore files and directories" user rights.
- To make sure you have these rights, you can use the User Manager
- administrator utility.
-
- Restoring to a different directory
- ----------------------------------
-
- In this version of GravityBackup.exe, you should only restore a
- Gravity database to the same directory that you originally backed
- it up from.
-
- The program will allow you to restore a backup file that was
- created from a Gravity installation at a different location than
- your current Gravity installation. If you do this, the backed-up
- database will be restored into your current Gravity database
- location, but the Gravity registry settings will be the old
- settings (i.e., they will point to the old database directory),
- so you will have to fix them using the regedit.exe utility.
- These settings are in the following registry values:
-
- HKEY_CURRENT_USER/Software/Anawave/Gravity/Storage/DatabasePath
- HKEY_CURRENT_USER/Software/Anawave/Gravity/Servers/Server1/DatabasePath
- HKEY_CURRENT_USER/Software/Anawave/Gravity/Servers/Server2/DatabasePath
- HKEY_CURRENT_USER/Software/Anawave/Gravity/Servers/Server3/DatabasePath
- etc...
-
- You may also need to change some other paths stored under these keys:
-
- HKEY_CURRENT_USER/Software/Anawave/Gravity/Dirs
- HKEY_CURRENT_USER/Software/Anawave/Gravity/Servers/Server1
- HKEY_CURRENT_USER/Software/Anawave/Gravity/Servers/Server2
- HKEY_CURRENT_USER/Software/Anawave/Gravity/Servers/Server3
- etc...
-
- Due to the complexity of this procedure, we recommend only
- restoring a database that was backed up from a Gravity
- installation at the same location as your current Gravity
- installation.
-
- Disk space warnings
- -------------------
-
- In some situations, the program reports an incorrect value for
- the hard disk space remaining. For example, this happens on
- versions of Windows 95 before OSR2 if the hard disk is larger than
- 2GB. However, the program will allow the user to continue with the
- backup or restore operation even if it thinks there isn't enough
- disk space.
-
- Using the "remove existing DB" setting
- --------------------------------------
-
- In the options dialog, there is a setting to remove the existing
- database and registry settings before each restore operation. This
- option defaults to "off", but in some situations, it is necessary
- to enable it so that the restored database and registry settings
- are not combined with the existing ones.
-
- When a Gravity database and its registry settings are restored
- from a backup file, they are written on top of whatever exists in
- the database directory and registry keys. In some situations, it
- is necessary to remove the existing database and registry
- information before restoring. For example, if the existing
- registry settings have settings for a news server that doesn't
- exist in the restored database, then after the database is restored,
- that news server will show up in Gravity, and selecting it will
- cause a crash.
-