Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ec67a125
Commit
ec67a125
authored
Sep 20, 2021
by
Katrin Leinweber
Committed by
Nick Gaskill
Sep 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify import-from-template docs content
parent
1920bf2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
doc/user/project/settings/import_export.md
doc/user/project/settings/import_export.md
+7
-2
No files found.
doc/user/project/settings/import_export.md
View file @
ec67a125
...
@@ -139,6 +139,11 @@ The following items are **not** exported:
...
@@ -139,6 +139,11 @@ The following items are **not** exported:
-
Any encrypted tokens
-
Any encrypted tokens
-
Merge Request Approvers
-
Merge Request Approvers
These content rules also apply to creating projects from templates on the
[
group
](
../../group/custom_project_templates.md
)
or
[
instance
](
../../admin_area/custom_project_templates.md
)
levels, because the same export and import mechanisms are used.
NOTE:
NOTE:
For more details on the specific data persisted in a project export, see the
For more details on the specific data persisted in a project export, see the
[
`import_export.yml`
](
https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/import_export/project/import_export.yml
)
file.
[
`import_export.yml`
](
https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/import_export/project/import_export.yml
)
file.
...
@@ -255,13 +260,13 @@ reduce the repository size for another import attempt.
...
@@ -255,13 +260,13 @@ reduce the repository size for another import attempt.
git reflog expire --expire=now --all
git reflog expire --expire=now --all
git gc --prune=now --aggressive
git gc --prune=now --aggressive
# Prepare recreating an importable file
# Prepare recreating an importable file
git bundle create ../project.bundle smaller-tmp-main
git bundle create ../project.bundle smaller-tmp-main
cd ..
cd ..
mv project/ ../"$EXPORT"-project
mv project/ ../"$EXPORT"-project
cd ..
cd ..
# Recreate an importable file
# Recreate an importable file
tar -czf "$EXPORT"-smaller.tar.gz --directory="$EXPORT"/ .
tar -czf "$EXPORT"-smaller.tar.gz --directory="$EXPORT"/ .
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment