Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

lisk_snapshot.sh: dump directly from database #3109

Closed
fchavant opened this issue Mar 19, 2019 · 1 comment · Fixed by #3114
Closed

lisk_snapshot.sh: dump directly from database #3109

fchavant opened this issue Mar 19, 2019 · 1 comment · Fixed by #3114
Assignees

Comments

@fchavant
Copy link
Contributor

fchavant commented Mar 19, 2019

Expected behavior

  • stop application
  • copy database
  • run on copy:
    • TRUNCATE peers;
    • TRUNCATE mem_accounts2u_delegates;
    • TRUNCATE mem_accounts2u_multisignatures;
  • pg_dump the copy and gzip it

Actual behavior

We run the application the application with the -s switch and wait for it to exit before creating a dump file.

Steps to reproduce

Run lisk_snapshot.sh

Which version(s) does this affect? (Environment, OS, etc...)

1.6

@MaciejBaj
Copy link
Contributor

The direct cause of #3119.

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

Successfully merging a pull request may close this issue.

2 participants