sebastianfeldmann / phpbu

PHP Backup Utility - Creates and encrypts database and file backups, syncs your backups to other servers or cloud services and assists you monitor your backup process
https://phpbu.de
Other
1.29k stars 109 forks source link

CLI no restore guide #326

Open tebeso opened 1 year ago

tebeso commented 1 year ago

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

sebastianfeldmann commented 1 year ago

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?

mfmaut commented 1 year ago

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

sebastianfeldmann commented 1 year ago

🤔

what version are you using?

mfmaut commented 1 year ago

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 commented 1 year ago

And thank you for your great tool :)