YouTrack Cloud Database Backups
Like the self-hosted version, YouTrack Cloud uses its own in-process database.
With a hosted instance, you cannot change the database location or restore your instance from a backup file. These operations are performed by the JetBrains YouTrack team. In the unlikely event that you need to restore your database from a backup, contact YouTrack support.
For each YouTrack Cloud instance, we automatically create and store the following database backups:
Stores a snapshot of the database for a specific day. When a new backup is created, the backup that is more than one week old is deleted.
One of the daily snapshots that was taken towards the end of the calendar week. When a new backup is created at the end of the week, the oldest weekly backup in the set is deleted.
One of the daily snapshots that was taken towards the end of the calendar month. When a new backup is added to this set at the end of the month, the oldest monthly backup in the set is deleted.
Backups are created for each instance separately. This is an automated process that creates a backup for one instance then moves on to the next. As such, these instances are not backed up at a fixed time each day. If you find yourself in a situation where you want to restore your instance from a backup, the YouTrack support team can tell you which points in time can be restored to.
Database Export
In addition to an automatic backup, which is configured and maintained by the YouTrack team, you can create a backup copy of your database and download the archive to your local machine. Use this option when you want to import the data to a self-hosted YouTrack installation or for troubleshooting.
For more information, see Database Export.
Backup Policy for Inactive Instances
When your YouTrack license or subscription expires, your instance is considered inactive. Inactive instances are scheduled for deletion after a predefined period of time. For details, see Automatic Deletion of Inactive Instances.
When an instance is deleted automatically, we retain a backup copy of the database for up to six months. During this time, we can restore the data to another active instance or send a copy of the latest backup files upon request. After six months, we delete the backup. It is no longer possible to restore the instance using our copy of the database.
Back Up the Database
To protect your installation against ransomware and recover from hardware or software failure, you should back up your YouTrack database on a regular basis. You should always have at least one recent, valid backup copy of your database that you can use to restore your installation.
To access your database management settings, open the Administration menu and select Server Settings > Database Backup .

You can back up YouTrack database right away or use a cron expression to back up the database on a set schedule (see cron expression syntax for reference).
There are several things to take note of regarding YouTrack database settings and controls:
- If YouTrack uses a built-in Hub service, YouTrack automatically switches the database to read-only mode when you start the database backup. This preserves the synchronization between the YouTrack and Hub databases. Users can still access and update issues in YouTrack, but most of the settings on administrative pages are read only. For best results, schedule backups outside of working hours.
- You can’t cancel the database backup once it has started.
- Notifications about the status of the database backup can only be configured for YouTrack application administrators.
Configure Backup Settings
You can modify the default settings of your database backup configuration.
To configure database backup settings:
Requires permissions: Low-level Admin Write
- From the Administration menu, select Server Settings > Database Backup .
- In the Backup Location field, set the location of the backup folder for your server.
- Set the Archive Format to determine whether the backup files are created as a TAR.GZ or ZIP archive. The maximum size of the ZIP backup file is 2Gb. For larger databases, use TAR.GZ archives.
- In the Notify about Failures drop-down list, select the users who receive notification messages about the database backups. To receive notifications for database backup, the user must also have the Low-level Administration permission.
- To configure automated backups, select the Enable regular backup check box. When you enable regular backup, the following settings are displayed:
- Backup Interval — Set the schedule for automatic backups. Select one of the pre-configured intervals or use a cron expression to set up a custom interval (see cron expression syntax for reference).
- Backup Files Rotation — Specify a number of the database backup files to keep. This parameter lets you create a rotation of database backups. Only the specified number of the backups files is kept on your server. To disable the automatic backup rotation, set the number to ‘0’ (zero). In this case, all backups files are kept and must be deleted manually. To delete a backup file manually, select the file in the list and click the trash button.
Restore Your Installation
One of the primary reasons for storing backups is to keep a valid copy of your data that you can use to recover from hardware or software failure. To keep your data safe, we strongly recommend that you enable regular backup of your database and test the process of restoring your installation.
For additional information and instructions, see the page that is relevant for your installation type:
- Restore a Docker Installation
- Restore a ZIP Installation
Как сделать backup youtrack
Запись: and-semakin/mytetra_data/master/base/15209406644mcv0d55y7/text.html на raw.githubusercontent.com
2. Создать необходимую структуру каталогов для хранения данных в вольюмах вне контейнера:
sudo mkdir -p /jetbrains/youtrack/data \
3. Назначить права, чтобы YouTrack мог работать с файлами внутри контейнера под пользователем с uid:gid соответственно 13001:13001:
sudo chmod -R 750 /jetbrains/youtrack
sudo chown -R 13001:13001 /jetbrains/youtrack
4. Запустить контейнер:
docker run -it —name youtrack-server-instance \
docker run -it —name youtrack-server-instance \
Релиз YouTrack 2017.1 и Hub 2017.1
Привет, Хабр! Совсем недавно мы выпустили новую версию системы управления проектами — YouTrack 2017.1 и коннектор инструментов JetBrains для совместной работы — Hub 2017.1.
Hub встроен в YouTrack, так что многие из обновлений доступны в обоих продуктах. Поэтому мы решили написать один пост, в котором расскажем про два релиза.

Начнем с YouTrack. Что нового в YouTrack 2017.1?
- Поиск на основе учета времени.
- Возможность прикреплять файлы к карточкам на Agile-доске.
- Авторизация в LDAP через фиксированный аккаунт.
- Возможность генерации постоянного токена доступа.
- Улучшения в управлении учетными данными пользователя.
- Обновленная вкладка «Доступ».
- Возможность добавлять причину блокировки пользователей.
- Усовершенствованные модули аутентификации OAuth 2.0.
Поиск на основе учета времени
В YouTrack 2017.1 стало возможно делать поиск задач на основании типа выполненной работы, пользователя или временного интервала. Теперь стало проще искать задачи, над которыми работали вы или ваши коллеги, а также составлять необходимые отчеты.
Например, чтобы найти задачи над которыми вы работали на прошлой неделе, используйте запрос: work author: me work date: .

Возможность прикреплять файлы к карточкам на Agile-доске
Теперь можно прикреплять файлы к задачам прямо на доске. Просто перетащите один или несколько файлов на любую из карточек. Можно также скачивать все файлы как zip-архив, изменять их видимость для определенных групп пользователей, прикреплять приватные файлы и редактировать изображения в режиме просмотра карточки на доске.

Авторизация в LDAP через фиксированный аккаунт
Данная опция позволяет вам настроить стандартную двухступенчатую проверку подлинности LDAP. Теперь вы можете использовать специальный фиксированный аккаунт для аутентификации и поиска необходимой информации о пользователе в LDAP.

Возможность генерации постоянного токена доступа
В новой версии также появилась возможность использовать постоянный токен доступа, что упрощает интеграцию YouTrack со сторонними сервисами и делает ее более безопасной. Просто создайте новый токен прямо из своего профиля и используйте его для аутентификации в API-вызовах.

Улучшения в управлении учетными данными
Мы добавили некоторые улучшения в управление учетными данными пользователей. Теперь можно создать себе дополнительные учетные данные и объединить их с уже существующим аккаунтом. Если вы по ошибке удалите свои учетные данные, можно восстановить их прямо из своего профиля. Также если вы случайно создали несколько аккаунтов, теперь вы сами можете объединить их в один.

Обновленная вкладка «Доступ»
В YouTrack 2017.1 мы полностью переосмыслили процесс управления доступом. Теперь можно управлять правами доступа и анализировать выданные права, фильтровать роли, проекты и группы пользователей в одном окне.

Возможность добавлять причину блокировки пользователей
Теперь можно добавить причину блокировки пользователя. Этот текст отображается рядом с именем в списке пользователей и доступен тем, у кого есть права на чтение данного поля.

Усовершенствованные модули аутентификации OAuth 2.0
В YouTrack 2017.1 мы добавили возможность авторизации с помощью Facebook, Yandex, Microsoft Live ID, PayPal, Azure AD, Amazon, a так же любых других сервисов, поддерживающих OAuth 2.0.

Все вышеперечисленные улучшения и обновления административной части YouTrack также доступны в последней версии Hub 2017.1. Расскажем про обновления, которые касаются только тех, кто пользуется Hub как отдельным сервисом.
Быстрая навигация
В Hub 2017.1 появилась быстрая навигация, которая позволяет находить любые категории и подсистемы за считанные секунды. Просто нажмите Ctrl+K или Cmd+K (Mac OS), чтобы открыть окно глобальной навигации, начните печатать название категории, группы или любой другой сущности, куда бы вы хотели попасть, — Hub подскажет вам варианты ответа и тут же вас туда переведет.

Удаление сущности со страницы подробной информации
Раньше для удаления сущности, например, группы пользователей, нужно было найти ее в таблице групп. Теперь кнопка удаления добавлена прямо на страницу группы. Аналогичным образом кнопка добавлена на страницы пользователей, ролей, модулей авторизации и других сущностей.

Резервное копирование по расписанию
В новой версии Hub вы можете задать расписание для автоматического резервного копирования данных. Предварительно выберите настроенный временной интервал или задайте свой с помощью cron expression, и Hub будет сохранять резервные копии данных по заданному расписанию.

Мы также внесли ряд других улучшений — посмотрите полный список выполненных задач, вошедший в релиз Hub 2017.1. Пожалуйста, не забудьте сделать резервную копию данных перед установкой новой версии.
Попробуйте Hub 2017.1 и YouTrack 2017.1 и поделитесь с нами своими впечатлениями. Если вы используете облачный YouTrack, то ваш сервер будет обновлен по расписанию.
Если у вас возникнут вопросы в процессе установки или обновления, обращайтесь к нашей команде технической поддержки, мы будем рады помочь.
Ваша команда JetBrains
The Drive to Develop
- Блог компании JetBrains
- Веб-разработка
- Программирование