![]() You should now see your restored issues.Leave all the other files in place and untouched.Copy over your blob directory into the existing blob directory.Remove the existing 00000000000.xd file from your YouTrack database directory (your file name maybe slightly different).YouTrack 6.x is vastly different to 5.x and does not use the same structure for the database at all. Also the teamsysdata directory they mention in this article referrd specifically to YouTrack 5.x yet this article was written in 2012 and is also part of the 6.x documentation. DO NOT DO THIS!! If you delete all the files in there as suggested and then dump the contents of your backup ZIP into the directory, it doesn’t work. In step three is says – Clean ALL contents of the database directory. So mistake number one, no mention of zip files. zip files, this is configurable in YouTrack but I cannot find anything on the JetBrains site that details the process for zips so I can only assume that either configuration will result in a file that contains the same data. The instructions I’m about to write below work for 5.x and 6.x (I’ve tested these on both versions and they work).įirstly the backups I have generated from YouTrack are not tarbals, they are. Extract the downloaded backup file to your database location.You can change default database location, for more details please refer to the Changing Database Location page. By default, the database is located in the teamsysdata folder in the home directory of a user account, which starts YouTrack. Clean all content of the database location directory.Download a backup tar.gz file via web UI from the Administration > Database Backup page or locate a needed backup file directly in the specified backup folder on the YouTrack server machine.To restore a database from a backup, proceed as follows: For successful restoring, version of the backed up database should be the same or older than the version of YouTrack, to which you restore this database.
0 Comments
Leave a Reply. |