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
I need to have another backup copies in different S3. I marked full backup with permanent and try to copy with single command wal-g copy -b base_000000010000000300000069 -f .walg.json -t dst.json
Command output:
INFO: 2023/12/14 11:35:33.568916 Handle backupname 'base_000000010000000300000069'.
INFO: 2023/12/14 11:35:33.630642 Collecting backup files...
INFO: 2023/12/14 11:35:33.994279 Copied 'basebackups_005/base_000000010000000300000069/metadata.json' from folder '' to 'basebackups_005/base_000000010000000300000069/metadata.json' in fodler ''.
INFO: 2023/12/14 11:35:33.994525 Copied 'basebackups_005/base_000000010000000300000069_backup_stop_sentinel.json' from folder '' to 'basebackups_005/base_000000010000000300000069_backup_stop_sentinel.json' in fodler ''.
INFO: 2023/12/14 11:35:34.038522 Copied 'basebackups_005/base_000000010000000300000069/tar_partitions/pg_control.tar.br' from folder '' to 'basebackups_005/base_000000010000000300000069/tar_partitions/pg_control.tar.br' in fodler ''.
INFO: 2023/12/14 11:35:34.052356 Copied 'basebackups_005/base_000000010000000300000069/tar_partitions/part_007.tar.br' from folder '' to 'basebackups_005/base_000000010000000300000069/tar_partitions/part_007.tar.br' in fodler ''.
INFO: 2023/12/14 11:35:35.651161 Copied '00000001000000030000006D.br' from folder 'wal_005/' to '00000001000000030000006D.br' in fodler ''.
INFO: 2023/12/14 11:35:36.305077 Copied '00000001000000030000006E.br' from folder 'wal_005/' to '00000001000000030000006E.br' in fodler ''.
INFO: 2023/12/14 11:35:36.768259 Copied 'basebackups_005/base_000000010000000300000069/files_metadata.json' from folder '' to 'basebackups_005/base_000000010000000300000069/files_metadata.json' in fodler ''.
INFO: 2023/12/14 11:36:34.611234 Copied 'basebackups_005/base_000000010000000300000069/tar_partitions/part_001.tar.br' from folder '' to 'basebackups_005/base_000000010000000300000069/tar_partitions/part_001.tar.br' in fodler ''.
INFO: 2023/12/14 11:37:40.341172 Copied 'basebackups_005/base_000000010000000300000069/tar_partitions/part_004.tar.br' from folder '' to 'basebackups_005/base_000000010000000300000069/tar_partitions/part_004.tar.br' in fodler ''.
INFO: 2023/12/14 11:37:46.684549 Copied 'basebackups_005/base_000000010000000300000069/tar_partitions/part_003.tar.br' from folder '' to 'basebackups_005/base_000000010000000300000069/tar_partitions/part_003.tar.br' in fodler ''.
INFO: 2023/12/14 11:38:47.861308 Copied 'basebackups_005/base_000000010000000300000069/tar_partitions/part_002.tar.br' from folder '' to 'basebackups_005/base_000000010000000300000069/tar_partitions/part_002.tar.br' in fodler ''.
INFO: 2023/12/14 11:38:47.942463 Copied 'basebackups_005/base_000000010000000300000069/tar_partitions/part_005.tar.br' from folder '' to 'basebackups_005/base_000000010000000300000069/tar_partitions/part_005.tar.br' in fodler ''.
INFO: 2023/12/14 11:38:47.942517 Success copy.
In destination bucket I see basebackups_005 folder but no wal_005 folder, all WAL's archived by wal-g copied in bucket root / directory, so I can't simply restore from new bucket, such as from original.
but wal-g wal-show --config dst.json --detail
Output: none
Source bucket content: wal-g st ls
type size last modified name
dir 0 0001-01-01 00:00:00 +0000 UTC basebackups_005/
dir 0 0001-01-01 00:00:00 +0000 UTC wal_005/
Destination bucket content: wal-g st ls --config dst.json
type size last modified name
dir 0 0001-01-01 00:00:00 +0000 UTC basebackups_005/
obj 2105182 2023-12-14 12:10:20.913 +0000 UTC 00000001000000030000006D.br
obj 3758043 2023-12-14 12:10:21.797 +0000 UTC 00000001000000030000006E.br
obj 2471411 2023-12-14 12:10:22.235 +0000 UTC 00000001000000030000006F.br
Steps to reproduce
Simply try to use wal-g copy and then restore from destination bucket.
The text was updated successfully, but these errors were encountered:
Database name
postgresql
wal-g-pg v2.0.1
Issue description
copy command does not work as expected
Describe your problem
I need to have another backup copies in different S3. I marked full backup with permanent and try to copy with single command
wal-g copy -b base_000000010000000300000069 -f .walg.json -t dst.json
Command output:
In destination bucket I see basebackups_005 folder but no wal_005 folder, all WAL's archived by wal-g copied in bucket root / directory, so I can't simply restore from new bucket, such as from original.
wal-g backup-list --config dst.json --detail
Output:
but
wal-g wal-show --config dst.json --detail
Output: none
Source bucket content:
wal-g st ls
Destination bucket content:
wal-g st ls --config dst.json
Steps to reproduce
Simply try to use wal-g copy and then restore from destination bucket.
The text was updated successfully, but these errors were encountered: