You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 1, 2024. It is now read-only.
Closes#405
Now it's possible to backup stopped instance by `backup_instance_dirs` step.
This makes it possible to transfer instances from one host to another.
Also, now it's possible to restore instances from local backup by `restore` step with `cartridge_restore_backup_path_local` variable.
@@ -591,11 +592,32 @@ Input variables from config:
591
592
(`.tarantool.cookie` will be kept independently of this variable);
592
593
it's possible to use bash patterns, e.g. `*.control`.
593
594
- `cartridge_restore_backup_path`- path to the instance backup archive on the remote machine;
595
+
- `cartridge_restore_backup_path_local`- path to the instance backup archive on the local machine;
594
596
- `cartridge_remote_backups_dir`- directory with backups on the remote;
595
597
- `cartridge_force_restore`- flag indicates that conflicting files should be overwritten;
596
598
- `cartridge_allow_alien_backup`- flag indicates that backup of instance with another name can be used;
597
599
- `cartridge_skip_cleanup_on_restore`- flag indicates that cleanup before restoring should be skipped.
598
600
601
+
### Step `backup_instance_dirs`
602
+
603
+
Create a [backup](/doc/backups.md) archive for each **stopped** instance and fetch it on the local machine.
604
+
605
+
Input variables from config:
606
+
607
+
- `cartridge_remote_backups_dir`- directory to store backups on the remote;
608
+
- `cartridge_fetch_backups`- flag indicates that backups should be fetched the local machine;
609
+
- `cartridge_fetch_backups_dir`- a directory on the local machine where backups should be fetched if `cartridge_fetch_backups` is `true`. This path is relative to the playbook path;
610
+
- `cartridge_app_user`- user which will own the links;
611
+
- `cartridge_app_group`- group which will own the links;
612
+
- `stateboard`- indicates that the instance is a stateboard.
613
+
614
+
Output facts:
615
+
616
+
- `instance_backup_files`- list of instance files to back up;
617
+
- `backup_files_from_machine`- list of files to back up for all instances on the same machine as a current one;
618
+
- `backup_archive_path`- path to the instance backup archive on the remote machine;
619
+
- `fetched_backup_archive_path`- path to the fetched backup file (is set only if `cartridge_fetch_backups` is `true`).
0 commit comments