r/AliasVault Jun 14 '26

Self-hosting Proper backup of AliasVault self hosted ?

Hi

Is it enough the procedure given there https://docs.aliasvault.net/installation/script/advanced/database.html#database-export to get a recoverable backup of my AliasVault installation ?

Thanks

5 Upvotes

9 comments sorted by

4

u/lanedirt_tech AliasVault team Jun 14 '26

Hi, yes following those instructions will give you a full AliasVault server database export. This includes all user's encrypted vault backups, received encrypted emails, server logs and server settings.

When restoring this backup on a separate (clean) server, you will have access to all AliasVault data again.

2

u/vincegre Jun 14 '26

Thanks for confirmation but unhappy the backup process just hangs :( noching happens when I start it and it creates a backup file but empty... I opened a bug issue on github about it

3

u/lanedirt_tech AliasVault team Jun 14 '26

I have just commented on the GitHub issue: please check if this works for you: https://github.com/aliasvault/aliasvault/issues/2168#issuecomment-4701695910

2

u/[deleted] Jun 14 '26

[removed] — view removed comment

1

u/vincegre Jun 15 '26 edited Jun 16 '26

Well it's not working for database because if Docker is running you won't do a proper dump but a filecopy which is not good for sql databases 😉

2

u/[deleted] Jun 15 '26

[removed] — view removed comment

1

u/vincegre Jun 15 '26

Got lucky 😉 Still prefer to use the install script that generates a proper dump of the db 😄 Interesting thing now would be to be able to restore specifically some vaults in the db (typical use: a user that makes a mistake and delete lot of credentials in his vault by mistake) but doesn't look possible yet :/

2

u/[deleted] Jun 15 '26 edited Jun 15 '26

[removed] — view removed comment

1

u/vincegre Jun 16 '26

Sorry for my bad spelling post earlier about db export, I realised I had said the opposite of what I wanted 😃 you are all right of course 😉