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

How to restore the backup #30

Open
Ilya-Kuchaev opened this issue Feb 8, 2018 · 3 comments
Open

How to restore the backup #30

Ilya-Kuchaev opened this issue Feb 8, 2018 · 3 comments

Comments

@Ilya-Kuchaev
Copy link

How can I restore for ex. the PostgreSQL service from the backup?

@Kamaradeivanov
Copy link

Hi, you should use the command duplicity to restore you backup.
You can do that inside the dock directly with the following command :
duplicity --no-encryption $BACKUP_DUPLICITY_url /tmp/test

You will restore everything inside the /tmp/test folder.
More information about duplicity : https://help.ubuntu.com/community/DuplicityBackupHowto

@disaster37
Copy link
Owner

It seems right. After that, you must restore your postgresql dump with psql tools: https://www.postgresql.org/docs/9.1/static/backup-dump.html#BACKUP-DUMP-RESTORE

@ap1969
Copy link

ap1969 commented Mar 24, 2018

Hi,
I've tried the above, and I'm getting the error "no backup chains". I've found a few instances of this online, but I can't find any actual solutions. Any idea what might be causing this?
Andy

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

4 participants