Backing up
We have provided a command line tool to back up an asset server. The tool should be run from an administrator account on the machine running the asset server. Replace BACKUP_LOCATION with the path name you want the backup tool to place the backups:
Mac OS X sudo /Library/UnityAssetServer/bin/as_backup BACKUP_LOCATION
Linux sudo /opt/unity_asset_server/bin/as_backup BACKUP_LOCATION
Windows "%ProgramFiles%\Unity\AssetServer\bin\as_backup.cmd" BACKUP_LOCATION
as_backup will create a directory at BACKUP_LOCATION containing one or more files per project plus files containing information about each project and a backup of all users and their passwords.
Restoring a Backup
To restore an Asset Server backup produced with as_backup, first perform a clean installation of the Asset Server without any projects created. (The restore procedure will refuse to overwrite already existing projects with the same name.)
Then run the provided backup restoration tool, as_restore pointing it to the location of a backup created with as_backup:
Mac OS X sudo /Library/UnityAssetServer/bin/as_restore BACKUP_LOCATION
Linux sudo /opt/unity_asset_server/bin/as_restore BACKUP_LOCATION
Windows "%ProgramFiles%\Unity\AssetServer\bin\as_restore.cmd" BACKUP_LOCATION
We have provided a command line tool to back up an asset server. The tool should be run from an administrator account on the machine running the asset server. Replace BACKUP_LOCATION with the path name you want the backup tool to place the backups:
Mac OS X sudo /Library/UnityAssetServer/bin/as_backup BACKUP_LOCATION
Linux sudo /opt/unity_asset_server/bin/as_backup BACKUP_LOCATION
Windows "%ProgramFiles%\Unity\AssetServer\bin\as_backup.cmd" BACKUP_LOCATION
as_backup will create a directory at BACKUP_LOCATION containing one or more files per project plus files containing information about each project and a backup of all users and their passwords.
Restoring a Backup
To restore an Asset Server backup produced with as_backup, first perform a clean installation of the Asset Server without any projects created. (The restore procedure will refuse to overwrite already existing projects with the same name.)
Then run the provided backup restoration tool, as_restore pointing it to the location of a backup created with as_backup:
Mac OS X sudo /Library/UnityAssetServer/bin/as_restore BACKUP_LOCATION
Linux sudo /opt/unity_asset_server/bin/as_restore BACKUP_LOCATION
Windows "%ProgramFiles%\Unity\AssetServer\bin\as_restore.cmd" BACKUP_LOCATION
Comments
Post a Comment