Pages: 1
Hello/Hi/Greetings,
So now my problem from earlier has changed to me needing to recreate piwigo
I have a full backup of the folder with everything
Is it even possible
I REALLY hope someone will help me
Sincerely Jes
Offline
How are we supposed to know what your "problem from earlier" even was.
Do you also have a backup of the database, not just directory tree and files?
If not, then create a new database with user and then copy the Piwigo file tree to the target location, remove the local/config/database.inc.php file, and start Piwigo installation by following https://piwigo.org/guides/install/manua … stallation
If yes, then simply copy the Piwigo file tree to the target location and recreate and restore the database from the database backup. To restore a single database from a mysqldump backup of all databases (i..e you used mysqldump --all-databases) you can use the command line
mysql --one-database database_name < all_databases.sql
To restore a database from a single mysqldump backup use
mysql -u root -p -e "create database database_name" mysql -u root -p database_name < database_name.sql
In each case of course replace database_name with the actual name of the database, that should also match the $conf['db_base'] value in local/config/database.inc.php.
If you don't have access to the command line you can use phpMyAdmin to import a backup file.
Offline
Pages: 1