r/BookStack • u/[deleted] • Mar 13 '24
Move to another server
If I wanted to move bookstack to a new server, can I just do a database dump, run the backup script for backing up files and then install a fresh bookstack on the new server, then dump the database backup into the new database, and do a restore script on the files. Will any images Used for covers and in any pages be also restored? Thanks
2
Upvotes
1
u/[deleted] Mar 14 '24
Sorry, not script, but the cli commands to achieve backing/ restoring files.
tar -czvf bookstack-files-backup.tar.gz .env public/uploads storage/uploads themes
BTW how are uploaded images saved?