YunoHost-Apps / snipeit_ynh

Snipe-IT package for YunoHost
https://snipeitapp.com/
GNU Affero General Public License v3.0
2 stars 0 forks source link

Restore backup #13

Closed babgond closed 2 years ago

babgond commented 4 years ago

Hello, I want to restore a backup file in Snipe-IT on YunoHost. The command "php artisan db:restore yourdumpfilename.sql" does not seem to work. Do you have another solution? Thank you

babgond commented 4 years ago

I tried the following command /usr/bin/php /var/www/snipeit/artisan db:restore yourdumpfilename.sql

I have the following message that appears

Command "db:restore" is not defined.

Did you mean one of these? db:seed queue:restart snipeit:restore-users

kay0u commented 4 years ago

Hi, you should take a look here :-)

kay0u commented 4 years ago

Otherwise, you can't just use the YunoHost backup/restore system?

babgond commented 4 years ago

hello, the backup comes from a snipe it independent of YunoHost. while waiting for a more pleasant version, I restored the .sql file with phpMyAdmin.