Hello,
I am currently migrating Seafile Non-Docker version 8.0.8 to Seafile Docker.
I have already completed the database backup.
Unfortunately, the person who originally set up the Seafile server is no longer with our company, and they modified the directory structure.
Our data is located in /home/administrator/whw.
Which data and directories do I need to back up from this location to ensure a successful migration to Seafile Docker?
Thank you for your help.
For a migration, preserve the Seafile databases together with the library data and configuration. A typical binary installation has these directories, but your customized layout may place them elsewhere:
seafile-data: Seafile library data. Back up the entire actual data directory, including any data stored outside /home/administrator/whw.
conf: server configuration. Keep a secure copy, including any secrets needed to restore the installation.
seahub-data: Seahub data, such as avatars.
Check any symbolic links and back up their targets as well; copying only a link will not preserve the data it points to. Keep the original installation and backups until you have verified the migration.
Before the final backup, stop Seafile and related services that could write data, then take database and file backups from the same stopped state. If the existing database backup was made while the server was still being used, take a fresh backup so it matches the library data.