Happy New Year all.
I had a disk failure over Christmas on my Cloudron homeserver and so an app (Mastodon) hosted on there went down for a few weeks. Not a big problem, just social media.
I'd like to restore from a 3 week old backup but then combine it with the most recent backup but am unsure of what to expect.
Here's a summary of the situation:
-
mastodon app Data Directory hosted on volume (external USB harddisk) in /mastodon subdirectory
-
app Data Directory was being updated nightly to separate backup harddisk
-
last good app backup was 20231205-mastodon
-
some issue with USB harddisk caused it to be unmounted
-
tried to remount but didn't work
-
app wasn't responding in cloudron so couldn't do nightly backup
-
3 weeks pass
-
finally got home and remounted disk, this time remapped it as ext4 volume from within Cloudon volumes UI
When I tried to restart it it couldn't as disk mount location had changed (directory not empty message in Volumes UI)
- I decided to change the directory to mastodon-240108
App restarts with minimal data (app size went from ~25Gb down to ~2Gb) - as expected.
-
app working. Some issues with user 2FA but these are now fixed.
-
restarted nightly backups. Most recent 20240108-mastodon.
Question:
From the backup files I have available, I'd like to get back to the app state from 20231205-mastodon, and then preserve all activity from backup 20240108-mastodon to current.
Is this possible?
I don't know if the following will achieve this:
- restore the 20231205-mastodon into the new mastodon app directory located in mastodon-240108
- take backup
- restore from 20240108-mastodon
Any suggestions or help greatly appreciated.