Skip to content
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

Dump create yields old data #306

Open
Dufran opened this issue Feb 17, 2025 · 0 comments
Open

Dump create yields old data #306

Dufran opened this issue Feb 17, 2025 · 0 comments

Comments

@Dufran
Copy link

Dufran commented Feb 17, 2025

Hi all, i was using replibyte as backup/remote restore tool for over a week, and all was working OK.
Last Friday dump create start creating not complete dump (not all folders have data)
replibyte.yaml

source:
  connection_uri: $SOURCE_DB_URL
datastore:
  local_disk:
      dir: $BACKUP_FOLDER
destination:
  connection_uri: $TARGET_DB_URL

taskfile with commands

  restore.remote:
    cmds:
      - replibyte -c replibyte.yaml dump restore remote -v latest
  dump.create:
    cmds:
      - replibyte -c replibyte.yaml dump create
  dump.clean:
    cmds:
      - replibyte -c replibyte.yaml dump delete --older-than 1d

So i run
dump.create && restore.remote && dump.clean

And this previously was resulting in correct data on remote database

I have a postgresql binary and replibyte installed on source host

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant