-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hard-copy seems not work as expected #236
Labels
Comments
mikecaat
pushed a commit
to mikecaat/pg_rman
that referenced
this issue
Nov 16, 2022
The following commit(17f7109) forgot to change the index of parameters although it adds a new parameter. * Add '--recovery-target-action' option for restore(ossc-db#182) (ossc-db#190)
Thanks for reporting. The behavior is bug and I made the PR to fix it. |
zwyan0
pushed a commit
that referenced
this issue
Dec 9, 2022
The following commit(17f7109) forgot to change the index of parameters although it adds a new parameter. It makes --hard-copy not work in restore. And there is no test code to check that the default option uses symbolic links. So add some test code and modified the manual about describe the -Z option.
zwyan0
pushed a commit
that referenced
this issue
Dec 9, 2022
The following commit(17f7109) forgot to change the index of parameters although it adds a new parameter. It makes --hard-copy not work in restore. And there is no test code to check that the default option uses symbolic links. So add some test code and modified the manual about describe the -Z option.
zwyan0
pushed a commit
that referenced
this issue
Dec 9, 2022
The following commit(17f7109) forgot to change the index of parameters although it adds a new parameter. It makes --hard-copy not work in restore. And there is no test code to check that the default option uses symbolic links. So add some test code and modified the manual about describe the -Z option.
zwyan0
pushed a commit
that referenced
this issue
Dec 9, 2022
The following commit(17f7109) forgot to change the index of parameters although it adds a new parameter. It makes --hard-copy not work in restore. And there is no test code to check that the default option uses symbolic links. So add some test code and modified the manual about describe the -Z option.
zwyan0
pushed a commit
that referenced
this issue
Dec 9, 2022
The following commit(17f7109) forgot to change the index of parameters although it adds a new parameter. It makes --hard-copy not work in restore. And there is no test code to check that the default option uses symbolic links. So add some test code and modified the manual about describe the -Z option.
zwyan0
pushed a commit
that referenced
this issue
Dec 9, 2022
The following commit(17f7109) forgot to change the index of parameters although it adds a new parameter. It makes --hard-copy not work in restore. And there is no test code to check that the default option uses symbolic links. So add some test code and modified the manual about describe the -Z option.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hay,
I use pg_rman 1.3.14.
after a full backup i try test restore using --hard-copy but after restore is done,
when i list the arclog folder, its sym-link, but not copy.
Am I missing something, any help would be appreciate and thank you all.
the following is the log&commands:
restore command
sudo pg_rman --pgdata=/var/lib/pgsql/cdata/base/userdata --backup-path=/cbackup/cis/physical/data --arclog-path /var/lib/pgsql/cdata/base/arclog --srvlog-path /var/log/cis/cdb/base/pg_log --hard-copy restore
after restore ,i list arclog folder
[root@ip-10-1-2-75 ~]# ls -al /var/lib/pgsql/cdata/base/arclog/
total 0
drwx------. 2 265561 265561 150 Nov 16 11:01 .
drwxr-xr-x. 4 265561 265561 59 Nov 16 10:12 ..
lrwxrwxrwx. 1 root root 74 Nov 16 11:01 000000010000000000000001 -> /cbackup/cis/physical/data/20221116/103649/arclog/000000010000000000000001
lrwxrwxrwx. 1 root root 74 Nov 16 11:01 000000010000000000000002 -> /cbackup/cis/physical/data/20221116/103649/arclog/000000010000000000000002
lrwxrwxrwx. 1 root root 74 Nov 16 11:01 000000010000000000000003 -> /cbackup/cis/physical/data/20221116/103649/arclog/000000010000000000000003
lrwxrwxrwx. 1 root root 90 Nov 16 11:01 000000010000000000000003.00000028.backup -> /cbackup/cis/physical/data/20221116/103649/arclog/000000010000000000000003.00000028.backup
edited 2022/11/16
I tried a lot and found that if I append hard_copy=true to pg_rman.ini and it worked as expected now.
dont know why.
The text was updated successfully, but these errors were encountered: