4.5. Using the Red Hat Satellite Final Archive Tool (spacewalk-final-archive)
The
spacewalk-final-archive
is used to generate a final archive of your Red Hat Satellite 5 server before decomissioning it. The command generates an archive file found at /tmp/spacewalk-final/final-archive.tar.bz2
. This archive includes:
- A backup of the database stored in the
archive/db_backup
directory. This backup is created with thedb-control
command. - A copy of all relevant system files stored in the
archive/debug
directory. This backup is created with thespacewalk-debug
command. - A final copy of all reports in CSV format stored in the
archive/reports
directory. This backup is created with thespacewalk-report
command. - Transition data in CSV format for use with Red Hat Satellite 6 stored in the
archive/transition
directory. This backup is created with thespacewalk-export
command.
To start a full archive process, run the command on its own:
[root@satellite57 ~]# spacewalk-final-archive
Use the
-h
option to see other options to restrict certain content from the archive or to change the archive export directory.