mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-05 17:28:31 +02:00
Update data_migration.md
This commit is contained in:
parent
1b5d7a6248
commit
8a168c0cc3
1 changed files with 12 additions and 1 deletions
|
@ -155,7 +155,18 @@ From this directory, run the following command:
|
|||
```
|
||||
|
||||
NOTE: This will look for all files in /tmp with the .txt extension, but this can
|
||||
be changed if you are dealing with different extensions.
|
||||
be changed if you are dealing with different extensions. For instance, a .tar.gz could be expressed
|
||||
as `--file_extension tar.gz`.
|
||||
|
||||
If you are using a tar.gz file, you will need to perform one additional step to extract it.
|
||||
Run the following command from the same directory:
|
||||
```shell
|
||||
tar -xvf migrationdata/{FILE_NAME}.tar.gz -C migrationdata/ --strip-components=1
|
||||
```
|
||||
|
||||
*FILE_NAME* - Name of the desired file, ex: exportdata
|
||||
|
||||
|
||||
|
||||
#### Manual method
|
||||
If the `cat_files_into_getgov.py` script isn't working, follow these steps instead.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue