기술 자료

​
​

Development

User Acquisition

Monetization

산업 분야

Unity Version Control

DevOps

On-prem

Gluon

Editor plug-in

Open Unity Dashboard

Unity Version Control

이 페이지는 선택한 언어로 제공되지 않습니다.
​
​
Unity Version Control
  • Overview
  • Cloud Repositories organization update
  • Installation
  • Use UVCS with the Unity Editor
  • Unity Version Control plugins
  • Concepts
  • Tutorials
  • On-Prem
    • Server configuration
    • Client configuration
    • Manage On-Prem licenses
    • Stop, start, or restart server
    • Server administration console
    • Configure UVCS
    • Use server read-only mode
    • Back up and restore data
    • Archive revisions
    • Force client upgrades
    • SSL certificates
    • GitServer
    • Use SAML authentication with Microsoft Entra
  • Gluon
  • CLI and shortcut references
  • Release Notes
  1. Unity Version Control (previously Plastic SCM)

Archive revisions

Archive revisions, and access and restore archived revisions.
읽는 시간 3분
최근 업데이트: 10달 전

Set up a separate disk device and store large revisions there so they don't take up unnecessary space in the database.
Some files, such as third-party compiled tools, programs, binaries, and other large files, rarely change and you rarely access them in a production environment. It costs disk space and time to store and retrieve these revisions from the database, so you can archive these files instead. Then, when you need to access those revisions, Unity Version Control (UVCS) searches for them in the external storage to retrieve them.

Archive a revision

참고
The repository owner needs to execute the
archive
command for the revisions to archive correctly, otherwise UVCS continues to use the database to access the revisions.
To archive a revision, use the
cm archive
command, for example:
cm archive C:\mybigfile.tar#br:/main#0 -c="big file of libraries" -f="/home/plastic/bigfileTARrev0"
  • The command archives revision 0 of the main branch of the
    mybigfile.tar
    item. It creates several chunks of the revision, each one of which contains a part of the revision content.
  • UVCS creates the archive files in
    /home/plastic/bigfileTARrev0
    .
  • The
    -f
    parameter is a prefix for the archive files that you can use as a destination path for the archives. If you omit the
    -f
    switch, UVCS creates the archived files in the current directory.
To archive several revisions, specify them one after the other in the same command. For more information, use the
cm archive --help
command.

Access archived revisions

To access data stored in an external location, you need to create an
externaldata.conf
file. This file contains a path per line, with each path as the locations of the stored revisions. The following is an example of an
externaldata.conf
file:
E:\archivesOfRepository1D:\mybigfiles\revisionsOfBigFileTARF:\revisionsOfThe2_9Release
There are two locations that you can create the
externaldata.conf
file:
  • If you place the configuration file in the UVCS server location, you allow every user to automatically access those revisions as long as the external storage area is available.
  • If you place the configuration file in the UVCS client folder or in the user local directory, you can supply the archived contents to users individually and they can configure
    externaldata.conf
    on the client side.

Configuration file in the GUI

If a user tries to access any stored revision from the GUI and there is no
externaldata.conf
, a dialog appears to ask for the location of the data. After you identify the first chunk of the revision, UVCS can find the other chunks of the revision. UVCS can then create an
externaldata.conf
file in the local user directory, and from that moment on, UVCS tries to access the archived revisions from that location. If UVCS can't access the data at a certain point in time, it shows the same dialog again. If you identify a new location, UVCS adds this location to the existing
externaldata.conf
file.

Configuration file in the CLI

From the CLI (command-line interface) an externaldata.conf needs to always be available. If not, the command line asks you for an
externaldata.conf
to look for the revisions.

Restore archived revisions

You can use the command line to restore archived revisions back into the database, so you can safely delete the archives. Then, UVCS returns to using the database to retrieve the data.
To restore archived revisions, use the
--restore
command, for example:
cm archive C:\mybigfile.tar#br:/main#0 --restore
The example restores revision
0
of the main branch of the file
mybigfile.tar
into the database. UVCS no longer uses the archives of that revision.

Copyright © 2026 Unity Technologies
법률 정보개인정보 처리방침쿠키Documentation Terms of Use개인 정보 판매 또는 공유 금지개인정보 보호 선택(쿠키 설정)

'Unity', Unity 로고 및 기타 Unity 상표는 미국 및 기타 지역 내 Unity Technologies 또는 그 계열사의 상표 또는 등록상표입니다(자세한 내용은 여기에서 확인하세요). 기타 명칭 또는 브랜드는 해당 소유자의 상표입니다.

일부 페이지는 편의를 위해 기계 번역되었으며 부정확한 내용이 있을 수 있습니다. 정보가 상충되는 경우, 영어 버전을 우선으로 참조하세요.

  • 보고 있는 페이지
    • Archive a revision

    • Access archived revisions

      • Configuration file in the GUI

      • Configuration file in the CLI

    • Restore archived revisions


이 페이지의 문제 보고