phpbu icon indicating copy to clipboard operation
phpbu copied to clipboard

CLI no restore guide

Open tebulrich opened this issue 3 years ago • 5 comments

phpbu --restore should print out a restore guide. However, nothing happens (except the same printout that you would get without --restore)

tebulrich avatar Oct 04 '22 08:10 tebulrich

Here is my --restore output

./phpbu --restore
phpbu 6.0-dev by Sebastian Feldmann and contributors.

WARNING: Your configured source does not support restore for now.
# Extract your backup
bzip2 -dk backup-20221005-1757.tar.bz2

# Restore your data [BE CAREFUL]
tar -xvf backup-20221005-1757.tar

Does that not work for you?

sebastianfeldmann avatar Oct 05 '22 17:10 sebastianfeldmann

I have the same Problem, --restore prints the -h screen.

mfmaut avatar Feb 01 '23 22:02 mfmaut

🤔

what version are you using?

sebastianfeldmann avatar Feb 01 '23 23:02 sebastianfeldmann

Oh was my fault. I didnt run phpbu --restore in the directory with the config file. I thought it would print general Restore infos.

Thanky you

mfmaut avatar Feb 02 '23 06:02 mfmaut

And thank you for your great tool :)

mfmaut avatar Feb 02 '23 06:02 mfmaut